I noticed this warning in the Odoo log file.
Why is it there and should I be worried about it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I noticed this warning in the Odoo log file.
Why is it there and should I be worried about it?
[UPDATED AUGUST 2024 BASED ON FEEDBACK FROM A S]
Odoo has an option to restart when python files are updated.
This is only useful during active development, and not an option that would be used on a production system.
For a full list of options that can be used via command-line or configuration files, see https://www.odoo.com/documentation/11.0/reference/cmdline.html
The warning is notifying you that this option is disabled due to a dependent Python module not being installed on the server.
To resolve, install the dependency (and restart the server).
To install inotify on Ubuntu:
sudo pip3 install inotify
If you run into any problems, you may need to increase the amount of inotify watchers as outlined in https://github.com/guard/listen/blob/master/README.md#increasing-the-amount-of-inotify-watchers
You may need to add the following line to /etc/sysctl.conf and restart your server.
fs.inotify.max_user_watches=524288
For anyone stumbling on this. The actual value should be 524288. See https://github.com/guard/listen/blob/master/README.md#increasing-the-amount-of-inotify-watchers
Thanks! I have updated the value and the URL for the documentation.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 9 17
|
5674 | ||
|
2
thg 7 24
|
8800 | ||
|
1
thg 12 23
|
2267 | ||
|
1
thg 4 22
|
9295 | ||
|
2
thg 10 21
|
8574 |