Khauri / Turtus

A self hosted rabb.it clone.
MIT License
93 stars 12 forks source link

404 Error "The requested path could not be found" #4

Open leemartinc opened 4 years ago

leemartinc commented 4 years ago

I used docker-compose to run the project. Everything looks like its started but i get this error.

Lee-martins-MBP:Turtus-master leemartinc$ docker-compose up
Starting turtus-master_redis_1           ... done
Starting turtus-master_client_1          ... done
Starting turtus-master_server_1          ... done
Starting turtus-master_virtual-browser_1 ... done
Starting turtus-master_nginx_1           ... done
Attaching to turtus-master_redis_1, turtus-master_virtual-browser_1, turtus-master_server_1, turtus-master_client_1, turtus-master_nginx_1
redis_1            | 1:C 09 Aug 2020 00:21:16.741 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1            | 1:C 09 Aug 2020 00:21:16.741 # Redis version=6.0.6, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1            | 1:C 09 Aug 2020 00:21:16.741 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1            | 1:M 09 Aug 2020 00:21:16.745 * Running mode=standalone, port=6379.
redis_1            | 1:M 09 Aug 2020 00:21:16.745 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1            | 1:M 09 Aug 2020 00:21:16.745 # Server initialized
redis_1            | 1:M 09 Aug 2020 00:21:16.745 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1            | 1:M 09 Aug 2020 00:21:16.746 * Loading RDB produced by version 6.0.6
redis_1            | 1:M 09 Aug 2020 00:21:16.746 * RDB age 1059 seconds
redis_1            | 1:M 09 Aug 2020 00:21:16.746 * RDB memory usage when created 0.77 Mb
redis_1            | 1:M 09 Aug 2020 00:21:16.746 * DB loaded from disk: 0.001 seconds
redis_1            | 1:M 09 Aug 2020 00:21:16.746 * Ready to accept connections
virtual-browser_1  | virtual browser image available
nginx_1            | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_1            | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_1            | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
turtus-master_virtual-browser_1 exited with code 0
nginx_1            | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf
client_1           | yarn run v1.17.3
nginx_1            | 10-listen-on-ipv6-by-default.sh: error: /etc/nginx/conf.d/default.conf differs from the packages version
nginx_1            | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_1            | /docker-entrypoint.sh: Configuration complete; ready for start up
server_1           | yarn run v1.17.3
client_1           | warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
client_1           | $ serve -s build -l 80
server_1           | $ NODE_ENV=production node .
client_1           | UPDATE AVAILABLE The latest version of `serve` is 11.3.2
client_1           | INFO: Accepting connections at http://localhost:80
server_1           | Starting in production mode
server_1           | Warning: connect.session() MemoryStore is not
server_1           | designed for a production environment, as it will leak
server_1           | memory, and will not scale past a single process.
server_1           | locating local docker installation: docker
server_1           | local docker installation found
server_1           | Listening on http://localhost:80
nginx_1            | 172.18.0.1 - - [09/Aug/2020:00:21:31 +0000] "GET / HTTP/1.1" 404 782 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4221.3 Safari/537.36"
nginx_1            | 172.18.0.1 - - [09/Aug/2020:00:31:58 +0000] "GET / HTTP/1.1" 404 782 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0"