-
-
Notifications
You must be signed in to change notification settings - Fork 975
Closed
Labels
Description
Hey, I downloaded version 2.3 of your api platform but each time I try to run it with docker I can't access the client or the admin.
The logs show cache-proxy_1 | Error: Cannot read -f file '/usr/local/etc/varnish/default.vcl' (Permission denied) cache-proxy_1 | (-? gives usage)
for the varnish proxy and the h2 doesn't start cause the varnish doesn't start.
Here is the full log:
cache-proxy_1 | Error: Cannot read -f file '/usr/local/etc/varnish/default.vcl' (Permission denied)
cache-proxy_1 | (-? gives usage)
api_1 | 2018/07/24 12:28:28 [error] 9#9: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.20.0.1, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://172.20.0.5:9000", host: "localhost:8080"
api_1 | 172.20.0.1 - - [24/Jul/2018:12:28:28 +0000] "GET / HTTP/1.1" 404 27 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" "-"
h2-proxy_1 | 2018/07/24 12:28:18 [emerg] 1#1: host not found in upstream "cache-proxy" in /etc/nginx/conf.d/default.conf:54
h2-proxy_1 | nginx: [emerg] host not found in upstream "cache-proxy" in /etc/nginx/conf.d/default.conf:54
php_1 | Loading composer repositories with package information
php_1 | Installing dependencies (including require-dev) from lock file
php_1 | Nothing to install or update
php_1 | Generating autoload files
php_1 | Executing script cache:clear [OK]
php_1 | Executing script assets:install [OK]
php_1 |
php_1 | Waiting for Postgres to be ready...
php_1 | db:5432 - accepting connections
php_1 |
php_1 | [OK] Nothing to update - your database is already in sync with the current
php_1 | entity metadata.
php_1 |
php_1 | [24-Jul-2018 12:28:17] NOTICE: fpm is running, pid 1
php_1 | [24-Jul-2018 12:28:17] NOTICE: ready to handle connections
php_1 | 172.20.0.6 - 24/Jul/2018:12:28:28 +0000 "GET /index.php" 404
api_backend_docker_h2-proxy_1 exited with code 1
api_backend_docker_cache-proxy_1 exited with code 2
db_1 | LOG: database system was shut down at 2018-07-24 12:17:57 UTC
db_1 | LOG: MultiXact member wraparound protections are now enabled
db_1 | LOG: database system is ready to accept connections
db_1 | LOG: autovacuum launcher started
admin_1 | yarn run v1.5.1
admin_1 | $ react-scripts start
admin_1 | Starting the development server...
admin_1 |
admin_1 | Compiled successfully!
admin_1 |
admin_1 | You can now view admin in the browser.
admin_1 |
admin_1 | Local: http://localhost:3000/
admin_1 | On Your Network: http://172.20.0.4:3000/
admin_1 |
admin_1 | Note that the development build is not optimized.
admin_1 | To create a production build, use yarn build.
admin_1 |
client_1 | yarn run v1.5.1
client_1 | $ react-scripts start
client_1 | Starting the development server...
client_1 |
client_1 | Compiled successfully!
client_1 |
client_1 | You can now view client in the browser.
client_1 |
client_1 | Local: http://localhost:3000/
client_1 | On Your Network: http://172.20.0.3:3000/
client_1 |
client_1 | Note that the development build is not optimized.
client_1 | To create a production build, use yarn build.
client_1 |
It's a fresh install of version 2.3 on Ubuntu 18.04 with Docker version 18.06.0-ce, build 0ffa825