Skip to Content
Menú
This question has been flagged
1 Respondre
4320 Vistes

My Odoo 14 production server keeps rebooting but doesn't provide any information in the logs as to why. Below is a sample of the log file showing log entries immediately before. But no error or other reason for the reboot is shown. Odoo support is completely useless, so I am hoping somebody can prove a hint as to how to debug this.  I have shown that I can cause Odoo to restart simply by sending an API call to retrieve 500+ products with all fields.  But again, no error is thrown.


All hints and help are very much appreciated.


2021-06-25 03:20:54,155 28615 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 03:20:54,226 28615 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-25 03:20:54,250 28615 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 03:20:54,251 28615 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:20:54] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.683
2021-06-25 03:20:58,005 28615 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:20:58,005 28615 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 03:27:05,553 28652 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Expense OCR: Update All Status`.
2021-06-25 03:27:05,627 28652 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 03:27:05,636 28652 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Expense OCR: Update All Status` done.
2021-06-25 03:27:05,638 28652 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:27:05] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.665
2021-06-25 03:27:06,722 28652 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:27:06,723 28652 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 03:35:37,426 28696 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 03:35:37,482 28696 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Invoice OCR: Update All Status` done.
2021-06-25 03:35:37,485 28696 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:35:37] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.783
2021-06-25 03:35:37,802 18984 INFO lucuma-master-1529482 werkzeug: 174.58.125.116 - - [25/Jun/2021 03:35:37] "POST /longpolling/im_status HTTP/1.0" 200 - 4 0.002 0.006
2021-06-25 03:35:39,206 28696 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:35:39,207 28696 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 03:45:43,918 28745 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 03:45:43,990 28745 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-25 03:45:44,017 28745 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 03:45:44,018 28745 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:45:44] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.563
2021-06-25 03:45:45,567 28745 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:45:45,568 28745 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 03:53:13,207 28786 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 03:53:13,277 28786 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Expense OCR: Update All Status`.
2021-06-25 03:53:13,302 28786 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Expense OCR: Update All Status` done.
2021-06-25 03:53:13,303 28786 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:53:13] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.690
2021-06-25 03:53:16,707 28786 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:53:16,707 28786 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 03:59:37,079 28822 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 03:59:37,151 28822 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-25 03:59:37,175 28822 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 03:59:37,176 28822 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 03:59:37] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.410
2021-06-25 03:59:40,796 28822 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 03:59:40,796 28822 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 04:06:44,096 18984 INFO lucuma-master-1529482 werkzeug: 174.58.125.116 - - [25/Jun/2021 04:06:44] "POST /longpolling/im_status HTTP/1.0" 200 - 4 0.002 0.006
2021-06-25 04:06:44,913 28859 INFO lucuma-master-1529482 odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.
2021-06-25 04:06:44,954 28859 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Account: Journal online sync` done.
2021-06-25 04:06:44,958 28859 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 04:06:44] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 14.394
2021-06-25 04:06:45,741 28859 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 04:06:45,741 28859 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 04:15:50,184 28906 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 04:15:50,258 28906 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`.
2021-06-25 04:15:50,284 28906 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done.
2021-06-25 04:15:50,285 28906 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 04:15:50] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.001 2.766
2021-06-25 04:15:51,688 28906 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 04:15:51,688 28906 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
--
2021-06-25 04:23:23,009 28946 INFO lucuma-master-1529482 odoo.addons.base.models.ir_http: Generating routing map for key None
2021-06-25 04:23:23,082 28946 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Starting job `Expense OCR: Update All Status`.
2021-06-25 04:23:23,108 28946 INFO lucuma-master-1529482 odoo.addons.base.models.ir_cron: Job `Expense OCR: Update All Status` done.
2021-06-25 04:23:23,110 28946 INFO lucuma-master-1529482 werkzeug: 10.0.88.172 - - [25/Jun/2021 04:23:23] "POST /xmlrpc/2/object HTTP/1.1" 200 - 2 0.002 2.465
2021-06-25 04:23:25,913 28946 INFO lucuma-master-1529482 odoo.service.server: Initiating shutdown
2021-06-25 04:23:25,913 28946 INFO lucuma-master-1529482 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.


Avatar
Descartar
Best Answer

You could consider changing the log level to debug level and then see if the odoo log provides more insights into the cause. To do so, edit the odoo.conf file (suggest you first back it up) and change the values

log_handler = :DEBUG
log_level = debug

The default would be

log_handler = :INFO
log_level = info

Also the OS logs may shed some light as to what may be happening around the time of the restarts. Could it be that some anti-virus/anti-malware program is trying to stop/kill the odoo process?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’ag. 24
3112
1
de maig 24
3560
1
de març 23
2865
2
de nov. 20
4055
0
de maig 23
2608