Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Profiles folder overwritten everytime in docker

Hello,

I'm using docker with v2.12.3, everything is working fine except the profiles folder (where the profiles permissions are stored).

I have the following volume mounted with docker compose :

 - /var/docker/ocs/profilesconfdata/_data:/usr/share/ocsinventory-reports/ocsreports/config/profiles

When I edit the permissions, the files in /var/docker/ocs/profilesconfdata/_data are updated, so far so good. But when I stop and start the container, everything is overwritten with the files from the ocs image. It's not persistent. I don't have this kind of problem with the database files for example.

How can I prevent the ocs server from overwritting the files on startup ? It should just read them, but be able to update them if necessary.
ago in OCS Inventory NG server for Unix by (300 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...