İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
470 Görünümler

I have an instance of Odoo18 community intalled via git running on a Digital Ocean droplet :

  • Ubuntu 24.10 (GNU/Linux 6.11.0-29-generic x86_64)
  • 2 GB Memory
  • 50 GB Disk

It runs for about a week and then crashes by iteself, saying the decorator module is not installed. When it is...

root@ConfimundoDiana:~# sudo systemctl status odoo18.service
× odoo18.service - Odoo18
     Loaded: loaded (/etc/systemd/system/odoo18.service; disabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-07-27 14:45:12 UTC; 1 day 18h ago
   Duration: 1w 20h 16min 9.389s
Invocation: 2d0ceaade6e14839977c1f800d480ed2
       Docs: http://www.odoo.com
    Process: 7996 ExecStart=/opt/odoo18/venv/bin/python3.12 /opt/odoo18/odoo/odoo-bin -c /etc/odoo18.conf (code=exited, status=1/FAILURE)
   Main PID: 7996 (code=exited, status=1/FAILURE)
   Mem peak: 359.1M
        CPU: 38min 608ms

Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:   File "/opt/odoo18/odoo/odoo/orm/utils.py", line 8, in <module>
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:     from odoo.tools import SQL
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:   File "/opt/odoo18/odoo/odoo/tools/__init__.py", line 7, in <module>
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:     from .cache import ormcache, ormcache_context
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:   File "/opt/odoo18/odoo/odoo/tools/cache.py", line 6, in <module>
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]:     from decorator import decorator
Jul 27 14:45:12 ConfimundoDiana python3.12[7996]: ModuleNotFoundError: No module named 'decorator'
Jul 27 14:45:12 ConfimundoDiana systemd[1]: odoo18.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 14:45:12 ConfimundoDiana systemd[1]: odoo18.service: Failed with result 'exit-code'.
Jul 27 14:45:12 ConfimundoDiana systemd[1]: odoo18.service: Consumed 38min 608ms CPU time, 359.1M memory peak.
root@ConfimundoDiana:~#

When it happens, I just restart Odoo and it runs for another 1-2 weeks withtout a problem, then the same problem happens. It's very strange I don't understand why this happens..

Any idea?

The Odoo instance is mainly used to host an ecommerce website.

Thanks a lot for the help!


Avatar
Vazgeç
En İyi Yanıt

Hello,

by the log message, it says "from decorator import decorator" and the error message throws "no module named 'decorator'"

Try to install decorator module by typing :

`pip install decorator`

The problem probably caused by Odoo version that is not compatible with linux version in the hosting.

Hope this helps,

Altela (altelasoftware.com)

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ağu 25
171
0
Haz 25
542
1
Haz 25
969
0
Ağu 25
392
2
Haz 25
683