UPNP service fix - minissdpd service install and configure

This commit is contained in:
crocandr
2023-01-26 21:48:51 +01:00
parent eaf1b23513
commit ea836ce03c
4 changed files with 42 additions and 12 deletions

View File

@@ -12,12 +12,18 @@ docker build -t croc/minidlna .
## Run
```
docker run -tid --name=minidlna --net=host -e SRVNAME=dockerlna -e "FOLDERS=/mnt/data/mp3,/mnt/data/movie,/mnt/data/torrent" -v /mnt/data/pub/:/mnt/data croc/minidlna /opt/start.sh
docker run -tid --name=minidlna --net=host -e SRVNAME=dockerlna -e "FOLDERS=/mnt/data/mp3,/mnt/data/movie,/mnt/data/torrent" -v /mnt/data/pub/:/mnt/data croc/minidlna
```
- `SRVNAME` - name of the minidlna
- `FOLDERS` - list of the shared folders in your volume (/mnt/data)
- `SRVNAME` - name of the minidlna server
- `FOLDERS` - list of the shared folders on your volume (/mnt/data)
Please use docker-compose file (from my Github page) for easier management.
## Known errors
Container always restarts and `SSDP service start problem` message in the container logs.
Check the 1900 UDP port on your docker host (example: `ss -lntpu | grep -i 1900` ) maybe already in use.
Stop another UPNP service, like Jellyfin/Plex/Emby server to free up this port and try again.