I have Odoo 12 running on Ubuntu 18.04 Postgres 9.6
The system has been running for 2 weeks. However today I started getting issues when trying to search in contacts. I suspect it has to do with Odoo trying to access the Postegresql database but I just cannot seem to find the issue. Help appreciated - Below is the error (and some other issues reported in the log):
2019-03-06 13:22:42,916 2192 INFO Ikeja werkzeug: 45.220.166.131 - - [06/Mar/2019 13:22:42] "POST /web/dataset/call_kw/res.partner/name_search HTTP/1.1" 200 - 3 0.001 0.005
Segmentation fault (core dumped)
I also have these 3 notifications in the log, maybe they have something to do with it:
wyradmin@odoo:/opt/odoo/odoo$ ./odoo-bin
/home/wyradmin/.local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
AND
2019-03-06 13:23:27,143 2253 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres
AND
2019-03-06 13:23:23,156 2253 INFO Ikeja odoo.addons.sms.wizard.send_sms: The `phonenumbers` Python module is not available. Phone number validation will be skipped. Try `pip3 install phonenumbers` to install it.
Thanks to anyone who can assist
All the package warnings are just informative, no issues there. Does your server have enough memory and storage available though?
Hi Yenthe
Apologies I answered instead of commenting.
Hi Yenthe
I have 4 GB, 93% available with Odoo running. After I rebooted I now get the segmentation fault as soon as I click the contacts menu, but I am now seeing this error when I try to open contacts, perhaps it is a clue:
2019-03-06 14:58:12,076 2285 INFO Ikeja werkzeug: 102.165.120.22 - - [06/Mar/2019 14:58:12] "POST /web/action/load HTTP/1.1" 200 - 29 0.009 0.022
munmap_chunk(): invalid pointer
Aborted (core dumped)
Hi Yenthe
I have 4 GB, 93% available with Odoo running. After I rebooted I now get the segmentation fault as soon as I click the contacts menu
Hmm odd. Do you get anything else in the log the moment you click on the contacts menu? Any stacktrace? What does the networking tab show?
Yenthe we updated some Python modules and things are stable again. Thanks for the input