Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1454 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
177
2
nov 22
9513
0
ago 19
3965
2
nov 17
5476
0
feb 24
1033