![]() Image: : a111cc8a0340: server closed the connection unexpectedly\n This probably means the server terminated abnormally\n before or while processing the request.\n When I check the postgres logs again cause the connection was open the 1st time, i get this from it (after restart) : Psycopg2.InterfaceError: connection already closedĮxception in thread 1: Self._target(*self._args, **self._kwargs)įile "/usr/lib/python3/dist-packages/odoo/service/server.py", line 473, in targetįile "/usr/lib/python3/dist-packages/odoo/service/server.py", line 457, in cron_threadįile "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 162, in exitįile "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 90, in checkįile "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 379, in closeįile "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 405, in _closeįile "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 484, in rollback This probably means the server terminated abnormallyĭuring handling of the above exception, another exception occurred:įile "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_innerįile "/usr/lib/python3.9/threading.py", line 892, in run Psycopg2.OperationalError: server closed the connection unexpectedly 14:27:03,367 445 INFO ? : HTTP service (werkzeug) running on localhost:8069Įxception in thread 0:įile "/usr/lib/python3/dist-packages/odoo/service/server.py", line 445, in cron_thread 14:27:02,735 445 INFO ? odoo: database: 14:27:02,960 445 INFO ? .ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 14:27:02,735 445 INFO ? odoo: Using configuration file at /etc/odoo/nf Then that is the resulted logs from the odoo container : 14:27:54.317 UTC LOG: database system is ready to accept connections 14:27:54.307 UTC LOG: database system was shut down at 14:27:54 UTC PostgreSQL init process complete ready for start up. 14:27:54.090 UTC LOG: database system is shut down 14:27:54.006 UTC LOG: background worker "logical replication launcher" (PID 765) exited with exit code 1 ![]() 14:27:53.999 UTC LOG: aborting any active transactions 14:27:53.985 UTC LOG: received fast shutdown request usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* 14:27:53.774 UTC LOG: database system is ready to accept connections 14:27:53.761 UTC LOG: database system was shut down at 14:27:46 UTC auth-local and -auth-host, the next time you run initdb. You can change this by editing pg_hba.conf or using the option -A, or ![]() Initdb: warning: enabling "trust" authentication for local connections ![]() You can now start the database server using: pg_ctl -D /tmp -l logfile start Performing post-bootstrap initialization. Selecting dynamic shared memory implementation. The default text search configuration will be set to "english".įixing permissions on existing directory /tmp. The default database encoding has accordingly been set to "UTF8". The database cluster will be initialized with locale "en_US.utf8". This user must also own the server process. The files belonging to this database system will be owned by user "postgres". That's what I get from the log in the the start of the postgres container : I tried setting up odoo and postgres containers in azure using docker-compose, when running them i have an issue with the server closing the connection,
0 Comments
Leave a Reply. |