跳至内容
菜单
此问题已终结
2 回复
1069 查看

Hello everyone,


I’m experiencing an issue with my Odoo 18.0 deployment using Docker, and I’m hoping someone can help me resolve it.


Setup Details:

Odoo Deployment: Running inside a Docker container.

Data Persistence: I’m persisting the data_dir folder, which includes the addons, filestore, and sessions directories, as well as the database.


The Issue:


After installing some apps, everything works fine—they show up on the main page, and I can use them without any problems. However, when I remove the Docker container and restart it with a clean boot (using the persisted data directory and database), I run into a problem:

• The previously installed apps still appear as installed in the Apps list.

But, these apps are missing from the main page and the settings menu.


It seems that while the database state is preserved (since the apps are listed as installed), the actual functionality and access to these apps are lost after the container restart.


Why is this happening, and how can I fix it? Any insights or suggestions would be greatly appreciated!


Thank you in advance!





形象
丢弃
编写者 最佳答案

I found that adding the odoo -i base option might be causing this issue. It seems to reinitialize certain settings every time, which could be why the apps disappear from the main page after a restart, even though they’re still marked as installed.

Tried to delete this post, but I don’t have enough karma to close or delete it!

形象
丢弃

No need to delete it, in case it helps someone else.

最佳答案

Hello, 

Check the /var/lib/odoo directory has the right or full permissions access (must be persisted too), may be the temporal files can not be saved but the DB cache shows you the app for a while. When the server restarts the cache was renewed.

Regards, 

形象
丢弃
相关帖文 回复 查看 活动
2
11月 22
9189
0
8月 19
3668
2
11月 17
5062
0
2月 24
704
1
2月 21
4151