- OMV 5.x
- koppa
- 26. Januar 2021
1. offizieller Beitrag
- 26. Januar 2021
Hello,
I have recently upgraded my NAS from OMV 4 to 5 and now using Portainer to maintain the docker images.
I have previously been running Watchtower to update the containers and that appears to have been working correctly, except for Plex.
Now that I am on OMV 5, what is the best way to continue updating the containers?
For Plex, I have tried both linuxserver/plex and plexinc/pms-docker, but both appear to not be updating the version on Plex from 1.20.3.3401.
I have tried using the recreate option in Portainer, but that didn't appear to update the system.
I believe I am using the correct tag (latest) and I also have a plex pass account so should be able to get the most up to date version available.
Is there something I am missing in terms of updating this?
Any help would be greatly appreciated.
Thanks
- 26. Januar 2021
- Offizieller Beitrag
koppa
Is watchtower updating your other containers?
Regardless, what image is your Plex server using? I don't use Plex, but I seem to recall it mentioned several times here that users should be using the bionic image, due to some issue w/ another one of the images.
- 26. Januar 2021
KM0201
I believe watchtower is updating the other containers. However I only upgraded to OMV 5 today so have yet to confirm if that is going to continue through Portainer.
The image for plex server I am using is latest. What is the easiest way to update this to bionic?
- 26. Januar 2021
- Offizieller Beitrag
Zitat von koppa
KM0201
I believe watchtower is updating the other containers. However I only upgraded to OMV 5 today so have yet to confirm if that is going to continue through Portainer.
The image for plex server I am using is latest. What is the easiest way to update this to bionic?
If you installed with docker-compose or with a stack compose file.. you can just change your image that you pull
https://hub.docker.com/r/linuxserver/plex (see version tags)
and then redeploy the stack or docker-compose file.
If you didn't use docker-compose or stacks...
I *THINK*...
Go to Portainer, click on the container in question, and click Duplicate/Edit in the upper right
On the first page you'll see "image".. try renaming appending that from :latest to :bionic
Then scroll down and click deploy container. Once it restarts, see if it is running the Bionic image on the containers list.
- 26. Januar 2021
- the switch to a image running bionic is only needed if you are using a 32bit OS host-is-incompatible-with-images-based-on-ubuntu-focal
- for updates check your version tag: linuxserver/plex Application Setup
- 27. Januar 2021
- Offizieller Beitrag
I always used :latest in my stack and then refreshed the container in Portainer when notified of an update.
Update: I’m sorry. I meant to say restarted the container, not refreshed. Browsers are refreshed. Containers are restarted.
- 27. Januar 2021
Zitat von koppa
Alles anzeigenHello,
I have recently upgraded my NAS from OMV 4 to 5 and now using Portainer to maintain the docker images.
I have previously been running Watchtower to update the containers and that appears to have been working correctly, except for Plex.
Now that I am on OMV 5, what is the best way to continue updating the containers?
For Plex, I have tried both linuxserver/plex and plexinc/pms-docker, but both appear to not be updating the version on Plex from 1.20.3.3401.
I have tried using the recreate option in Portainer, but that didn't appear to update the system.
I believe I am using the correct tag (latest) and I also have a plex pass account so should be able to get the most up to date version available.
Is there something I am missing in terms of updating this?
Any help would be greatly appreciated.
Thanks
I am using the amd64 linuxserver image, :latest tag. All I do to update to the latest Plex software version is to restart the container whenever Plex notifies me that an update is available and I notice the message. Plex checks for a newer version every time the container starts. If one is available it is downloaded into the container and installed, then started.
The plexinc/pms-docker can be made to work in a similar fashion, but a specific image must be used and it must be specifically configured to behave this way. Using the :latest tag is not correct. It will not give you a self updating container. Read the image docs for how to set this up.
- 28. Januar 2021
Zitat von gderf
All I do to update to the latest Plex software version is to restart the container
I have tried doing that through portainer and when I reload plex, it still comes up with the same version and saying there is an update.
See Alsooverseerr - LinuxServer.ioEven restarting the NAS itself doesn't appear to update plex.
Is there something else I can try?
- 28. Januar 2021
From https://hub.docker.com/r/linuxserver/plex :
Valid settings for VERSION are:-
IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT
docker
: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.latest
: will update plex to the latest version available that you are entitled to.public
: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.<specific-version>
: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
I think that by default the VERSION parameter is docker (VERSION=docker) which means that the plex will remain at the version in the container. In this case, you need to update to linuxserver / plex: latest.
If you want to update the plex in the container then choose: VERSION=latest or VERSION=public and restart the container.
- 28. Januar 2021
- Offizieller Beitrag
Public is what I have set. Updated my Plex yesterday with just a restart of the container.
- 30. Januar 2021
I'm not sure if i'm doing this wrong, but I have added a version environment detail, set to latest and restarted the container and yet nothing appears to change with the plex server.
The image appears to be correct, currently set to linuxserver/plex:latest
I'm still trying to figure out this docker/portainer system so any basic tips on how to get it updating would be great.
- 30. Januar 2021
- Offizieller Beitrag
koppa take a look at these two guides by macom :
How to install Plex with docker-compose
UseDocker-compose in Portainer
I don’t have the titles exact but the links are good. My guess is you are building Plex in the Containers tab of Portainer. There’s nothing wrong with that. But if you learn how to create the container in the Stacks tab of Portainer (better yet, using docker-compose in the command line) it’s much easier to adjust and redeploy. That does not fix your problem now but in the long run it will make deployment easier.
Now, your problem at hand:
Go to your Containers and find the line that reads "plex" and click on the word by the check box on the left.
That gives you the following screen. Click on the button "Duplicate/restart"
Click on the Env tab and you will see the below view. Make sure the "Name" just reads VERSION and the "value" just reads public
When finished, click the "deploy" button. That should work.
- 1. Februar 2021
Thanks Agricola for the reply
Unfortunately I did everything mentioned and still appears nothing is changing on the plex application.
It almost feels like plex is/has been installed some other way and the portainer/docker installation is not doing anything.
My next step is to remove the container completely and see if plex stops working.
- 1. Februar 2021
- Offizieller Beitrag
Obviously there is something I am not seeing. Even though I deployed Plex from the terminal using docker-compose. When I see there is an available update, I go to Portainer and restart the container causing it to update. It works for me every time.
- 1. Februar 2021
Zitat von koppa
I have tried doing that through portainer and when I reload plex, it still comes up with the same version and saying there is an update.
Even restarting the NAS itself doesn't appear to update plex.
Is there something else I can try?
Restart the container and look at the container log for clues. Here is my log file after a restart:
Code
today at 11:42 PM [cont-finish.d] executing container finish scripts...today at 11:42 PM [cont-finish.d] done.today at 11:42 PM [s6-finish] waiting for services.today at 11:42 PM Critical: libusb_init failedtoday at 11:42 PM [s6-finish] sending all processes the TERM signal.today at 11:42 PM [s6-finish] sending all processes the KILL signal and exiting.today at 11:42 PM [s6-init] making user provided files available at /var/run/s6/etc...exited 0.today at 11:42 PM [s6-init] ensuring user provided files have correct perms...exited 0.today at 11:42 PM [fix-attrs.d] applying ownership & permissions fixes...today at 11:42 PM [fix-attrs.d] done.today at 11:42 PM [cont-init.d] executing container initialization scripts...today at 11:42 PM [cont-init.d] 01-envfile: executing... today at 11:42 PM [cont-init.d] 01-envfile: exited 0.today at 11:42 PM [cont-init.d] 10-adduser: executing... today at 11:42 PM usermod: no changestoday at 11:42 PM today at 11:42 PM -------------------------------------today at 11:42 PM _ ()today at 11:42 PM | | ___ _ __today at 11:42 PM | | / __| | | / \ today at 11:42 PM | | \__ \ | | | () |today at 11:42 PM |_| |___/ |_| \__/today at 11:42 PM today at 11:42 PM today at 11:42 PM Brought to you by linuxserver.iotoday at 11:42 PM -------------------------------------today at 11:42 PM today at 11:42 PM To support LSIO projects visit:today at 11:42 PM https://www.linuxserver.io/donate/today at 11:42 PM -------------------------------------today at 11:42 PM GID/UIDtoday at 11:42 PM -------------------------------------today at 11:42 PM today at 11:42 PM User uid: 1001today at 11:42 PM User gid: 100today at 11:42 PM -------------------------------------today at 11:42 PM today at 11:42 PM [cont-init.d] 10-adduser: exited 0.today at 11:42 PM [cont-init.d] 40-chown-files: executing... today at 11:42 PM [cont-init.d] 40-chown-files: exited 0.today at 11:42 PM [cont-init.d] 45-plex-claim: executing... today at 11:42 PM [cont-init.d] 45-plex-claim: exited 0.today at 11:42 PM [cont-init.d] 50-gid-video: executing... today at 11:42 PM [cont-init.d] 50-gid-video: exited 0.today at 11:42 PM [cont-init.d] 60-plex-update: executing... today at 11:42 PM No update requiredtoday at 11:42 PM [cont-init.d] 60-plex-update: exited 0.today at 11:42 PM [cont-init.d] 99-custom-scripts: executing... today at 11:42 PM [custom-init] no custom files found exiting...today at 11:42 PM [cont-init.d] 99-custom-scripts: exited 0.today at 11:42 PM [cont-init.d] done.today at 11:42 PM [services.d] starting servicestoday at 11:42 PM [services.d] done.today at 11:42 PM Starting Plex Media Server.
Alles anzeigen
- 1. Februar 2021
- Offizieller Beitrag
Zitat von gderf
Restart the container and look at the container log for clues. Here is my log file after a restart:
koppa Click on the little blue page icon next to your plex container.
- 1. Februar 2021
I like Dozzle for reading container logs. Definitely worth a look.
- 1. Februar 2021
A restart doesn't work for me either. But I found another solution: In Portainer go to the container list. Then click on 'plex' to see the container details. Then you just have to click 'Recreate' in the top bar. The container will be rebuilt with the latest Plex version. All settings, content, etc. are retained.
- 6. Februar 2021
Thanks all for the help.
After my last message I left it for a day and came home yesterday to plex having been updated to the latest version.
I'm sure not exactly what caused it to finally update, but glad it has and appears to be working fine (besides losing some config and show details during the upgrade)
- 22. Februar 2021
The issue is that new versions are announced for plexpass but all distros see it. So if you are on public there is a period where it says there is an update but you won't get it with restarting. if you have plexpass then use the tag plexpass. That will get you latest every time you restart.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!
Benutzerkonto erstellenAnmelden
Tags
- plex
- Portainer