Plex won't scan for new files

Server Version#: Version 1.29.1.6313
Player Version#:

I uploaded the logs. The sync button spins like it wants to search for new files, but then stops and new files movies/tv aren’t.
Plex Media Server Logs_2022-11-04_11-20-24.zip (1.6 MB)

Looks like you have a corrupt database:

Nov 04, 2022 11:19:43.912 [28575] WARN - Caught exception while scanning Movies: sqlite3_statement_backend::loadRS: database disk image is malformed

See https://support.plex.tv/articles/repair-a-corrupted-database/

Thanks, but how do I fix that on a Shield?

@ChuckPa any chance GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases will work on a shield?

It’s updating some files but not all now.

Plex Media Server Logs_2022-11-05_08-31-53.zip (1.8 MB)

You still have database corruption:
Nov 05, 2022 07:12:18.487 [9361] ERROR - [Req#1d5] Got exception from request handler: sqlite3_statement_backend::loadRS: database disk image is malformed

@dbirch

The script cannot touch an Nvidia Shield.
Google has locked up Android so tight that nothing can be done unless it’s from within an application itself.

The most which can be done:

  1. Copy the databases out (transport USB HDD)
  2. Install PMS on a supported system but don’t run PMS there (need “Plex SQLite”)
  3. Copy the DB into that system
  4. Fix
  5. Copy back to USB HDD

If I may be bold ? (IMHO - ONLY)

This is why you don’t run a media server on a set-top PLAYER box.
It’s designed as a player.

Just because PMS can be loaded on it does NOT mean PMS should be loaded.

You’re actually far better off getting a $100 PI ARMv8 to use as a Media Server in this case. Install Ubuntu Server + PMS and be done with it. The shield will still DirectPlay it and last a lot longer.

Absolutely you may be bold. I appreciate the candidness. But is the 1GB LPDDR2 SDRAM is enough to run 13-15 TB data plus 5-8 home users?

I had used pi before and was a fan. I certainly wouldn’t mind switching back over if you think it’ll handle the job.

I understand I’d have to turn transcoding off as well with that, correct?

Think about what type of media you have and what an ARMv8 can do.

ARMv8 can -

  1. Software transcode up to about 20 Mbps of 1080p
  2. Easily convert any audio (DirectStream playback)

Knowing this -

  1. If you have a AVR or passthrough Soundbar for your audio and don’t need conversion - great
  2. Shield Pro 2019 can handle all the video.

Subtitles -

  1. The shield will do subtitles with ease.

All you need the ARMv8 to do is:

  1. Index the media
  2. Download and manage the metadata
  3. Read the media and “DirectPlay” it to the shield.

All three of these tasks are easily accomplished by an ARMv8

CAUTION ADVISED when

  1. Loading the OS on the ARM
  2. Avoid a full GUI-based installation. You want the basics (e.g. something like “ubuntu server” but trimmed down even more for the Pi). I believe there are specific ARMv8 / Pi distributions which address all the restrictions.

Personally, I am a ‘big iron’ guy. If I want real media streaming, I use real CPUs :slight_smile:

Look at the specs for the Synology DS418j

Do the math.

  1. PMS will run in 1GB of RAM
  2. Look at the bandwidth requirements.
    – 8 streams at 80 Mbps == 80 Mbytes/sec reading from disk – Trivial
    – 80 Mbytes / sec → 800 Mbits/sec streaming out the 1 Gbps LAN
  • Nobody EVER starts all possible streams at the SAME INSTANT. Expect typical bandwidth usage, if all are playing 80 Mbps videos, to be about 400 Mbps sustained.
    (2/3 of the 640 Mbps video)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.