-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Postgresql - dependency failed to start #404
Comments
Hi! Sorry you've had some issues. Could you try the linked docker compose and see how you go? |
Hello , midarr: 1- I am not able to see the content of both folders . |
https://github.com/midarrlabs/midarr-server#why-wont-my-media-play Did you manage to get this working? I would recommend reading through the FAQ. |
My media root path is set but i dont see any movies/shows within the interface .. I believe midarr don't see the media somehow .. |
Is there media showing in Radarr and Sonarr? Remember Radarr and Sonarr are responsible for sending your media to Midarr. Your volume mounts are only in Midarr for playback. |
Yes . I have both Radarr and Sonarr handling my search media and they both are sending requests to SABnzbd I just actually set Midarr to look of the main folder where I have TV Shows and Movies . I dont actually understand how Midarr should pick up the media from Radarr or Sonarr , recognise the files and play them ? |
How should midarr integrates with Radarr and Sonarr ? |
environment:
- RADARR_BASE_URL=radarr:7878 # required
- RADARR_API_KEY=someApiKey # required
- SONARR_BASE_URL=sonarr:8989 # required
- SONARR_API_KEY=someApiKey # required Ah no worries, please ensure these environment variables are set. Radarr and Sonarr URLS with their API keys. This allows Midarr to retrieve and show your media library. You'll find the API keys in |
Finally Midarr picked up the files I have currently in the both Movies and Series folders .. and they are showing in Midarr interface . However when I try to play a content , i get an internal server error . Any idea ? all files are .mkv by the way . it should not be an issue .. |
https://github.com/midarrlabs/midarr-server#why-wont-my-media-play Yes so this is where your volume mounts must match in Midarr / Radarr / Sonarr |
I have included both Movies/Series folders volume path in Midarr's docker compose but still not able to play anything .. what am I doing wrong ? |
Yes so this is where your volume mounts must match in Midarr / Radarr / Sonarr |
services:
midarr:
volumes:
- "/volume2/Folder II/Media:/media"
radarr:
volumes:
- "/volume2/Folder II/Media:/media"
sonarr:
volumes:
- "/volume2/Folder II/Media:/media" Based on your comment try mounting your top level "Media" folder in all 3. Then in Radarr and Sonarr setup your "Root Folders" to "Movies" and "TV Shows". |
Ah I see whats going on, thanks for posting that. Radarr and Sonarr need more config than just a volume. The example I gave omitted everything except the volumes part - I left this for you to fill in with your own. I would highly recommend you check out the Docker Compose docs and familiarise yourself with it. It's outside the scope of the project for me to take you through it and explain etc. Plenty of resources out there - as well as just giving it a go. Take a look through the local dev docker compose too, as it will demonstrate how to set up a stack in Docker. Good luck! |
With your Radarr and Sonarr screenshots - I see your root folders are Are the absolute paths something like - If so try this (just fill in your Radarr and Sonarr URLs and API keys): version: "3.4"
volumes:
postgresql-data:
services:
midarr:
container_name: midarr
image: ghcr.io/midarrlabs/midarr-server:latest
volumes:
- "/volume2/Folder II/Media/movies:/movies"
- "/volume2/Folder II/Media/tvshows:/tvshows"
ports:
- 4000:4000
environment:
- APP_URL=http://midarr:4000
- DB_USERNAME=my_user
- DB_PASSWORD=my_password
- DB_DATABASE=my_database
- DB_HOSTNAME=postgresql
- SETUP_ADMIN_EMAIL=admin@email.com
- SETUP_ADMIN_NAME=admin
- SETUP_ADMIN_PASSWORD=somepassword
- RADARR_BASE_URL=radarr:7878 # required
- RADARR_API_KEY=someApiKey # required
- SONARR_BASE_URL=sonarr:8989 # required
- SONARR_API_KEY=someApiKey # required
depends_on:
postgresql:
condition: service_healthy
postgresql:
container_name: postgresql
image: postgres
volumes:
- postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=my_user
- POSTGRES_PASSWORD=my_password
- POSTGRES_DB=my_database
healthcheck:
test: "exit 0" |
This is the absolute path : /volume2/Folder II/Media/{movies / tvshows} |
Trying to install the app from Portainer following the exact docker compose unfortunately i am not getting thru .
is there any inputs I have to remove / add / correct ?
any help is very appreciative
volumes:
database-data:
services:
midarr:
container_name: midarr
image: ghcr.io/midarrlabs/midarr-server:latest
ports:
- 4000:4000
volumes:
- /volume1/docker/midarr/media:/media
environment:
App config
Database config
Admin account
Radarr integration
Sonarr integration
OIDC / OAuth 2.0 integration
postgresql:
container_name: postgresql
image: postgres
volumes:
- /volume1/docker/midarr/data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=my_user
- POSTGRES_PASSWORD=my_password
- POSTGRES_DB=my_database
healthcheck:
test: "exit 0"
The text was updated successfully, but these errors were encountered: