jorenn92 / Maintainerr

Looks and smells like Overseerr, does the opposite. Maintenance tool for the Plex ecosystem
https://maintainerr.info
MIT License
732 stars 12 forks source link

Data directory issue when using docker-compose #1082

Closed richardquick closed 1 month ago

richardquick commented 3 months ago

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:

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

jorenn92 commented 3 months ago

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.

richardquick commented 3 months ago

docker exec -it maintainerr /bin/sh

/opt $ ls -la total 20 drwxrwxrwx 1 node node 4096 Mar 25 14:45 . drwxr-xr-x 1 root root 4096 May 8 19:12 .. drwxr-xr-x 6 node node 4096 Mar 25 14:44 app drwxr-xr-x 2 root root 4096 May 8 16:10 data drwxr-xr-x 4 root root 4096 Mar 16 03:31 yarn-v1.22.19

/opt/data $ ls -la total 8 drwxr-xr-x 2 root root 4096 May 8 16:10 . drwxrwxrwx 1 node node 4096 Mar 25 14:45 ..

richardquick commented 3 months ago

Is there an update on this? Love the product but can't install right now.

thank you!

lediszep commented 3 months ago

I have the same issue, trying to run it on unRAID. What exactly am I supposed to change?

olig89 commented 3 months ago

Same issue, also on Unraid.

2024-05-14 16:06:39,165 INFO success: ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
   - Local:        x
   - Network:      y

 ✓ Ready in 374ms
THE CONTAINER NO LONGER OPERATES WITH PRIVILEGED USER PERMISSIONS. PLEASE UPDATE YOUR CONFIGURATION ACCORDINGLY: https://github.com/jorenn92/Maintainerr/releases/tag/v2.0.0
Could not create or access (files in) the data directory. Please make sure the necessary permissions are set
2024-05-14 16:06:39,687 INFO exited: server (exit status 0; expected)
2024-05-14 16:06:40,690 INFO spawned: 'server' with pid 65
2024-05-14 16:06:41,691 INFO success: server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

edit: followed the upgrade instructions and it's working - here's hoping the community template is updated soon

jorenn92 commented 3 months ago

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.

richardquick commented 3 months ago

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?

jorenn92 commented 3 months ago

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.

jorenn92 commented 1 month ago

Closing due to inactivity