Skip to Content
Menu
This question has been flagged
2 Replies
1066 Views

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!





Avatar
Discard
Author Best Answer

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!

Avatar
Discard

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

Best Answer

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, 

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 22
9187
0
Aug 19
3668
2
Nov 17
5062
0
Feb 24
703
1
Feb 21
4151