Kill Bill Fresh Installation

746 views
Skip to first unread message

gaura...@gmail.com

unread,
Apr 26, 2016, 6:56:28 AM4/26/16
to Kill Bill users mailing-list, Kedarnat...@harman.com
Hi,

Trying to set up kill bill on a docker 6 machine following the installation instructions mentioned at http://docs.killbill.io/0.16/getting_started.html#installation

After the first attempt I could browse the http://localhost:8080/api.html but got 404 on http://localhost:8080/kaui

Looking into the folder killbill/webapps could only see a single folder root.

Being a novice in Linux/Java/MySql and after sufficient googling around for reasons why KAUI was not installed decided to try the installation steps again.

Now the http://localhost:8080/api.html also wont work. [error: cant read swagger JSON from http://localhost:8080/api-docs]

Any guess on what can be going wrong or where should i be looking?

Pierre-Alexandre Meyer

unread,
Apr 26, 2016, 10:46:34 AM4/26/16
to gaura...@gmail.com, Kill Bill users mailing-list, Kedarnath
Hello,

On Tue, Apr 26, 2016 at 6:56 AM, <gaura...@gmail.com> wrote:
Trying to set up kill bill on a docker 6 machine following the installation instructions mentioned at http://docs.killbill.io/0.16/getting_started.html#installation

Just to be clear, do you mean "CentOS 6" machine?

After the first attempt I could browse the http://localhost:8080/api.html but got 404 on  http://localhost:8080/kaui

Looking into the folder killbill/webapps could only see a single folder root.

I could verify the issue. It looks like the latest version of the installer broke the setup of Kaui :(

Sorry about that, I've filed https://github.com/killbill/killbill-cloud/issues/52 for tracking, we'll take a look.

Now the http://localhost:8080/api.html also wont work. [error: cant read swagger JSON from http://localhost:8080/api-docs]

It looks like only Kaui wasn't setup properly. As a work-around, you can download the Kaui war from Maven directly and place it under killbill/webapps/kaui.war. If you then restart Tomcat (./bin/catalina.sh run), Kaui should be available at http://127.0.0.1:8080/kaui (and Kill Bill at http://127.0.0.1:8080/api.html).

If it doesn't work, please share the server logs, so we can take a look.

Thanks,

--
Pierre

gaura...@gmail.com

unread,
Apr 27, 2016, 2:00:19 AM4/27/16
to Kill Bill users mailing-list, gaura...@gmail.com, Kedarnat...@harman.com
Doing the above mentioned steps did solve the issue on the centos machine.
How do I allow access to without localhost [so that other users can also usse it]

Also on windows facing the same issue with Docker container downloaded from https://hub.docker.com/r/killbill/killbill/. API is running fine but can't figure out how to Add Kaui to it [setting windows machine for dev and centos for test/staging/prod]

gaura...@gmail.com

unread,
Apr 27, 2016, 9:44:22 AM4/27/16
to Kill Bill users mailing-list, gaura...@gmail.com, Kedarnat...@harman.com
All is installed correctly and working now except for the braintree plugin install. In the docker container terminal I tried "kpm pull_ruby_plugin braintree_blue-plugin" but getting permission denied error

Pierre-Alexandre Meyer

unread,
Apr 27, 2016, 10:36:10 AM4/27/16
to Gaurav Yadav, Kill Bill users mailing-list, Kedarnath
On Wed, Apr 27, 2016 at 9:44 AM, <gaura...@gmail.com> wrote:
All is installed correctly and working now except for the braintree plugin install. In the docker container terminal I tried "kpm pull_ruby_plugin braintree_blue-plugin" but getting permission denied error

Are you installing the plugins in the right folder? In the Docker image, the default location is /var/lib/killbill/bundles:

  kpm pull_ruby_plugin braintree_blue-plugin --destination=/var/lib/killbill/bundles

--
Pierre

gaura...@gmail.com

unread,
Apr 28, 2016, 4:07:37 AM4/28/16
to Kill Bill users mailing-list, gaura...@gmail.com, Kedarnat...@harman.com
This indeed was the issue but the location had to be /var/lib/killbill/bundles/plugin/ruby for the braintree plugin

Thanks a ton Pierre for you suggestions
Reply all
Reply to author
Forward
0 new messages