Posting my recent experience in case it may help others....
I recently installed the Odoo 16 pkg (py39-odoo-16 aka finance/odoo). There were no errors reported in the installation process, and the provided rc.d script started the odoo service. However browsing to Odoo from another system returned "500 Internal Server Error":
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I contacted the pkg maintainer, who quickly noted from my pkg info listing that I was using a quarterly pkg repo and needed to switch to the "latest" repo, where my issue had already been resolved.
pkg in quarterly repo: py39-odoo-16.0
pkg in latest repo: py39-odoo-16.0.20230804
I followed the procedure in the Handbook to change my pkg repo to "latest", updated the odoo pkg, deleted and re-created the database, and re-started the server (with the initdb command since it was the first time with a new database). Afterwards Odoo was happily served into my browser.
Extra thanks to the pkg maintainer!
Dale
P.S. There is no logging to /var/log/odoo.log as I had expected, but I'm thinking perhaps logging has to be enabled from within Odoo...
I recently installed the Odoo 16 pkg (py39-odoo-16 aka finance/odoo). There were no errors reported in the installation process, and the provided rc.d script started the odoo service. However browsing to Odoo from another system returned "500 Internal Server Error":
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
I contacted the pkg maintainer, who quickly noted from my pkg info listing that I was using a quarterly pkg repo and needed to switch to the "latest" repo, where my issue had already been resolved.
pkg in quarterly repo: py39-odoo-16.0
pkg in latest repo: py39-odoo-16.0.20230804
I followed the procedure in the Handbook to change my pkg repo to "latest", updated the odoo pkg, deleted and re-created the database, and re-started the server (with the initdb command since it was the first time with a new database). Afterwards Odoo was happily served into my browser.
Extra thanks to the pkg maintainer!
Dale
P.S. There is no logging to /var/log/odoo.log as I had expected, but I'm thinking perhaps logging has to be enabled from within Odoo...