-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data directory issue when using docker-compose #1082
Comments
Hey, are you able to exec inside the container and check the permissions of the /opt/data directory? There’s most likely still something wrong with it. |
docker exec -it maintainerr /bin/sh /opt $ ls -la /opt/data $ ls -la |
Is there an update on this? Love the product but can't install right now. thank you! |
I have the same issue, trying to run it on unRAID. What exactly am I supposed to change? |
Same issue, also on Unraid.
edit: followed the upgrade instructions and it's working - here's hoping the community template is updated soon |
I never heard back from Ibracorp when I requested them to change the template. That was months ago, so I don't think they ever will update it. |
What is your suggestion to install this with docker compose? I lose my settings when i install with the otherway? |
I'd suggest the docker-compose.yml from the installation guide. When you copy your currently exposed data to the new directory, or if you link it to the same directory, you shouldn't lose anything. |
When using docker-compose on ubuntu i am unable to start the container.
passwd file (showing 1000:1000 as existing user)
ubuntu@plex2:/etc/docker/maintainerr$ cat /etc/passwd | grep ubuntu
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
directory structure: (Showing user 1000, Ubuntu, having 755 permissions on data folder)
ubuntu@plex2:/etc/docker/maintainerr$ ls -la
total 16
drwxr-xr-x 3 ubuntu ubuntu 4096 May 8 12:51 .
drwxr-xr-x 3 root root 4096 May 8 12:10 ..
drwxrwxr-x 2 ubuntu ubuntu 4096 May 8 12:34 data
-rw-r--r-- 1 root root 486 May 8 12:51 docker-compose.yml
ubuntu@plex2:/etc/docker/maintainerr$
Docker-compose.yml
ubuntu@plex2:/etc/docker/maintainerr$ cat docker-compose.yml
version: '3'
services:
maintainerr:
image: ghcr.io/jorenn92/maintainerr:latest # or jorenn92/maintainerr:latest
container_name: maintainerr
user: 1000:1000
volumes:
- type: bind
source: ./data
target: /opt/data
environment:
- TZ=Europe/Brussels
- DEBUG=true # uncomment to enable debug logs
docker-compose up:
maintainerr | THE CONTAINER NO LONGER OPERATES WITH PRIVILEGED USER PERMISSIONS. PLEASE UPDATE YOUR CONFIGURATION ACCORDINGLY: https://github.com/jorenn92/Maintainerr/releases/tag/v2.0.0
maintainerr | Could not create or access (files in) the data directory. Please make sure the necessary permissions are set
The text was updated successfully, but these errors were encountered: