I installed Plex in a Docker container on Synology 920+ (DSM7) to enable hardware transcoding. After the docker run command completed, everything seemed to work fine. When I played a video on my iPad, and looked at Dashboard-Activity, it shows (hw) next to transcode. But, when I stopped the container to Edit it to Enable Auto-Restart, it refused to save.
The problem is that on the Volume Settings Tab, the Mount Path for /config/Library/Application Support is in red and has the error "Incorrect Value. Screenshot below. I noticed it will accept /config/Library/Application but as soon as I hit the space bar, the error appears.
The reason I changed the three lines is because when I used yours exactly, everything showed up as unavailable. I had a topic about that, but never resolved the issue, so I tried deleting everything and changing the three lines instead.
One other issue I am having. I am on a Macbook and using Terminal. I ssh into NAS with an Admin account. I get an error that it cannot changed to user’s homes folder, because I do not have that enabled.
Then, when I paste the docker run command (which I create in TextEdit), it does not only work. I often get the lines with > in front, and when I hit enter, all I get is >. Nothing happens. I am not sure whether that is related, or what I am doing wrong when I run the command.
Thanks. I tried the quotes as you suggested. That did not work. Same error.
The problem with the error is that if you try to enable Auto-Restart, it will not Save. It complains because of the Mount Path Error. There is thus no what to enable Auto-Restart.
I notice that your script (posted above) includes the following two lines which mine did not:
e PUID=297536 \
-e PGID=297536 \
Is it possible those two lines make a difference? I suppose not since you got the same error I did.
Last, is there any reason you can see that my script does not run properly from Terminal each time. I ssh into NAS with an Admin account. I get an error that it cannot change directory to user’s homes folder, because I do not have that enabled.
Then, when I paste the docker run command (which I create in TextEdit), it does not always work. I often get the lines with > in front, and when I hit enter, all I get is >. Nothing happens. I am not sure whether that is related, or what I am doing wrong when I run the command.
Thanks again for your time.
Sorry for what I’m sure is a stupid question, but do I just ssh into the NAS, and then run this command? I tried that but first got a permission error. So I ran it again with sudo n front. That returned the name of my container: plex. But when I looked at the container, and clicked Edit, enable auto-restart was still unchecked.
I tried to follow your instructions but I am new at this. I created a text file using Texteditor on Syno, and saved it as "plex_install.txt in a shared folder called Syno. The path is therefore: /volume1/Syno/plex_install.txt.
I then ssh into Syno, and ran sudo /volume1/Syno/plex_install.txt.
I get the folllowing message in Terminal:
“docker run” requires at least 1 argument.
See ‘docker run --help’.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]
Run a command in a new container
/volume1/Syno/Plex_Install.txt: line 8: -e: command not found
unknown flag: --update
See ‘docker --help’.
Just thought I’d let you know that I did not get any fix from Synology. They want remote access, but before I arranged that, I found a solution to the Mount Path problem and another that cropped up. The new problem was a network error whenever the plex container restarted.
The solution:
Portainer.
It can make any changes to the container, including the Mount Path with spaces, can set it to auto-restart, and start it without errors.