Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4614 มุมมอง

After an install of an app I need to restart the database.

Looked all around, but nowhere I could find the button 'restart database'.


Can somebody help me out?

Thanks in advance!


Jan

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello,

You don't need to restart the entire database.

Just the data for your installed app.

Try  "odoo-bin -u your_module_name" in the shell console.


I have found it on this odoo forum. But I cannot post any links (not enough kudos).

forum/help-1/odoo-sh-is-there-any-option-to-upgrade-module-manually-in-odoo-sh-139723


Stanislav

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hi. Thanks,

odI'm getting this reply:

dekkersfietsen-dekkersodoo-dekkers-11019454 [production/17.0]:~$ odoosh-restart

Restart Odoo.sh services


Usage:

  odoosh-restart -h | --help

  odoosh-restart


Services:

  http                  Odoo http workers

  cron                  Odoo cron worker (handles Incoming mails as well)


Options:

  -h, --help          Shows this screen and exit.



AND


dekkersfietsen-dekkersodoo-dekkers-11019454 [production/17.0]:~$ odoosh-restart http

At the moment, no http workers are alive. Restart operation aborted.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can run the following command in the web shell

odoosh-restart

Also refer to this similar post

Thanks

อวตาร
ละทิ้ง