If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Can't access web application after plexmediaserver upgrade

dspencer1981dspencer1981 Posts: 2Members

Recently, the Xbox One Plex application was upgraded and I was no longer able to connect to my media server which is on FreeBSD10.3. However, since I upgraded to the latest port ( plexmediaserver-1.9.4.4325), I'm unable to reach the Plex UI in a browser (http://mynas.domain.com/plex) after and I can't connect with any Plex applications on my SmartTV or XBox One. I am able to access all the other applications that are hosted on the server through the nginx reverse proxy. i.e. http://mynas.domain.com/app1 and http://mynas.domain.com/app2.

The nginx config hasn't changed:

location /plex {
    proxy_pass http://localhost:32400/web;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /web {
    proxy_pass https://localhost:32400;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

I can verify that plexmediaserver is running on my server:

$ ps aux | grep plex
plex       656   0.0  0.6 350964  52568  -  Ss   Tue06PM     2:43.99 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex Media Server)
plex       781   0.0  0.6 298028  45668  -  SN   Tue06PM     3:27.05 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver/Resources/Plug-ins-a17e99e/Framework.bundle/Contents/Resourc
plex       798   0.0  0.2 209652  14584  -  S    Tue06PM     0:50.34 /usr/local/share/plexmediaserver/Plex DLNA Server

If I try to curl the URL, http://mynas.domain.com/plex, on my server I get the following:

   $ curl mynas.domain.com/plex
   curl: (7) Failed to connect to mynas.domain.com port 80: Connection refused

If I curl the localhost on the server with the port running Plex (curl localhost:32400), I get an XML output rather than HTML.

I'm not sure why I'm getting XML rather than the web UI for Plex. What would cause that to happen? Is it possible some permissions changed while I ran the update?

I thought I had to re-authorize my server so I deleted it from the list of authorized devices but since I can't reach the web application, I can't even re-add the server.

Answers

  • dspencer1981dspencer1981 Posts: 2Members

    Should the permission for the installation be the following?

        $ ls -la /usr/local/share/plexmediaserver/
        total 100380
            drwxr-xr-x   3 root  wheel      3584 Nov  1 14:27 .
            drwxr-xr-x  79 root  wheel      1536 Nov  7 13:49 ..
            -r-xr-xr-x   1 root  wheel   1667184 Oct  5 16:19 CrashUploader
            -r-xr-xr-x   1 root  wheel   4645560 Nov  1 14:27 Plex DLNA Server
            -r-xr-xr-x   1 root  wheel   6517800 Nov  1 14:27 Plex Media Scanner
            -r-xr-xr-x   1 root  wheel  23717600 Nov  1 14:27 Plex Media Server
            -r-xr-xr-x   1 root  wheel    915528 Nov  1 14:27 Plex Relay
            -r-xr-xr-x   1 root  wheel      5240 Nov  1 14:27 Plex Script Host
            -r-xr-xr-x   1 root  wheel  13255136 Nov  1 14:27 Plex Transcoder
            -r-xr-xr-x   1 root  wheel   5521024 Nov  1 14:27 Plex Tuner Service
            lrwxr-xr-x   1 root  wheel        17 Nov  1 14:27 Plex_Media_Server -> Plex Media Server
            drwxr-xr-x  11 root  wheel      3072 Nov  1 14:27 Resources
            -rw-r--r--   1 root  wheel   2642424 Nov  1 14:27 libavcodec.so.57
            -rw-r--r--   1 root  wheel   3618616 Nov  1 14:27 libavformat.so.57
            -rw-r--r--   1 root  wheel    400104 Nov  1 14:27 libavutil.so.55
            -rw-r--r--   1 root  wheel      6776 Nov  1 14:27 libboost_atomic.so.1.59.0
            -rw-r--r--   1 root  wheel     32672 Nov  1 14:27 libboost_chrono.so.1.59.0
            -rw-r--r--   1 root  wheel     63240 Nov  1 14:27 libboost_date_time.so.1.59.0
            -rw-r--r--   1 root  wheel    119664 Nov  1 14:27 libboost_filesystem.so.1.59.0
            -rw-r--r--   1 root  wheel    182136 Nov  1 14:27 libboost_iostreams.so.1.59.0
            -rw-r--r--   1 root  wheel    562760 Nov  1 14:27 libboost_locale.so.1.59.0
            -rw-r--r--   1 root  wheel    513328 Nov  1 14:27 libboost_program_options.so.1.59.0
            -rw-r--r--   1 root  wheel   1118408 Nov  1 14:27 libboost_regex.so.1.59.0
            -rw-r--r--   1 root  wheel     13096 Nov  1 14:27 libboost_system.so.1.59.0
            -rw-r--r--   1 root  wheel    107336 Nov  1 14:27 libboost_thread.so.1.59.0
            -rw-r--r--   1 root  wheel     17056 Nov  1 14:27 libboost_timer.so.1.59.0
            -rw-r--r--   1 root  wheel   2243016 Nov  1 14:27 libcrypto.so.1.0.0
            -rw-r--r--   1 root  wheel    330352 Nov  1 14:27 libcurl.so.7
            -rw-r--r--   1 root  wheel    235608 Nov  1 14:27 libexpat.so.6
            -rw-r--r--   1 root  wheel    103200 Nov  1 14:27 libexslt.so.8
            -rw-r--r--   1 root  wheel   3062304 Nov  1 14:27 libfreeimage.so
            -rw-r--r--   1 root  wheel     74752 Nov  1 14:27 libhdhomerun.so
            -rw-r--r--   1 root  wheel   1000544 Nov  1 14:27 libiconv.so.7
            -rw-r--r--   1 root  wheel     36072 Nov  1 14:27 liblrc.so.0
            -r--r--r--   1 root  wheel  10744880 Jul 18  2016 libmediainfo.so.0
            -rw-r--r--   1 root  wheel     44520 Nov  1 14:27 libminiupnpc.so.10
            -rw-r--r--   1 root  wheel     61328 Nov  1 14:27 libminizip.so.1
            -rw-r--r--   1 root  wheel      9000 Nov  1 14:27 libnatpmp.so.1
            -rw-r--r--   1 root  wheel   2825472 Nov  1 14:27 libopencv_core.so.2.4
            -rw-r--r--   1 root  wheel   2602016 Nov  1 14:27 libopencv_imgproc.so.2.4
            -rw-r--r--   1 root  wheel   1111912 Nov  1 14:27 libpion-5.0.so
            lrwxr-xr-x   1 root  wheel        17 Nov  1 14:27 libpython2.7.so -> libpython2.7.so.1
            -rw-r--r--   1 root  wheel   1931080 Nov  1 14:27 libpython2.7.so.1
            -rw-r--r--   1 root  wheel    948648 Nov  1 14:27 libsoci_core.so.3.0.0
            -rw-r--r--   1 root  wheel    219680 Nov  1 14:27 libsoci_sqlite3.so.3.0.0
            -rw-r--r--   1 root  wheel   1119920 Nov  1 14:27 libsqlite3.so.0
            -r--r--r--   1 root  wheel   1084032 Jul 18  2016 libsqlite3.so.8
            -rw-r--r--   1 root  wheel    443104 Nov  1 14:27 libssl.so.1.0.0
            -rw-r--r--   1 root  wheel    574112 Nov  1 14:27 libswscale.so.4
            -rw-r--r--   1 root  wheel   1866272 Nov  1 14:27 libtag.so.1
            -rw-r--r--   1 root  wheel   2110032 Nov  1 14:27 libxml2.so.9
            -rw-r--r--   1 root  wheel    348064 Nov  1 14:27 libxslt.so.2
            -rw-r--r--   1 root  wheel    128048 Nov  1 14:27 libz.so.1
            -r--r--r--   1 root  wheel    466136 Jul 18  2016 libzen.so.0
    
Sign In or Register to comment.