Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 500 connection refused fastcgi #208

Closed
si458 opened this issue May 26, 2017 · 4 comments
Closed

error 500 connection refused fastcgi #208

si458 opened this issue May 26, 2017 · 4 comments

Comments

@si458
Copy link

si458 commented May 26, 2017

2017/05/26 13:13:26 [error] 56#56: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 10.255.0.2, server: localhost, request: "GET /setup HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "192.168.168.218:8000"

2017/05/26 13:13:26 [warn] 56#56: *3 upstream server temporarily disabled while connecting to upstream, client: 10.255.0.2, server: localhost, request: "GET /setup HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "192.168.168.218:8000"

any ideas how to fix?

im using DB_TYPE=sqlite instead of postgres

@riptex
Copy link

riptex commented Jun 6, 2017

I have this issue too. I believe it is tied to a dependency on a PHP version (docker compose) that has other dependency conflicts. (e.g. PHP is incompatible with something else...) -- I've not root caused it.

@djdefi
Copy link
Contributor

djdefi commented Jun 7, 2017

We really have not done any testing of this image with sqlite. Our test suite only considers Postgres and MySQL.

I will say that the 2017/05/26 13:13:26 [warn] 56#56: *3 upstream server temporarily disabled while connecting to upstream, client: 10.255.0.2, server: localhost, request: "GET /setup HTTP/1.1", upstream: "fastcgi://[::1]:9000", host: "192.168.168.218:8000" messages are likely a red herring, and not related to sqlite.

Are you able to check the Cachet logs within the container and post them here? You can access them via docker exec:

# Get current logfile name
$ docker exec -it docker_cachet_1 ls storage/logs/
laravel-2017-06-07.log

# cat logfile:
$ docker exec -it docker_cachet_1 cat storage/logs/laravel-2017-06-07.log

@si458
Copy link
Author

si458 commented Jun 7, 2017

i will close this issue as i gave up in the end and used postgres linked with the cachet container

from what I found in the .log file, it appears the database.sqlite wasnt being created in the container and wasnt being found if created manually and re-run and also the database wasnt being created either if the file existed?

@si458 si458 closed this as completed Jun 7, 2017
@djdefi
Copy link
Contributor

djdefi commented Jun 7, 2017

Thanks @si458 I will open an issue to investigate supporting sqlite in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants