@ChuckPa The latest version 1.41.0.8976 is broken too for me. Do you have a workaround for the PMS that disapeared?
I will help anyone (using Anydesk remote desktop so I can type⦠whatsapp or facetime audio if desired too)
to fix the /etc/config/qpkg.conf file ā or ā you can do it if youāre comfortable with VI text editor and understand QTS/QuTS package internals (/etc/config/qpkg.conf)
Iām working on a solution for this now. I am trying to avoid the timing issue QNAP has with package installation
@marcmale Yes, I can help you with the piece of /etc/config/qpkg.conf
Reinstalling the old version will also get you running again (on top of what you have).
The next PMS release will have:
- Fixed start scripts (which were released this time)
- REMOVE the Nvidia-PMS timing fixes (PMS must start last)
Iāve already submitted the change as a hotfix.
@ChuckPa Iām not sure I understand. In my case is it a problem with the qpkg.conf file? I have already published the content of my file in the forum. I have no problem editing this file myself but I donāt know what to change?
If my problem comes from the start script problem in your point 1, no problem, I will wait for the next version.
Thanks
Yes, there is a timing problem, which I was unaware of, based on QNAP model.
The sequence is:
- While installing PMS
- Look for the
[PlexMediaServer]block in/etc/config/qpkg.conf - Move the block to the end of the file (guarantee
NVIDIA_GPU_DRVstarts first.
This is not happening.
Somewhere in the installation process, QNAP also has something happening to qpkg,conf. Their changes overwrote my changes which resulted in [PlexMediaServer] block not being present in the file in spite of PMS being installed.
To circumvent this, Iām moving this repositioning to inside the plex.sh script.
This is safer. All modifications to qpkg.conf will have been completed. It will look to make the changes only if the positioning is incorrect.
This add-in script code will delete itself after running so that it cannot interfere again (wonāt look until PMS is installed again)
Thanks @ChuckPa In PMS 1.40 [PlexMediaServer] is the last entry.
After installation of PMS 1.41 [PlexMediaServer] is disapeared.
Can I copy the [PlexMediaServer] section of PMS1.40 and paste it in the qpkg.conf after PMS 1.41 installation? I suppose that I need reboot tha NAS after?
Let me get you the updated data (base build info you need)
Youāll merge the 1.40 with the 1.41 I have, edit the pathnames if needed
Save the file
Close and re-open App Center
Go add this to your /etc/config/qpkg.conf
ADJUST the pathnames as required
Use the Build and Version and Date info
Look at your 1.40.0 and pay attention to the Use Proxy value. Ignore mine if you have = 0
[PlexMediaServer]
Status = complete
Name = PlexMediaServer
Build = 20240826
Display_Name = Plex Media Server
Version = 1.41.0
Author = Plex Build Team
QPKG_File = PlexMediaServer.qpkg
Date = 2024-08-29
Shell = /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/plex.sh
Volume_Select = 3
Install_Path = /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer
WebUI = /web
Web_Port = 32400
RC_Number = 101
Timeout = 10,30
Enable = TRUE
Use_Proxy = 1
FW_Ver_Min = 4.3.0
When done, please show your qpkg.conf block for confirmation.
@ChuckPa
Ok here the result of my test.
1- I installed the PlexMediaServer-1.41.0.8930-056c2ed26-x86_64.qpkg
2- I insert your [PlexMediaServer] with path corrected and I removed the use_proxy because I donāt have this line I my previous version.
3- Closed / opened App center, Stop Plex app then Start it.
4- Plex run fine again.
5- Now try to update PMS to the new beta released today. PlexMediaServer-1.41.0.8976-8d3b73150-x86_64.qpkg
6- PMS disappeared again.
7- I repeated step 2 and 3 with Built and Date modified
8- Now last version installed and all rune fine!!
Thanks so much @ChuckPa
Here my last qpkg.conf added.
[PlexMediaServer]
Status = complete
Name = PlexMediaServer
Build = 20240910
Display_Name = Plex Media Server
Version = 1.41.0
Author = Plex Build Team
QPKG_File = PlexMediaServer.qpkg
Date = 2024-09-10
Shell = /share/ZFS530_DATA/.qpkg/PlexMediaServer/plex.sh
Volume_Select = 3
Install_Path = /share/ZFS530_DATA/.qpkg/PlexMediaServer
WebUI = /web
Web_Port = 32400
RC_Number = 101
Timeout = 10,30
Enable = TRUE
FW_Ver_Min = 4.3.0
There you are!
I am VERY VERY VERY sorry for this. I donāt understand where the problem happens.
Itās somewhere deep inside of QNAP.
If QNAP obeyed their RC NUM value, this would never happen but even they admit they ignore it which is poor programming
@ChuckPa Donāt be sorry! It can happen and itās a beta after all! I can just say thank you for your great support, your availability and you patience. ![]()
@ChuckPa Version 1.41.0.8976 is offered by PMS for download.
Is this the fixed one and safe to install ?
NO, this version is not fixed (the beta).
I am hoping they will make a new beta as the changes were approved and merged into the master source today.
Iāve been working on the solution to the problem and think I have a new technique which will work for everyone.
Iām glad I checked here before I installed it. The lack of any release notes about QNAP was good, It might save on some work for Chuck if the release notes said something about it not fixing the QNAP issue, but hopefully it doesnāt surprise anyone new.
I confirm that PlexMediaServer-1.41.0.8988-350a78cb8-x86_64.qpkg released today work fine!
Thanks @ChuckPa
Already updated to Version 1.41.0.8992. Installed without any issues!
Thanks @ChuckPa
Thank you for confirming.
Iāve found the root cause as to why my attempts donāt work.
There is nothing I can reliably do to /etc/config/qpkg.conf but thatās a file I should not be tampering with anyway.
Therefore, I have a possible solution and would like input.
- IF NVIDIA_GPU_DRV is installed
- -AND- Plex is found in /etc/config/qpkg.confa
- -AND- itās ABOVE NVIDIA_GPU_DRV (meaning it will start first)
- THEN delay starting PMS until NVIDIA_GPU_DRV starts
- āAND-- Print informative message in QTS/QuTS system console for you.
How does this sound?
The repurcussion is, PMS will not start until the driver starts ā OR-- the timeout (GPU inoperative) expires.
This technique confines everything to plex.sh startup control script.
Also confirming the above
Why not something simpler:
- If NVIDIA_GPU_DRV is installed.
- Then check whether it has already started.
- If not, wait until the driver starts or the timeout has reached.
- Write a message to QULog Center.
- Continue
That sounds like a solid idea !!
So the delay will only come into effect if plex is above NVIDIA_GPU_DRV
Such it will only influence installations were the NVidia drivers were added after plex was installed.
I like it !!
I donāt see problem with your logic.
![]()