Jump to content
linuxserver.io

[Support] Linuxserver.io - Plex Media Server

4012 posts in this topic Last Reply

Recommended Posts

15 hours ago, cypres0099 said:


Thanks for finding that @wgstarks

 

I used that version number but it still is not changing the version on the webui general settings page.

 


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='host' -e TZ="America/Chicago" -e HOST_OS="unRAID" -e 'PLEX_CLAIM'='claim-cpzsQgMWvkqB7uW3qnSd' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='1.13.9.5456-xxxxxxxxx' -v '/mnt/user':'/mnt/user':'rw' -v '/mnt/user/appdata/plex/Plex Media Server/':'/config':'rw' 'plexinc/pms-docker:plexpass' 
8e45b193f3fd58c00d18a675e504aa1763dd0160d9bb3e91774c8832855f723

 

You're not using the linuxserver image

Share this post


Link to post
7 hours ago, trurl said:

Do we still need to censor postings of plexpass version numbers? I know we did at one time. Let me know and I will fix these recent posts.

If it's a plexpass version I believe we still should do it. 

Share this post


Link to post
8 hours ago, saarg said:

If it's a plexpass version I believe we still should do it. 

Rather than trying to figure out which were plexpass and which weren't I just xxx them all.

Share this post


Link to post
10 hours ago, aptalca said:

You're not using the linuxserver image

 

@cypres0099 ^^^^This is true.  Since you were posting in the Linuxserver.io support forum some erroneous assumptions were made.

 

From your docker run command; 'plexinc/pms-docker:plexpass' shows you are using the Plex Inc. Plex Media Server docker and not the Linuxserver.io Plex docker. For support on the Plex Inc. official docker, you would need to ask your questions in the Plex forums.  

 

Personally, I, and many others, prefer the Linuxserver.io Plex docker and the support is better, but, obviously, you should use whatever you prefer.

Share this post


Link to post
2 hours ago, Hoopster said:

 

@cypres0099 ^^^^This is true.  Since you were posting in the Linuxserver.io support forum some erroneous assumptions were made.

 

From your docker run command; 'plexinc/pms-docker:plexpass' shows you are using the Plex Inc. Plex Media Server docker and not the Linuxserver.io Plex docker. For support on the Plex Inc. official docker, you would need to ask your questions in the Plex forums.  

 

Personally, I, and many others, prefer the Linuxserver.io Plex docker and the support is better, but, obviously, you should use whatever you prefer.


Gotcha. Thanks for the help everyone!

Share this post


Link to post

Since I cut over from a windows 10 system to unraid, using the linuxserver.io Plex image, some of my users have complained that sometimes when they try and stream to a chromecast, they have to kick it off 2 or 3 times for it to go successfully.

Any thoughts on what might be the issue, and or where I can look to find out?

Share this post


Link to post
18 minutes ago, Caldorian said:

Since I cut over from a windows 10 system to unraid, using the linuxserver.io Plex image, some of my users have complained that sometimes when they try and stream to a chromecast, they have to kick it off 2 or 3 times for it to go successfully.

Any thoughts on what might be the issue, and or where I can look to find out?

Possibly they only think it takes 2 or 3 times but it is really just a single delay due to disk spinup.

Share this post


Link to post

Hi I'm having an issue with my plex. I won't update my movies database and I don't know where to start. 

- I don't want to start from the scratch because of course that works but then I'll loose my history and settings all that. 

 

and in the logs I found this that seems where the problem is. 

 

Nov 24, 2018 08:34:25.068 [0x14c1d52d0840] DEBUG - Adding subdirectory for scanner: "/Share/Media/Movies/The Nun (2018)"
Nov 24, 2018 08:34:25.068 [0x14c1d52d0840] DEBUG - Adding subdirectory for scanner: "/Share/Media/Movies/Zootopia (2016)"
Nov 24, 2018 08:34:25.070 [0x14c1d52d0840] DEBUG - Skipping over directory '', as nothing has changed; removing 0 media items from map.
Nov 24, 2018 08:34:25.076 [0x14c1d52d0840] DEBUG -     * Scanning directory /Share/Media/Movies/Zootopia (2016) (parent: yes)
Nov 24, 2018 08:34:25.077 [0x14c1d52d0840] DEBUG - Adding file for scanner: "/Share/Media/Movies/Zootopia (2016)/Zootopia (2016) [1080p] [YTS.AG].mp4"
Nov 24, 2018 08:34:25.078 [0x14c1d52d0840] DEBUG - Directory had 1 files, database had 0 files, can't skip.
Nov 24, 2018 08:34:25.081 [0x14c1d52d0840] DEBUG -       * Scanning Zootopia (2016)
Nov 24, 2018 08:34:25.081 [0x14c1d52d0840] DEBUG - Looking for path match for [/Share/Media/Movies/Zootopia (2016)/Zootopia (2016) [1080p] [YTS.AG].mp4]
Nov 24, 2018 08:34:25.081 [0x14c1d52d0840] DEBUG - Skipping hash check, no size match for 1774867415 bytes.
Nov 24, 2018 08:34:25.081 [0x14c1d52d0840] DEBUG - No match for hash.
Nov 24, 2018 08:34:25.082 [0x14c1d52d0840] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.082 [0x14c1d52d0840] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.083 [0x14c1d52d0840] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, database corruption at line 80748 of [fc49f556e4]
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, statement aborts at 10: [DELETE FROM 'main'.'fts4_metadata_titles_segdir' WHERE level = ?] database disk image is malformed
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, statement aborts at 172: [update metadata_items set guid=?,hash=? where id=?] database disk image is malformed
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:961): sqlite3_statement_backend::loadOne: database disk image is malformed
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:3072): sqlite3_statement_backend::loadOne: database disk image is malformed
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] ERROR - Exception assimilating media item in Zootopia (2016): sqlite3_statement_backend::loadOne: database disk image is malformed
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] DEBUG -     * Scanning directory /Share/Media/Movies/The Nun (2018) (parent: yes)
Nov 24, 2018 08:34:25.086 [0x14c1d52d0840] DEBUG - Adding file for scanner: "/Share/Media/Movies/The Nun (2018)/The Nun (2018) [WEBRip] [1080p] [YTS.AM].mp4"
Nov 24, 2018 08:34:25.087 [0x14c1d52d0840] DEBUG - Directory had 1 files, database had 0 files, can't skip.
Nov 24, 2018 08:34:25.088 [0x14c1d52d0840] DEBUG -       * Scanning The Nun (2018)
Nov 24, 2018 08:34:25.088 [0x14c1d52d0840] DEBUG - Looking for path match for [/Share/Media/Movies/The Nun (2018)/The Nun (2018) [WEBRip] [1080p] [YTS.AM].mp4]
Nov 24, 2018 08:34:25.088 [0x14c1d52d0840] DEBUG - Skipping hash check, no size match for 1667406799 bytes.
Nov 24, 2018 08:34:25.088 [0x14c1d52d0840] DEBUG - No match for hash.
Nov 24, 2018 08:34:25.089 [0x14c1d52d0840] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.089 [0x14c1d52d0840] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.090 [0x14c1d52d0840] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, database corruption at line 80748 of [fc49f556e4]
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, statement aborts at 10: [DELETE FROM 'main'.'fts4_metadata_titles_segdir' WHERE level = ?] database disk image is malformed
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - SQLITE3:0x10, 11, statement aborts at 172: [update metadata_items set guid=?,hash=? where id=?] database disk image is malformed
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:961): sqlite3_statement_backend::loadOne: database disk image is malformed
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:3072): sqlite3_statement_backend::loadOne: database disk image is malformed
Nov 24, 2018 08:34:25.091 [0x14c1d52d0840] ERROR - Exception assimilating media item in The Nun (2018): sqlite3_statement_backend::loadOne: database disk image is malformed

Share this post


Link to post
23 minutes ago, gacpac said:

Hi I'm having an issue with my plex.

Have you tried the plex forums?

Share this post


Link to post
Just now, trurl said:

Have you tried the plex forums?

Yeah but they don't make sense. 

 

Now, since plex backups the database every 3 days or so. I just did this and it started working but I'm going to add a new movie and let you guys know in a moment. 

 

https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

 

you can go here in \\unraidIP\appdata\PlexMediaServer\Library\Application Support\Plex Media Server\Plug-in Support\Databases

Share this post


Link to post
4 minutes ago, trurl said:

Have you tried the plex forums?

Okay just tried and it works. Do this, 

 

1. Pick a database that you know plex was working right. 

2. Stop the docker container and then move the existing database to somewhere else just in case. 

3. the known good database, rename it to com.plexapp.plugins.library.db

 

Also look here https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

Share this post


Link to post

Hi,

 

After last  update plex docker server is unreachable.

Docker is started. I try restart docker, but no working.

 

Please help.

Share this post


Link to post
1 hour ago, Kristijan said:

Hi,

 

After last  update plex docker server is unreachable.

Docker is started. I try restart docker, but no working.

 

Please help.

 

Finger in the air: something is wrong.... 

Share this post


Link to post
1 hour ago, Kristijan said:

Hi,

 

After last  update plex docker server is unreachable.

Docker is started. I try restart docker, but no working.

 

Please help.

I'm sure someone would like to help but you haven't given us anything at all to work with. See the very first link in the Docker FAQ.

Share this post


Link to post
41 minutes ago, saarg said:

 

Finger in the air: something is wrong.... 

After last update you mean. Plex update (That I see just came today), or the docker container itself. 

 

Normally I wait for the docker to update the plex, to be on the safe side. Is that what you did?

Share this post


Link to post
2 hours ago, gacpac said:

Normally I wait for the docker to update the plex, to be on the safe side. Is that what you did?

Good question for

 

@Kristijan

 

For most dockers, you shouldn't try to update from within the application. In the case of this specific Plex docker, just restarting the docker will cause it to fetch the latest version of Plex.

Share this post


Link to post

Is anyone else having issues with "plex server is not available" from the plex settings, and newly added movies don't download meta, e.g. no cover art etc.?

 

The server is running, i can watch movies, add movies etc, but can't get to the server settings or update any meta.

Edited by jj_uk

Share this post


Link to post
1 hour ago, jj_uk said:

Is anyone else having issues with "plex server is not available" from the plex settings, and newly added movies don't download meta, e.g. no cover art etc.?

 

The server is running, i can watch movies, add movies etc, but can't get to the server settings or update any meta.

I had that on my TV which is a client. But in the website is fine. I had a problem were movies were not being added and the solution was restore database from earlier date. I put up instructions in this post like 2 days ago, chrck it out. 

Share this post


Link to post
12 hours ago, trurl said:

Good question for

 

@Kristijan

 

For most dockers, you shouldn't try to update from within the application. In the case of this specific Plex docker, just restarting the docker will cause it to fetch the latest version of Plex.

Yep, the only app that I update within the docker is nextcloud and it's because that's the only option and it's approved by the developer. 

Share this post


Link to post

My logs have this in there:

 

Quote

Traceback (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 168, in <module>


File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 148, in run
core = Framework.core.FrameworkCore(bundle_path, FRAMEWORK_DIR, config)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 130, in __init__
self._setup_storage()
File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 305, in _setup_storage
self.storage.ensure_dirs(log_dir)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/storage.py", line 132, in ensure_dirs
self.make_dirs(path)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-9d51fdfaa/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/storage.py", line 128, in make_dirs
os.makedirs(path)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 5] Input/output error: '/config/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs'
GUI: Matching 'Deepwater Horizon'
GUI: Score for '' (-1) is -1
GUI: Requesting metadata for 'Deepwater Horizon'

 

Is this what's causing the meta to fail ?

 

I can't restore the DB as I can't find a backup.

 

When i restart plex docker, I see some other errors in the log, but it scrolls past so fast i cant capture it.

 

 

 

Share this post


Link to post
40 minutes ago, jj_uk said:

My logs have this in there:

 

 

Is this what's causing the meta to fail ?

 

I can't restore the DB as I can't find a backup.

 

When i restart plex docker, I see some other errors in the log, but it scrolls past so fast i cant capture it.

 

 

 

Okay let's do this.

The location for the backups of the database is. You can notice that I just had a backup yesterday automatically

image.png.900947e3ff5a6c5e3477f53017c73a02.png

If that doesn't work. 

Take a screenshot of your configuration for the docker and delete the application. (It won't delete program data)

After that, download plex again and point it to the same location with the same configuration you took from the screen (This way it will bring the configuration back)

 

Let me know how it goes. 

Share this post


Link to post
50 minutes ago, gacpac said:

Take a screenshot of your configuration for the docker and delete the application. (It won't delete program data)

After that, download plex again and point it to the same location with the same configuration you took from the screen (This way it will bring the configuration back)

 

Let me know how it goes. 

Screenshot is a good idea just in case, but the Previous Apps feature on the Apps page will let you reinstall any of your previous apps using the same configuration you had. These "templates" are stored on flash when you install a docker and you can reuse them.

Share this post


Link to post

I restored a DB from a month ago. And also reinstalled plex.

Now i see this:

 

Quote

s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing...
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing...
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.
Starting Plex Media Server.
 

<repeated forever>

 

I'll have to dig in to my appdata auto-backups to get a DB older than that to try (from offsite storage). I'll update this once i've tried an older DB.

Edited by jj_uk

Share this post


Link to post

I'm having trouble getting DLNA to work.
The network is set to HOST (as it is by default)
I've enabled DLNA in the plex settings.
I've enabled both of the advanced network options for unauthorized access and lan for 192.168.1.0/24 (my subnet/mask for the local network)
I don't see the plex media server listed in Windows 10 Explorer, Windows Media player or any other DLNA enabled stuff.

Any suggestions?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.