mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 15:35:49 +03:00
[GH-ISSUE #25] Help with installing ambar on Ubuntu (says it cannot find docker-compose) #27
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eliluong on GitHub (Apr 19, 2017).
Original GitHub issue: https://github.com/RD17/ambar/issues/25
So I installed a 64-bit version of Ubuntu server inside VMware with the default settings. The only thing I changed was to install a few additional things (Samba file server and OpenSSH server). Next I run
sudo apt-get updateand then follow the instructions to install Docker CE. Adding the repository seems to go well, and then I install docker, and I follow step 2 (sudo apt-get install docker-ce). I am able to run the hello-world container that outputs a successful message.docker --versiongives mev17.03.1-ce, build c6d412e.Next I try to install docker-compose. pip is not installed by default it seems, so I run
sudo apt install python-pip. pip version is 8.1.1 (python 2.7) if that matters. Next I runpip install docker-compose. It completes and mentions a newer version of pip is available. I execute the wget command on the blog, followed bysudo ./ambar.py install. Here I run into an issue- docker-compose not found. Butdocker-compose --versionreturns version 1.12.0, build b31ff33.Yesterday I had a different error (ERROR: In file 'docker-compose.yml' service 'version' doesn't have any configuration options), but today is different. I'm not proficient with linux and all its permissions and various directories, so if it's obvious something is wrong, I won't see it. Thanks for any help!
@isido993 commented on GitHub (Apr 20, 2017):
Hello!
Try this:
sudo chmod +x /usr/local/bin/docker-composeAfter, try
sudo ./ambar.py installagain.@hartmch commented on GitHub (Apr 21, 2017):
I had this same issue. I ran
pip uninstall docker-composethen
sudo pip install docker-composeand it fixed my issue. Not sure if the command by fpd4444 would of worked also.
@eliluong commented on GitHub (Apr 21, 2017):
Okay, I ended up having to do the
curlcommand to pull the latest docker-compose and then put it in/usr/bin/docker-composeandchmod +xfor that directory. Is that an incorrect way of doing it?Now ambar installs and I can load the web ui. I'm able to upload some files and it does register that documents have been uploaded under the total MB uploaded. But nothing shows up in search or in statistics panel.
I'm not sure what logs to pull to give you additional information. I rebooted the VM and now it's just stuck on the loading screen with the loading icon ..
@isido993 commented on GitHub (Apr 22, 2017):
@eliluong
Please try
sudo ./ambar.py restart, wait a few minutes and post the output ofsudo docker logs ambar_webapi_1here. Thnx@sochix commented on GitHub (Apr 25, 2017):
@eliluong does
restarthelps?@sochix commented on GitHub (May 2, 2017):
Closing as author did not reply :(