Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1075 Переглядів

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, 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
лист. 22
9190
0
серп. 19
3669
2
лист. 17
5064
0
лют. 24
714
1
лют. 21
4152