Hi Team,
I have tried to update the PLEX server several times now with different versions:
PlexMediaServer-1.20.3.3483-211702a9f-x86_64
PlexMediaServer-1.20.3.3437-f1f08d65b-x86_64
PlexMediaServer-1.20.1.3252-a78fef9a9-x86_64
I do not find the model I have in the list of supported ones unfortunatelly but I don’t see how this can affect since it’s basically the same as TS-251+
Please advise.
Server Version#: 4.5.1.1465 Build 20201024
Player Version#: 1.16.6
Unfortunatelly no. Same issue. Also I opened a ticket on the QNAP support forum and the only thing they told me is use the version that’s in QNAP Store untill PLEX manages to get an update there.
Which can mean the next day, next year or never. I know the PLEX team is working on getting it through the QNAP store, but this is bull TBH.
So we’re in a loophole here PLEX blames QNAP, QNAP blames PLEX - both don’t really give an excrement about users The usual deal.
To manually download and install via the command line: (on my TVS-1282)
[/share/CACHEDEV2_DATA] #
[/share/CACHEDEV2_DATA] # wget https://downloads.plex.tv/plex-media-server-new/1.20.4.3517-ab5e1197c/qnap/PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
--2020-11-03 16:00:34-- https://downloads.plex.tv/plex-media-server-new/1.20.4.3517-ab5e1197c/qnap/PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.156.41, 104.18.157.41, 2606:4700::6812:9c29, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.156.41|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111513614 (106M) [binary/octet-stream]
Saving to: ‘PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg’
PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg 100%[==========================================================================================================>] 106.35M 4.49MB/s in 25s
2020-11-03 16:00:59 (4.33 MB/s) - ‘PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg’ saved [111513614/111513614]
[/share/CACHEDEV2_DATA] # chmod +x PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
[/share/CACHEDEV2_DATA] # ./PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
Install QNAP package on TS-NAS...
./
./package_routines
./built_info
./qinstall.sh
./qpkg.cfg
4492+1 records in
4492+1 records out
111488796 bytes (106.3MB) copied, 0.282977 seconds, 375.7MB/s
108874+0 records in
108874+0 records out
111486976 bytes (106.3MB) copied, 0.283149 seconds, 375.5MB/s
Firmware check is fine.
Stopping Plex Media Server...
Link service start/stop script: plex.sh
Set QPKG information in /etc/config/qpkg.conf
Starting Plex Media Server...
[/share/CACHEDEV2_DATA] #
If wget , chmod +x , and executing the package fails, there is nothing we can do. Showing that level failure to QNAP will show them exactly where the problem is.
At the moment of writing the original post the version was PlexMediaServer-1.20.3.3483-211702a9f-x86_64.qpkg. Since that time I have disabled the update notifications. Just checked, same issue with current package.
Installing via SSH results results in the following output:
./PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
Install QNAP package on TS-NAS...
./
./package_routines
./built_info
./qinstall.sh
./qpkg.cfg
4492+1 records in
4492+1 records out
111488796 bytes (106.3MB) copied, 0.650563 seconds, 163.4MB/s
108874+0 records in
108874+0 records out
111486976 bytes (106.3MB) copied, 0.652377 seconds, 163.0MB/s
qinstall.sh: line 1261: /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/.oldlist: Permission denied
rm: remove '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/.list'?
PlexMediaServer 1.16.6 is already installed. Setup will now perform package upgrading.
Firmware check is fine.
Stopping Plex Media Server...
/etc/init.d/plex.sh: line 163: kill: (8378) - Operation not permitted
rm: remove '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/plexmediaserver.pid'?
rm: can't remove '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/VERSION': Permission denied
rm: can't remove '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Info.plist': Permission denied
rm: can't remove '/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/1/Python/bootstrap.py': Permission denied
Traceback (most recent call last):
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/runpy.py", line 162, in _run_module_as_main
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/runpy.py", line 72, in _run_code
File "/usr/local/sbin/notify/__main__.py", line 11, in <module>
File "/usr/local/sbin/notify/language.py", line 5, in <module>
File "/usr/local/sbin/notify/qpkg.py", line 7, in <module>
File "/usr/local/sbin/notify/common.py", line 5, in <module>
File "/usr/local/sbin/notify/utils.py", line 7, in <module>
File "/usr/local/sbin/notify/logger.py", line 176, in logger
File "/usr/local/sbin/notify/logger.py", line 103, in set_log_output
File "/usr/local/sbin/notify/logger.py", line 59, in get_rotat_handler
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/logging/handlers.py", line 117, in __init__
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/logging/handlers.py", line 64, in __init__
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/logging/__init__.py", line 902, in __init__
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/logging/__init__.py", line 927, in _open
File "/root/daily_build/64_52/4.5.1/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/codecs.py", line 881, in open
IOError: [Errno 13] Permission denied: '/mnt/ext/opt/NotificationCenter/NotificationCenter.log'
Ok, so I have tried the SSH install using the admin user ( which is usually disabled ) and not the usual one and it worked. I got the last version of PLEX server installed, but for now I can’t access it via https://x.x.x.x:32400/web/index.html
[/share/CACHEDEV1_DATA] # ./PlexMediaServer-1.20.4.3517-ab5e1197c-x86_64.qpkg
Install QNAP package on TS-NAS...
./
./package_routines
./built_info
./qinstall.sh
./qpkg.cfg
4492+1 records in
4492+1 records out
111488796 bytes (106.3MB) copied, 0.800264 seconds, 132.9MB/s
108874+0 records in
108874+0 records out
111486976 bytes (106.3MB) copied, 0.801988 seconds, 132.6MB/s
PlexMediaServer 1.16.6 is already installed. Setup will now perform package upgrading.
Firmware check is fine.
Plex Media Server hasn't been enabled or started...
Link service start/stop script: plex.sh
Set QPKG information in /etc/config/qpkg.conf
Starting Plex Media Server...
Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)
It actually worked! I had to uninstall the PLEX completelly tho. I’ll have to rescan my entire librarry, but it’s no biggie. Only thing to mention the app has an Exclamation mark in the QNAP store since it’s missing an valid signature.
Thank you Team! I was not hoping to solve this issue untill QNAP releases a new firmware! I really hope you will manage to get with whatever bureaucracy is left and return to the QNAP store officially!
Good luck and God Bless you.
please let me know which works and which doesn’t work.
Based on your answers:
If wget and Manual Install from the GUI works – you have a browser problem downloading from the Plex site
If neither work - we need to correct QTS/QPKG itself (it’s damaged).
a. I might be able to help but no guarantee
b. QNAP can correct it via remote Teamviewer
Already done these steps. GUI install after download is failing (both in app link and wget). Then I tried the command line mode and it worked. The Plex is still showing with no digital signature, and is being shut down every 24 hours or so. In short: