Skip to content
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

Setup on Synology / Docker #1049

Open
MichaelGoedken opened this issue Apr 22, 2024 · 4 comments
Open

Setup on Synology / Docker #1049

MichaelGoedken opened this issue Apr 22, 2024 · 4 comments

Comments

@MichaelGoedken
Copy link

Describe the bug
Running on Docker Synology DSM 7. I switched the network from bridge to host for Maintainerr, but I can't get it to run. When I start it on host, I get this message in a loop:

 ⨯ Failed to start server
Error: getaddrinfo ENOTFOUND maintainerr
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
  errno: -3008,
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'maintainerr'
}

To Reproduce

docker run -d --name=maintainerr \
-p 6246:6246 \
-u 1026:100 \
-e TZ=America/Chicago \
-v /volume1/docker/maintainerr/config:/opt/data \
--restart always \
--net=host \
jorenn92/maintainerr:latest

@jorenn92
Copy link
Owner

jorenn92 commented Apr 24, 2024

A possibility is that the UI can no longer connect to the backend because they're both running on the host network, perhaps due to ports already in use. I haven’t tested this yet, it’s my initial hypothesis. I’ll attempt to replicate the issue later.

Do you need the host network? Aren't you able to use the normal network mode?

@Sn3ider
Copy link

Sn3ider commented May 7, 2024

@jorenn92 I can run Maintainerr on DSM7, however when I add a custom UID and GID I got the following error:
Error: EACCES: permission denied, mkdir '/docker/maintainerr/.cache'

This happens when I change the HOME location to the mapped volume. It will work when HOME is set to /

The user has access to these locations yet I got a permission denied. Even if I start the container with high privilege I have the same error. 1000:1000 will have the same result. With my local admin the issue is the same.

Any advice to setup a custom home location to save the config files so it won't disappear when a new update will be installed?

Thanks.

RESOLVED
#1081

@MichaelGoedken
Copy link
Author

MichaelGoedken commented May 16, 2024

@jorenn92 For some reason in normal network mode Maintainerr cannot talk to *arr apps that are also hosted on the Synology on the host network.

@jorenn92
Copy link
Owner

@jorenn92 For some reason in normal network mode Maintainerr cannot talk to *arr apps that are also hosted on the Synology on the host network.

How are you connecting the apps? If Maintainerr isn't using the 'host' network but the other apps are, they should still be reachable using http://<server_ip>:<app_port>.

I've seen other reports where DSM7 Docker containers had issues with DNS name resolution. Perhaps that's also at play here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants