Got a notification that there was an update to version 1.20.3.3421 and downloaded it. Went to the AppCenter and tried to do a manual install, but only received a message that it couldn’t be installed and to look in the system log for more details.
Unfortunately there are no details about the attempt to install the update. I reboot the device every Saturday morning, so figured I would wait and try again after it restarted, but with the same result. I have tried it with my normal user as well as the admin with no difference.
I did try to do an install of the current version, but receive the same error, so I am thinking that the problem is on QNAP and not the update package.
Just wondering if anyone else has seen this issue before? I am running version 4.4.3.1439 on the device, and that was installed on the 25th of September, and the current version of Plex was installed on the 3rd of October, so no changes in the OS since then, and plenty if room on the NAS volume.
[/share/pvoveris] # ./PlexMediaServer-1.20.3.3421-54b6523bd-x86_64.qpkg
Install QNAP package on TS-NAS…
./
./package_routines
./qpkg.cfg
./built_info
./qinstall.sh
4464+1 records in
4464+1 records out
110801764 bytes (105.7MB) copied, 0.257125 seconds, 411.0MB/s
108203+0 records in
108203+0 records out
110799872 bytes (105.7MB) copied, 0.257173 seconds, 410.9MB/s
PlexMediaServer 1.20.2 is already installed. Setup will now perform package upgrading.
Firmware check is fine.
Stopping Plex Media Server…
Link service start/stop script: plex.sh
Set QPKG information in /etc/config/qpkg.conf
rm: ‘/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server’ is a directory
ln: /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plex Media Server: File exists
Starting Plex Media Server…
You need QNAP to help with the App Center portion.
I have an idea what’s happening but it is their box and I wouldn’t want to be responsible for anything if I were to give unclear instructions.
Hi Chuck, QNAP support has no idea what to do, what are your thoughts on the cause of the issue? We tried rebooting, and reinstalling the firmware, other than that they said to uninstall and reinstall Plex.
Correct. This would capture only those items in the “Plex Media Server” directory. No media would be captured unless they were items which are still queued to download and the sync directory is still in the default location.
The PlexData shared folder contains that linkage to Plex Media Server.
It’s the same place that /share/CA*/.qpkg/Ple*/Li*/Ple* would take you.
If you’re more comfortable using FileStation – Great! That’s one of the reasons I created the PlexData shared folder and “Plex Media Server” linkage. Just be certain to click into the “Plex Media Server” link and take the resultant ZIP file out of there when done because QPKG will delete it as part of uninstall.
Oh, OK, just wanted to make sure that there wasn’t a set of duplicate files out there to confuse with. I am zipping the file to my own share, so no issues there.
Considering the amount of time it took to do the zipping I think I may wait until the next QNAP firmware update is installed, as that will update the AppCenter as it is part of the firmware update.
If new firmware doesn’t correct the issue, then I will try the reinstall, although I doubt that doing a reinstall would do anything. Especially considering that Plex would be offline for most of the day while I did this.
You mentioned earlier that you had a thought on the problem with the AppCenter and I would be interested in hearing what that was. I also have the same issue with another program that is installed manually and has the unable to install error. I did try to install an app through their AppCenter, the Text Editor app, and it went fine.
Peter,
When I’ve encountered App Center errors in the past, the problem has been with something App Center didn’t do correctly in the QPKG configuration file (/etc/config/qpkg.conf).
This is how it should look when Plex is installed.
[PlexMediaServer]
Status = complete
Name = PlexMediaServer
Build = 20200922
Display_Name = Plex Media Server
Version = 1.20.2
Author = Plex Build Team
QPKG_File = PlexMediaServer.qpkg
Date = 2020-10-08
Shell = /share/CACHEDEV3_DATA/.qpkg/PlexMediaServer/plex.sh
Volume_Select = 3
Install_Path = /share/CACHEDEV3_DATA/.qpkg/PlexMediaServer
WebUI = /web
Web_Port = 32400
Web_SSL_Port = 32400
RC_Number = 101
Timeout = 10,30
Enable = TRUE
FW_Ver_Min = 4.3.0
FW_Ver_Max = 4.9.9
Hand editing of this file, while dangerous, does allow you to remove a package which isn’t registered correctly / is stuck after removal. Manually deleting its “block” and restarting App Center allows gives it properly defined packages to work with.
In these cases, even if a package is installed, it won’t show as installed and allow full overwrite.
There are two other files less likely to be the problem and which I’d rather not name because playing in those files can really mess up the whole NAS.
There is only one guaranteed solution, given that QNAP failed to remedy it,
is to copy everything off and setup it up again from factory defaults.
Reinstalling the firmware doesn’t remove any damaged user or application configuration files (App Center) is an app , with config files, but unfortunately we can’t uninstall it.
Ask QNAP what they think? Other than changing firmware version (downgrade), which I’ve done in the past successfully, I am completely out of ideas.