Skip to content

BUG - Permissions error when re-building container #87

@Xarlos89

Description

@Xarlos89

We experience an error when attempting to update the running prod contianers.

When rebuilding the zorak_bot container from a new image, the container does not have permissions to read from the existing mongo container.

[Some-USERr@###-###-##-##]$ docker-compose -f dc-prod.yaml up -d Building zorak error checking context: 'no permission to read from '/srv/prod/db/WiredTiger.turtle''. ERROR: Service 'zorak' failed to build : Build failed

Currently the fix is to open the permissions on the db folder, which allows all users access, but I dont like this.

Possible solution is to run the containers both as the same user from the dockerfile

Metadata

Metadata

Assignees

Labels

BUGSomething isn't workingHARDTough stuff

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions