404 Page not Found after updating to PMS 1.25.1 on QNAP

Hi all,

I updated PMS to 1.25.1 last week, but after that I’m not able anymore to open PMS in the web interface, I get an 404 Page not Found error. Rolling back to 1.25.0 fixed it again but after that I no longer have access to the server settings.
Tried to update to 1.25.2 today, but again 404 page not found when trying to reach the server through the browser.
Clients on mobile devices are still working in this state on the new server versions.
Anyone have any idea?

Server Version#: 1.25.1
Player Version#:

It seems to be a community-wide problem - not just on QNAP - my Western Digital EX2 Ultra is exhibiting similar behaviour!

@Wouter35

On the QNAP, please create the PlexData share if you don’t have it already.

Make certain DEBUG logging is enabled and VERBOSE disabled.

After that, Please install 1.25.1 and recreate the problem.

Then, Stop Plex, Downgrade back to 1.25.0 (install on top of again).

Start it.. confirm it works. then Stop

When done with both capture the logs manually using Filestation (make a ZIP of the “Logs” directory in PlexData / Plex Media Server

download and then attach that zip here so I can review it.

1 Like

@ChuckPa

Hi Chuck,
First off, thanks for reaching out.

I already had the PlexData share, so this was working already.
Did as you asked, only had some trouble getting the logs through filestation because of access permission issue?, so used SSH instead.

Below are the logs as requested, hope this helps.
Logs.zip (3.2 MB)

If filestation wasn’t allowing, check the permissions you granted .

By default, all of Plex runs as the admin user so a normal user will have problems creating the ZIP (unless the permissions are set to allow it)

I’m reading your ZIP now

1 Like

@Wouter35

Thanks for the logs. I found it immediately.

Dec 08, 2021 22:25:27.719 [0x7fc578216d48] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Dec 08, 2021 22:25:27.719 [0x7fc578216d48] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Dec 08, 2021 22:25:27.719 [0x7fc578216d48] ERROR - HttpServer: Error binding acceptor: Address in use
Dec 08, 2021 22:25:27.719 [0x7fc578216d48] ERROR - HttpServer: Error opening acceptor on IPv6, falling back to IPv4: Address in use
Dec 08, 2021 22:25:27.719 [0x7fc578216d48] ERROR - HttpServer: Error binding acceptor: Address in use
Dec 08, 2021 22:25:27.719 [0x7fc578216d48] ERROR - Error: Unable to set up server: listen: Address in use (N5boost10wrapexceptINS_6system12system_errorEEE)

PMS release 1.25.2.5319 contains the control scripting fix for this.

I’m VERY sorry this type issue slipped through my initial testing.

Now, when you click “Stop” – It WILL STOP! :boom: :smiling_imp:

@ChuckPa

Does this mean updating again fixes it?
Tried updating to 1.25.2 like an hour ago, but still had the same issue.

Or you mean I have to do something differently after updating? :grinning:
Thanks again for your very, very prompt reply and action! :+1:

I would next try a different browser to download

If you want, you can use wget to raw pull at the command line and completely avoid the browser

After updating towards V1.25.2 the new startup script was installed

As such, would not work during the install

So in QTS AppStore, a restart of PMS should work, and from this moment on, hopefully would also work for future upgrades

@dane22

Did you have difficulty upgrading to the new script ?

Nope, but then again never had any difficulty :wink:

@ChuckPa
I tried to download 1.25.1 fresh again and installed it. After this I still get the 404 error in the browser. Stopping and restarting PMS in the app center does not work for me also, still receiving the 404 error.
Any other suggestions maybe?

@Wouter35

Please open a SSH to the QNAP.
Make sure PMS is stopped in App Center

ps -ef | grep -i plex

See if any other processes are stuck.

kill -9 pid_number if there are.

Then download and install 1.25.2.5319

1 Like

@ChuckPa
[EDIT] Below is the result of this command, killed all the processes in the list as you explained, downloaded and installed PMS 1.25.2, opened PMS and everything is working again!
Thanks for your help!

/share/ZFS532_DATA/.qpkg/PlexMediaServer/Library$ ps -ef | grep -i plex
 4220 admin    146680 S   ./Plex Media Server
 5167 admin       164 S   /share/ZFS532_DATA/.qpkg/PlexMediaServer/Plex Tuner Service /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Private /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Shared 1.25.0.5282-2edd3c44d 32600
 7511 admin     38844 S N Plex Plug-in [com.plexapp.system] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/System.bundle
10195 admin     29552 S   Plex Plug-in [tv.plex.agents.movie] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/PlexMovieNew.bundle
11514 admin     29936 S   Plex Plug-in [com.plexapp.agents.plexthememusic] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/PlexThemeMusic.bundle
11533 admin     31288 S   Plex Plug-in [tv.plex.agents.music] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/PlexMusic.bundle
12686 admin     30312 S   Plex Plug-in [com.plexapp.agents.none] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/PersonalMedia.bundle
13242 admin     37760 S   Plex Plug-in [com.plexapp.agents.themoviedb] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/TheMovieDB.bundle
13348 admin     40380 S   Plex Plug-in [com.plexapp.agents.thetvdb] /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5282-2edd3c44d /share/ZFS532_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-2edd3c44d/TheTVDBv4.bundle
23272 admin       288 S   Plex EAE Service
30107 Wouter     1144 S   grep -i plex

I’m glad I could help.

Writing package control scripting which can handle ANY situation is always fun
:roll_eyes:

:rofl:

Haha, I’m sure you’re right and know I’d rather not swop places :grinning:
Still bit curious though, what made my situation “different” from the rest, looking at the entire community.
Thanks again and success with your next patient! :wink:

You’re not really any different than the other cases other than you’re on QuTS vs QTS.

I’ve setup the package so it works on either distribution (one size foot fits all ***** :wink: )

The problem everyone’s been facing is when PMS fails suddenly and ungracefully.

When that happens, it leaves the other support processes running.

With those processes running, you can’t restart Plex because the control scripting wasn’t being pedantic.

I’ve since made it “evil mother-in-law like”.

It can still use a little bit of tweaking but I reallly needed to get the update out to everyone ASAP.

A post was split to a new topic: Can’t access Plex Server

I have this same issue without being able to access or see any of my own libraries/servers in the plex players on my TV nd phone etc. And I get the 404 error trying to open up the settings. I have uninstalled and re-installed but had no luck.

The above sounds like you have a solution but I am not technically proficient enough to know what the SSH Approach is. Any simpleton way of fixing the issue?

Update: I have just seen the new update after posting this question. With hope I installed it, but did not fix. After a NAS restart it did say Plex is still starting up please wait, which was different, but then page not found.

I have dug up my logs and they look the same. new versions do not fix though.