Docker-DocumentServer
Docker-DocumentServer copied to clipboard
After docker-compose up HA Proxy not configured
Bug report
What is the current behavior? After "docker-compose up -d" I can see all containers running (docker ps). But on my ip:80 there is no OO Document Server available. I checked haproxy by visiting my ip:1936 and noticed there are no frontends and backends setup.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
- Get the docker-compose.yml
- Run docker-compose up -d
What is the expected behavior? After containers are started the document server is available from ip:80
Did this work in previous versions of DocumentServer? Unknown
DocumentServer Docker tag: onlyoffice/documentserver:latest
Host Operating System: Ubuntu 18 LTS / Docker CE
@chrsch Hi, could you look to logs those services?
I tried it myself and seems there is a problem with repeating error
onlyoffice-documentserver_1 | Waiting for connection to the localhost host on port 5432
Not sure if this is a same problem like yours
@ShockwaveNN No I don't see such errors in the logs. For me it is basically haproxy seems to not be setup correctly. There are no frontends/ backends available if I visit ip:1936 (haproxy stats page).
Hi, I've tested it yesterday. It works for me.
@chrsch Ok, another question.
What is state of logs of onlyoffice-postgres
container (docker-compose logs onlyoffice-postgresql
)
We can confirm there is some trouble with ERROR: relation "checkissupportonconflict" does not exist at character 13
error
@ShockwaveNN I looked at the postgres container logs, the error is there:
PostgreSQL init process complete; ready for start up.
LOG: database system was shut down at 2018-12-12 21:22:04 UTC
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
LOG: incomplete startup packet
LOG: incomplete startup packet
ERROR: relation "checkissupportonconflict" does not exist at character 13
STATEMENT: INSERT INTO checkIsSupportOnConflict (id) VALUES(1) ON CONFLICT DO NOTHING;
ERROR: relation "checkissupportonconflict" does not exist at character 13
STATEMENT: INSERT INTO checkIsSupportOnConflict (id) VALUES(1) ON CONFLICT DO NOTHING;
ERROR: relation "checkissupportonconflict" does not exist at character 13
STATEMENT: INSERT INTO checkIsSupportOnConflict (id) VALUES(1) ON CONFLICT DO NOTHING;
ERROR: relation "checkissupportonconflict" does not exist at character 13
STATEMENT: INSERT INTO checkIsSupportOnConflict (id) VALUES(1) ON CONFLICT DO NOTHING;
ERROR: relation "checkissupportonconflict" does not exist at character 13
STATEMENT: INSERT INTO checkIsSupportOnConflict (id) VALUES(1) ON CONFLICT DO NOTHING;
LOG: database system was interrupted; last known up at 2018-12-12 21:22:06 UTC
LOG: incomplete startup packet
FATAL: the database system is starting up
FATAL: the database system is starting up
LOG: database system was not properly shut down; automatic recovery in progress
LOG: redo starts at 0/17039C0
LOG: invalid record length at 0/172C438
LOG: redo done at 0/172C410
LOG: last completed transaction was at log time 2018-12-12 21:22:08.012204+00
LOG: incomplete startup packet
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
LOG: database system was shut down at 2018-12-12 21:45:45 UTC
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
LOG: incomplete startup packet
LOG: incomplete startup packet
@chrsch Ok, so we can confirm this issue, we got some troubles. We're trying to understand what happening
@chrsch could you try to reinit compose several times - seems this problem not related with relation "checkissupportonconflict" does not exist at character 13
I was able to reproduce your issue once, but since when - everything is fine. Seems issue have something with starting orders and timeouts of startup process
@ShockwaveNN I'll give it a try and report back. I managed to get it running on Docker @ Mac Mojave and Docker @ Ubuntu 16 LTS. So this seems to be related to Ubuntu 18 LTS in some way. Maybe this info helps figuring out what's going on.
@chrsch I'm not sure it is related to Ubuntu 18, we don't know exact reason but seems problem just occurs randomly, so you're just unlucky on Ubuntu 18
has this been solved? i am having this issue too.