Update Failed

Discussion on Plex media server and clients
Post Reply
User avatar
xm41907
Posts: 8
Joined: 06 Aug 2021, 20:09

Update Failed

Post by xm41907 »

I saw there was an update to Plex so I clicked to install it. It failed. Now my Plex is gone. I've tried updating both through the update on TOS and installing a manual version. Each time it gets to 50% then says the operation failed. I've rebooted, the same thing keeps happening. How can I manually wipe Plex from my system and install a clean version?
User avatar
TMzethar
TerraMaster Team
Posts: 1223
Joined: 27 Oct 2020, 16:43

Re: Update Failed

Post by TMzethar »

Hi, you can try this:viewtopic.php?f=83&t=4772
Cloud you tell us the TNAS model name and TOS version?
It is recommended to keep using the stable version of App Center.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
sivan81
Posts: 3
Joined: 03 Nov 2023, 17:33

Re: Update Failed

Post by sivan81 »

Hello everyone, like the colleague who created this thread, I also have problems with the manual PLEX update, since it always stays at 50% and gives an error. In my case, luckily it has not gone further, that is, it continues to work but without updating.

The fact is that I have always waited for Terramaster to update the application, but apparently they have left it abandoned for the older TOS versions, because they have not updated it for quite some time.

Do you know why the manual update attempt always remains at 50% and how it can be solved? I repeat that I would like Terramaster to update the application as they have been doing and not have to do it manually, but apparently they no longer do it.

Thanks so much for the help.
User avatar
TMzethar
TerraMaster Team
Posts: 1223
Joined: 27 Oct 2020, 16:43

Re: Update Failed

Post by TMzethar »

Please inform us of the TOS version and app version.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
sivan81
Posts: 3
Joined: 03 Nov 2023, 17:33

Re: Update Failed

Post by sivan81 »

Of course.

I am attaching screenshots so you can see it correctly.

Thank you very much for answering.
Attachments
VersionPLEX.png
VersionTOS.png
User avatar
TMcola
TerraMaster Team
Posts: 44
Joined: 11 Aug 2023, 18:15
China

Re: Update Failed

Post by TMcola »

{L_BUTTON_AT}xm41907
If you don't need the plex data, you can uninstall the plex app and deleting the plex shared folder before reinstalling.Or back up the data you need on plex before executing it ,you can refer to this viewtopic.php?f=83&t=4772
User avatar
sivan81
Posts: 3
Joined: 03 Nov 2023, 17:33

Re: Update Failed

Post by sivan81 »

Good morning everyone.

I understand that no one knows anything about what I was saying about the PLEX update, right?

Thank you so much.
User avatar
TMzethar
TerraMaster Team
Posts: 1223
Joined: 27 Oct 2020, 16:43

Re: Update Failed

Post by TMzethar »

{L_BUTTON_AT}sivan81
I'm afraid so. Perhaps you can describe it simply and accurately through this method“
What should it look like:
What is it actually like:
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
AlAleksiev
Posts: 1
Joined: 19 Feb 2024, 00:15

Plex update failed fix !

Post by AlAleksiev »

! Conditions:
! - Usually after "Operation failed" message during update or installation attempts.
! In this example is used 64 bit Plex v.1.40.0.7998-c29d4c0c8 from February 13, 2024
! - For 4.2.30 and close TOS versions
! - NAS is with well working Internet connectivity
! - SSH connection to the NAS - all commands are executed from the bash

!
! [1] Remove any Plex file from the NAS (WARNING: verify if the locations are as described first!)
!

Code: Select all

rm -rf /mnt/md0/application/pkgs/plex
rm /mnt/md0/application/pkgs/plex.tpk
rm -rf /mnt/md0/application/plexmediaserver/
rm -rf /mnt/md0/application/uninstall/plex
!
! [2] Remove ny old user and create a new one, ready for the Plex installation
!

Code: Select all

deluser plex
groupadd -g 5555 plex
useradd -M -u 5555 plex -g plex -d /home/plex -s /bin/bash
!
! [3] Install Plex from package
!
! Applications > Settings > Install Application Manually
! WARNING: It will fail, but no worries ;-)

!
! [4] Validate the reson for the failure and correct it
!

Code: Select all

cd /mnt/md0/application/pkgs
./plex/etc/init.d/plex status
./plex/etc/init.d/plex start
start-stop-daemon: unable to stat /usr/local/plexmediaserver/Plex Media Server (No such file or directory)
!
! In this example, the above message is showing a missing directory that the Plex installation is expecting
! in a specific place (/usr/local/plexmediaserver/).
!
! A fast investigation is identifying the actual location for the directory (/home/plex/Library/Application Support/):
!

Code: Select all

ls -al /usr/local/plexmediaserver
total 0
drwxr-xr-x 1 root root  24 Feb 17 21:03 .
drwxr-xr-x 1 root root 230 Feb 17 20:52 ..
drwxr-xr-x 1 root root   0 Feb 17 21:03 lib
drwxr-xr-x 1 root root 150 Feb 17 21:03 Resources
!

Code: Select all

ls -al /home/plex/Library/Application\ Support/
total 0
drwxr-xr-x 1 plex plex  34 Feb 17 20:53  .
drwxr-xr-x 1 plex plex  38 Feb 17 20:53  ..
drwxr-xr-x 1 plex plex 270 Feb 17 21:03 'Plex Media Server'
!
! Correcting the missing directory in creating a symbolic link to the actual location:
!

Code: Select all

cd /usr/local/plexmediaserver
ln -s /home/plex/Library/Application\ Support/Plex\ Media\ Server/ 'Plex Media Server'
ls -al
total 4
drwxr-xr-x 1 root root  58 Feb 17 21:26  .
drwxr-xr-x 1 root root 230 Feb 17 20:52  ..
drwxr-xr-x 1 root root   0 Feb 17 21:03  lib
lrwxrwxrwx 1 root root  57 Feb 17 21:26 'Plex Media Server' -> '/home/plex/Library/Application Support/Plex Media Server/'
drwxr-xr-x 1 root root 150 Feb 17 21:03  Resources
!
! We can use now "plex start" again to validate if there are more problems to fix...
! In that example there are no other issue.
!

!
! [5] Install Plex from package
!
! Applications > Settings > Install Application Manually
!
! The installation should pass and the Plex icon will be placed on the TOS desktop.
Post Reply

Return to “Plex”