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!

"Media not found." Error after update.

kk61vokk61vo Posts: 12Members ✭✭

Hello

I have updated from Ubuntu 14.04 to 15.10. At first I even did not see my Server but then after reinstalling Plex it came back. Clean install is not really an option for me, I have many more thing like my VPN and Apache web server running on my server that all work fine. Just ran into big problems with Plex. Also, I Think if I made a new Plex Library and added everything they would work but I would really not like to do that because I have a huge library.

Right now the issues I have are that Plex does not autostart on Ubuntu boot and also I only can see movies / shows that are on recently added list or Watching list. If I open a category from the left like Movies or TV then I see the Shows and Movies but when I click on any of them I get:

Media not found. The media you're trying to access doesn't seem to exist.

When I do: sudo service plexmediaserver restart

I get: Job for plexmediaserver.service failed because the control process exited with error code. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.

Then I ran: systemctl status plexmediaserver.service

I get:

ment@server:~$ systemctl status plexmediaserver.service -l
● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/etc/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit) since Thu 2016-02-18 08:41:06 EET; 19min ago

Feb 18 08:41:01 server systemd[1]: Failed to start Plex Media Server for Linux.
Feb 18 08:41:01 server systemd[1]: plexmediaserver.service: Unit entered failed state.
Feb 18 08:41:01 server systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Feb 18 08:41:06 server systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Feb 18 08:41:06 server systemd[1]: Stopped Plex Media Server for Linux.
Feb 18 08:41:06 server systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Feb 18 08:41:06 server systemd[1]: Failed to start Plex Media Server for Linux.
Feb 18 08:41:06 server systemd[1]: plexmediaserver.service: Unit entered failed state.
Feb 18 08:41:06 server systemd[1]: plexmediaserver.service: Failed with result 'start-limit'.
Feb 18 08:46:22 server systemd[1]: [/etc/systemd/system/plexmediaserver.service:14] Invalid escape sequences in command line: "/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server'"

I really dont know what to do next. Any help would be greatly appreciated.

Answers

  • kk61vokk61vo Posts: 12Members ✭✭

    UPDATE:

    So now I have managed to get some things working, startup works.

    What I did was that:
    sudo nano /etc/systemd/system/plexmediaserver.service

    There I changed the APPLICATION SUPPORT DIR location to that of my Library really is.

    Other thing I did was that I changed the Preferences.xml file so that the new one would be exactly the same as the old one.

    Now, when I reboot, the correct Plex Media Server is autoloaded and running, but I can still see only files that are Recently added or On Deck. If I click on any of the subcategorys on the left and go from there, then I cant open any of the shows except the ones that are also "On Deck" or "Recently Added". These work from there also.

    I think I have all the correct premissions set and everything done but I still get:

    Media not found.
    
    The media you're trying to access doesn't seem to exist.
    
  • badrobotbadrobot Posts: 21Members, Plex Pass Plex Pass

    Interesting I get, and plex is running under a separate id. Are you sure it has write access to all of the paths that it needs?

    badrobot@deathstar:~$ sudo systemctl status plexmediaserver.service -l
    ● plexmediaserver.service - Plex Media Server for Linux
    Loaded: loaded (/etc/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
    Active: active (running) since Wed 2016-02-17 06:32:41 EST; 1 day 10h ago
    Process: 934 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
    Main PID: 950 (sh)
    CGroup: /system.slice/plexmediaserver.service
    ├─ 950 /bin/sh -c /usr/lib/plexmediaserver/Plex\ Media\ Server
    ├─ 955 /usr/lib/plexmediaserver/Plex Media Server
    ├─ 1384 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f46e7e6/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.15.3.1674-f46e7e6 /usr/lib/plexmediaserver/Resources/Plug-ins-f46e7e6/System.bundle
    ├─15700 /usr/lib/plexmediaserver/Resources/Plex New Transcoder -ss 675 -i /media/Library_II/My TV/Shameless (US)/Season 06/Shameless (US) - S06E06 - NSFW HDTV-1080p.mkv -filter_complex [0:0]scale=w=min(1280\,iw):h=min(720\,ih):force_original_aspect_ratio=decrease[0] -map [0] -metadata:s:0 language=eng -codec:0 libx264 -crf:0 20 -pix_fmt:0 yuv420p -maxrate:0 2000k -bufsize:0 4000k -preset:0 veryfast -level:0 4.2 -x264opts cabac=0:8x8dct=1:bframes=0:subme=1:me_range=4:rc_lookahead=10:me=hex:8x8dct=0:partitions=none:cabac=0 -force_key_frames:0 expr:gte(t,675+n_forced*3) -map 0:1 -codec:1 aac -strict:1 experimental -cutoff:1 15000 -channel_layout:1 stereo -b:1 193k -segment_format mpegts -f segment -flags -global_header -segment_time 3 -segment_start_number 225 -segment_copyts 1 -segment_time_delta 0.0625 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 media-%05d.ts -start_at_zero -copyts -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/7906b0bec791668b-com-plexapp-android/progress
    └─17125 /usr/lib/plexmediaserver/Resources/Plex New Transcoder -i /media/Library/Lossless/twenty one pilots/Vessel/05 - Car Radio.flac -map 0:0 -codec:0 libmp3lame -channel_layout:0 stereo -q:0 0 -f mp3 -map_metadata -1 - -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/AEC9A25D-10FC-4A47-B84A-87D2ECF63AB3/progress

  • badrobotbadrobot Posts: 21Members, Plex Pass Plex Pass

    Rest of the configuration shows as follows

  • badrobotbadrobot Posts: 21Members, Plex Pass Plex Pass
  • kk61vokk61vo Posts: 12Members ✭✭

    If i had problem with premissions then the "On Deck" and "Recently Added" items shouldnt work either, but they do. They are in the same location as the rest of my media.

  • kk61vokk61vo Posts: 12Members ✭✭
    edited February 2016

    SOLVED: So I found a solution to my problem. It turned out that in the Plex Media Server.log file there was an ERROR:
    Feb 19, 2016 15:35:18 [0x7fa42dbfc700] ERROR - SQLITE3:0x10, 11, database corruption at line 67420 of [8a8ffc862e]
    I got a automated backup file and replaced my db and everything works great now!

    ****LINK TO DB REPAIR GUIDE!****

Sign In or Register to comment.