I've installed Odoo 14 CE from source on Ubuntu 20.04 server. It's installed in proxy mode so it's behind nginx. I've created a service for odoo. Same as all my Odoo 12 CE installs.
I used instructions from https://linuxize.com/post/how-to-install-odoo-14-on-ubuntu-20-04 to help me with the install.
My problem is not that even in idle, no one is accessing odoo, the CPUs are at high load. When looking into the log it looks like odoo is restarting every 2 seconds.
LOG:
2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.http.rpc.request:INFO"
2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.http.rpc.response:INFO"
2021-01-18 06:52:06,595 3470092 DEBUG ? odoo.netsvc: logger level set: ":INFO"
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo:DEBUG"
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: "odoo.sql_db:INFO"
2021-01-18 06:52:06,596 3470092 DEBUG ? odoo.netsvc: logger level set: ":INFO"
2021-01-18 06:52:06,597 3470092 INFO ? odoo: Odoo version 14.0
2021-01-18 06:52:06,597 3470092 INFO ? odoo: Using configuration file at /etc/odoo.conf
2021-01-18 06:52:06,597 3470092 INFO ? odoo: addons paths: ['/opt/odoo/odoo14/odoo/addons', '/opt/odoo/.local/share/Odoo/addons/14.0', '/opt/odoo/odoo14/addons', '/opt/odoo/customaddons', '/opt/odoo/thirdpartyaddons']
2021-01-18 06:52:06,598 3470092 INFO ? odoo: database: odoo@default:default
2021-01-18 06:52:06,850 3470092 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
The above messages are repeated every 2 seconds. Is this normal for odoo 14 because it didn't in odoo 12.
The second problem is that my logs don't rotate. I've set the logrotate parameter to true but it's juts writing into the same file. Used same settings and permissions as for odoo 12 on Ubuntu 18, but it's not working.
How to fix this issues?
Thanks!
EDIT:
Running the odoo-bin gets error:
<frozen importlib._bootstrap>:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject