server
server copied to clipboard
sync server error
WARN exited: syncing-server (exit status 1; not expected)
INFO spawned: 'syncing-server' with pid 1664
INFO success: revisions entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
INFO success: syncing-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
WARN exited: revisions (exit status 1; not expected)
i get this error inside sync server container
I have followed the instructions exactly and the containers are all running but cant even get to port 3000 in web browser
==> logs/syncing-server.log <==
db:3306 is up. Proceeding to startup.
cache:6379 is up. Proceeding to startup.
==> logs/supervisord.log <==
2023-04-12 01:36:23,375 INFO success: revisions entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-12 01:36:23,376 INFO success: syncing-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-12 01:36:25,521 WARN exited: revisions (exit status 1; not expected)
2023-04-12 01:36:26,411 INFO spawned: 'revisions' with pid 4551
2023-04-12 01:36:26,426 WARN exited: syncing-server (exit status 1; not expected)
2023-04-12 01:36:26,430 INFO spawned: 'syncing-server' with pid 4554
i get the above when i run tail -f logs/*.log
on another note is there way to use DB URL so i can point it to another bare metal db instances instead of using mysql docker container?
@D3an1el can you send the output of tail logs/revisions*
and tail logs/syncing-server*
as for the db, yes, here are the env vars you are probably looking for: https://github.com/standardnotes/server/blob/main/docker/docker-entrypoint.sh#L39-L64