-
-
Notifications
You must be signed in to change notification settings - Fork 638
Erro run docker-compose #94
Comments
Hmmm. Just tried to re-run it and it worked. What's your host OS? Maybe this could somehow be a problem... |
Thanks for the answer. I re-run it several times and the error persists. The operating system is Windows 10 Pro |
I have a Google Compute Engine VM [n1-standard-2 (2 vCPUs, 7.5 GB memory) with 20GB SSD persistent disk] with Ubuntu 16.04 LTS host os. Installed git, docker, and docker-compose. I have updated the firewalls, dns, and corresponding nginx conf entry (DOMAIN NAME). I can build Just to be sure, I have vncserver running, and can not access localhost:8055 either. However, I can see couchdb's welcome message (via localhost:5985 or mydomain.com:5985) Before moving to Ubuntu, I tried with Debian Jessie with same result. I have played with different VM instance types (1vCPU, 10GB disk, for example). I also checked few hello world examples on the VM to see that firewalls, dns etc are working. So I am not sure what is the problem. Btw, I have it working on my Mac OS. Any tips to debug are appreciated and anything in particular to hrun on the cloud (like Digital Ocean, GCP or AWS etc...) In the mean time, I will try setting up the hard way (without docker) thanks, |
[update] With that I am able to launch But I am over http (not https). Still clueless as to how get it this up and running on the cloud. |
[update] |
[update] I managed to get hrun+ front-end working on a google compute engine VM. I set up an nginx reverse proxy on the same instance, installed certbot to provision ssl certificates. setting up nginx reverse proxy (with node) adding let's encrypt ssl to nginx A small caveat though. I am not able to create new user's from outside. I could create a new user only from within (on localhost)? |
@pepobit Finally was able to figure this error. I was also using Windows 10. After some trial and error switching auto-cert location I got to this error: https://github.com/docker/labs/issues/215. So the issue is with git for windows that converts LF to CLRF. Might want to turn core.autocrlf back to true later. |
When run command docker-compose up --build -d Occurs next error Pulling couchdb (couchdb:1.7.1)... Regards |
Line endings issue should be helped by the above PR. @sarzali07 has this error persisted for you? Seems like it could be a temporary issue with the docker repository? @dhavala there have been fixes to the hospitalrun-server docker setup since your comments, so you could try again if you're still looking to get the server up. I'm not sure why the user wouldn't be able to be created from outside. There is an issue with CouchDB 2.x where apparently users can only be created if user is a couchdb admin, but this isn't related to using localhost vs. outside. HospitalRun/hospitalrun-frontend#953 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When run command docker-compose up --build -d
Occurs next error
Step 5/16 : COPY conf/certbot-auto /usr/bin/
---> Using cache
---> 8ec6386b337c
Step 6/16 : RUN certbot-auto --os-packages-only --non-interactive
---> Running in 4f912a8fce72
/bin/sh: 1: certbot-auto: not found
ERROR: Service 'nginx' failed to build: The command '/bin/sh -c certbot-auto --os-packages-only --non-interactive' returned a non-zero code: 127
How can I solve it?
Thanks.
The text was updated successfully, but these errors were encountered: