Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PLEX 9.7 Cache Drive & Missing Shares

Featured Replies

Hello,

After running PLEX 9.6 for 6+ months without problems I just upgraded to PLEX 9.7. But PLEX will not start despite rebooting and using /etc/rc.d/rc.plexmediaserver start.

 

Dec 3 20:34:47 Tower pms: Starting Plex...
Dec 3 20:34:47 Tower su[2234]: Successful su for unraid-plex by root
Dec 3 20:34:47 Tower su[2234]: +  root:unraid-plex
Dec 3 20:34:49 Tower pms: Check 1: Plex has NOT started yet, something is maybe wrong!
Dec 3 20:34:52 Tower pms: Check 2: Plex has NOT started yet, something is maybe wrong!
Dec 3 20:34:55 Tower pms: Check 3: Plex has NOT started yet, something is maybe wrong!
Dec 3 20:34:58 Tower pms: Check 4: Plex has NOT started yet, something is maybe wrong!
Dec 3 20:35:01 Tower pms: Check 5: Plex has NOT started yet, something is maybe wrong!
Dec 3 20:35:05 Tower su[2279]: Successful su for unraid-plex by root
Dec 3 20:35:05 Tower su[2279]: +  root:unraid-plex

 

My library and Temp directory are unchanged

/mnt/disk1/plex

/mnt/disk1/plex/tmp

 

Any thoughts?

 

*Update* I removed unMenu but same problem.

 

thanks,

ron

please check, if there is anything in the logfiles inside the plex data dir.

  • Author

I am sorry but I really do not know how to answer your question.

 

If I look here (log files): \\Tower\plex\Application Support\Plex Media Server\Logs\PMS Plugin Logs there are a zillion log files.

 

If I look here (data folder): \\Tower\plex\Application Support\Plex Media Server\Plug-in Support\Data

there are numerous plugin folders.

 

Can you give me a bit more guidance where plex data dir logfiles are?

 

thanks,

ron

sorry for the confusion. with data dir i ment the location, where your plex installation is storing its data

since there seems to be a problem with the start, look in "Application Support\Plex Media Server\Logs\Plex Media Server.log".

 

i just thought of one more thing that could have gone wrong (especially if you used the new permissions script on the unraid webgui or used an really old version of the pms plugin before)

since you have your library (data) folder n an array disk, the user-permissions could be wrong.

the library folder should be owner by the user unraid-plex

 

chown -R unraid-plex:users /mnt/disk1/plex

Not sure if you use a Mac or not but I had a similar problem with CP and I had to delete a bunch of .Appledouble files

  • Author

Hi Benni-chan,

Prior to your last post I decided to be proactive. I reformatted the flash drive and installed unRAID Server 5.0-rc8a AiO.

 

Then I installed PLEX 0.9.6.6.200 which had been working before I attempted the upgrade to 0.9.7. However, PLEX still would not start.

 

Then your post arrived.

At \\Tower\plex\Application Support\Plex Media Server\Logs is the file Plex Media Server which contains:

 

Dec 05, 2012 16:26:34 [0xb595c8e0] INFO - Plex Media Server v0.9.6.6.200-b75ecf4
Dec 05, 2012 16:26:34 [0xb595c8e0] DEBUG - Opening 10 database sessions to library, SQLite 3.7.6.2, threadsafe=1
Dec 05, 2012 16:26:34 [0xb595c8e0] ERROR - SQLITE3:bfefe648, 11, database corruption at line 49369 of [154ddbc171]
Dec 05, 2012 16:26:34 [0xb595c8e0] ERROR - SQLITE3:bfefe648, 11, database disk image is malformed

 

I assumed you wanted me to try (via PuTTY)

 

chown -R unraid-plex:users /mnt/disk1/plex

 

and I did. unRAID hung and despite a hard reboot I could not restart the array. So I reformatted the flash drive, reinstalled unRAID and now have a clean, functioning unRAID without PLEX or anything else.

 

So now I am ready to get back to a functioning PLEX (0.9.7 optimally). Perhaps using your updater http://forums.plexapp.com/index.php/topic/51827-unraid-update-plugin/page__p__321032__hl__unraid__fromsearch__1#entry321032 would be the best way to begin. However the link https://raw.github.c...plexupdater.plg takes me to an open file https://raw.github.com/Benni-chan/unraid_plugins/master/plexupdater.plg and I am not certain what to do with it. How do I get the file in a neat package for transferring to my flash drive?

 

thanks,

ron

 

thanks,

ron

i don't think, that the chown command really hang your unraid. it just takes some time.

the error message in your plex config could point toward the permission problem, but probably, your plex-database files are simply corrupt.

in that case you need to start with a fresh plex installation (delete the plex library and reconfigure and rescan all files)

 

to download any plugin, rightclick the download link and save the plg file to your flash drive into config/plugins.

reboot or run "installplg /boot/config/plugins/plexupdater.plg".

or just use the instructions from kaiguy.

 

 

i don't really know, how your plex library could have been corrupted. maybe something you did while trying to update plex. but maybe there is a problem with your drive. i'd run a smart test (search forum for more info)

  • Author

I followed the instructions posted by kaiguy and PMS Updater installed and loaded PMS. PMS remains stopped. As an aside on reboot I note that PMS updater is no longer listed in "Settings". Is this normal?

 

...probably, your plex-database files are simply corrupt.
in that case you need to start with a fresh plex installation (delete the plex library and reconfigure and rescan all files)

 

I fear you are correct. At least it does seem to be the next thing to try. But before I create trouble I want to ensure I delete correctly.

 

Do I delete the entire PLEX directory (\\Tower\plex) or a specific folder within \\Tower\plex\Application Support\Plex Media Server? Do I delete \\Tower\plex\tmp?

 

Smart Test results attached.

**UPDATE**

Changed PLEX Library over to Cache drive and everything seems to be working. I dread the metadata editing.

 

Still wondering about PLEX Updater no longer visible in "Setting". Is this expected?

 

 

thanks again,

ron

 

smart.txt

Still wondering about PLEX Updater no longer visible in "Setting". Is this expected?

 

as long as you have the plexupdater.plg on your flash drive in config/plugins, it should be reinstalled on every reboot and be visible in the settings.

 

i'm not an expert with smart logs, but your values for "Seek_Error_Rate" and "Raw_Read_Error_Rate" seems a bit high. you also have some reallocated sectors. maybe ask in the hdd subforum, if this points to an defective drive... as i said, i'm no expert, only those values look high...

also there is a warning in the smart log:

==> WARNING: There are known problems with these drives,

AND THIS FIRMWARE VERSION IS AFFECTED,

see the following Seagate web pages:

http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207931

http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207969

  • 2 weeks later...
  • Author

Perhaps this should be a new thread.

 

Following the above advice PLEX installed and ran beautifully. I reloaded my library metadata onto my cache drive, fixed a few movie posters etc. and life was good. 24 hours later it was an ugly mess. Very few remaining album covers or movie posters. PLEX won't even show my JPEG images from photos. The files are still present, movies play, music plays etc. Also, PLEX stops spontaneously now and I need to reboot unRAID. Syslog attached. Note the reboot in the first line was spontaneous and not requested by me.

syslog.txt

Dec 13 03:40:01 Tower logger: mover started
Dec 13 03:40:01 Tower logger: moving plex/
Dec 13 03:40:02 Tower logger: ./plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/Logs/
Dec 13 03:40:02 Tower logger: >f.st...... plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log
Dec 13 03:40:02 Tower logger: ./plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/Logs/PMS Plugin Logs/
Dec 13 03:40:02 Tower logger: ./plex/Application Support/Plex Media Server/Plug-ins
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/Plug-ins/
Dec 13 03:40:02 Tower logger: ./plex/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-journal
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/Plug-in Support/
Dec 13 03:40:02 Tower logger: .d..t...... plex/Application Support/Plex Media Server/Plug-in Support/Databases/
Dec 13 03:40:02 Tower logger: >f..t...... plex/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-journal

 

 

