Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1689 Lượt xem

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!





Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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, 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
533
2
thg 11 22
9665
0
thg 8 19
4101
2
thg 11 17
5624
0
thg 2 24
1164