your plex folder has been moved to the array. make sure, that you set the share as cache only, so the mover will not move it from the cache drive to the array.

  • Author

Okay. Did that.

Renamed the PLEX folder (PLEX.Old) on the array so it won't be used but can't delete it from Windows. I'll try deleting via telnet later unless you think this is a bad idea.

 

The PLEX User Share has yellow dot to its left. I can't find what this means but it's probably not as good as being green. The main user share has a green dot. See attachment.

2012-12-15_18_22_41-Tower_Shares.png.b6acc8aed28003ca9feaf220b8bc0316.png

the yellow dot means, that there is data in this share, that is on the cache drive (and not saved by the parity drive)

since that share is cache only, you will always see a yellow dot there

  • Author

Good Morning,

unRAID spontaneously rebooted early this AM at 0440 which would be just after attempting to run the mover. The current log file shows numerous errors but is over 15MB. How the heck to I compress it down to 192 KB for attaching?

 

Although PLEX shows as 'Stopped" it is still functioning as far as the PLEX viewers are concerned. That is, I can't get to PMC but I can watch movies, listen to music etc via Roku.

zipping should make it a lot smaller. but probably still too big. you can use any upload-service or cloud storage like dropbox to share the file.

 

i don't really want to suggest anything, before seeing the syslog. it sounds a bit strange...

your mover is still trying to move the plex directory to your array.

make sure, the share is really set to cache only.

also there are a lot of messages, that your disk is out of space...

and because several files have again been moved from the cache drive to the array, plex could not start correctly.

  • Author

It was; however, now my share are no longer listed. If I remove the cache disk from the array they reappear. Adding the cache disk back makes the shares reappear. This happened once before and I had to preclear cache before I could successfully add it back to the array.

 

Attached is sylog since reboot.

 

syslog.txt

  • Author

1. I unmounted the cache drive and reformatted it.

2. I tracked down the portion of the plex folder the mover had moved to the array and deleted it. At this point I no longer had a share named Plex.

3. Remounted the cache drive.

4. Multiple attempts to add new share named plex with "Use cache drive Only" selected failed. No new share was created.

5. Checked Settings/ Cache Settings and decided to change min. free space to 1 GB from 10GB.

6. Shares no longer visible unless I unmount cache.

 

This is more than a little frustrating. I will clear and reformat the cache drive again but I don't know what to do with it since I was unable to create a new share. At this point my questions are:

1. What is happening and what the heck do I do now?

2. Can the mover be disabled? I am content to use the cache drive just for plex.

3. I do not know how to format a drive. I run preclear and then select format. Presumably I should not need to preclear each time.

4. What is a good sys log viewer? I open the txt file in notepad but I need better formatting. Is using unMenu the way to go?

 

Sys log in Dropbox: https://dl.dropbox.com/u/36329691/syslog-2012-12-17.txt

 

Thanks for all the help.

  • Author

**SOLVED**

Thanks to Tom (LimeTech) for his efforts.

 

I put "1 GB" in for cache drive min free space and unRAID wanted "1GB" without the space. This parsing issue is corrected in the current release

 

http://lime-technology.com/forum/index.php?topic=23924.msg218985#msg218985

 

 


I am hoping someone can provide some insight here.

 

Despite reformatting my cache drive I can only mount it once before all user share disappear. I mount it, confirm the presence of user shares, start and stop the array to get plex running and my user shares are missing.

 

So I restarted the array in maintenance mode and ran reiserfsck (I don't know if this is appropriate for a cache disk) and got the report:

 

reiserfs_open: the reiserfs superblock cannot be found on /dev/sda.

Failed to open the filesystem.

 

If the partition table has not been changed, and the partition is

valid  and  it really  contains  a reiserfs  partition,  then the

superblock  is corrupted and you need to run this utility with

--rebuild-sb.

 

My syslog is over 300 KB: https://dl.dropbox.com/u/36329691/syslog-2012-12-19

 

Any ideas would be greatly appreciated.

 

**Thread Subject Updated to Reflect Current Issues**

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.