rhinoman Posted June 4 Share Posted June 4 32 minutes ago, binhex said: When you say maintenance mode, what exactly do you mean? is there a message on the plex web ui telling you its in maintenance mode?. Yes this one:- Quote This XML file does not appear to have any style information associated with it. The document tree is shown below. <Response code="503" title="Maintenance" status="Plex Media Server is currently running database migrations."/> Quote Link to comment
GastonMT Posted June 4 Share Posted June 4 On 6/2/2024 at 12:38 AM, GastonMT said: I've been having a strange situation today. Anytime plex scans my tv shows library plex begins detecting intros and video chapter thumbnails etc for the same few tv shows that its already done this for before. I'm confused as to why this would be occurring. any ideas/tips or points in the right direction would be great. Thanks Been a few days now and this is continuing to happen. Anyone have any idea as to why? It's not a huge deal but it is fairly annoying. Quote Link to comment
binhex Posted June 5 Author Share Posted June 5 19 hours ago, rhinoman said: Any guesstimate to how long I should expect it to take or any way to check its progress? I would say if it takes longer than 2 hours then its probably stuck and won't finish, i see you have had this running since Saturday so i would def think its not going to finish, or at least it won't report its finished, try a restart of the container and keep your fingers crossed for no database corruption, that's about all you can do at this point. Quote Link to comment
rhinoman Posted June 5 Share Posted June 5 Strangely the exact same message after a restart? Quote Link to comment
binhex Posted June 5 Author Share Posted June 5 21 minutes ago, rhinoman said: Strangely the exact same message after a restart? Well its possible the migration hadn't finished and thus plex is having another go at migrating the database, you can check the plex log, it may give you more info as to what is going on, its located at /config/Plex Media Server/Logs/Plex Media Server.log Quote Link to comment
rhinoman Posted June 5 Share Posted June 5 2 hours ago, binhex said: Well its possible the migration hadn't finished and thus plex is having another go at migrating the database, you can check the plex log, it may give you more info as to what is going on, its located at /config/Plex Media Server/Logs/Plex Media Server.log Thanks for replying, I think you are right, last line in the log says: INFO - Analyzing database. I'll be patient. Plex Media Server.log Quote Link to comment
binhex Posted June 5 Author Share Posted June 5 5 minutes ago, rhinoman said: I'll be patient. Def be patient, but if it does take more than a few hours and you see no progress in the log then it maybe stuck again, fingers crossed it will go through for ya. Quote Link to comment
spotme Posted June 6 Share Posted June 6 (edited) On 6/4/2024 at 11:14 AM, rhinoman said: Yes this one:- This is the error/message that is displayed in the plex web interface while the docker logs are continuously looping the drive full error every few seconds that others are reporting. I too had this problem, and noticed I also had my trans_dir set to /dev/shm. After changing that to the default value of "/config/transcode" (to at least test it), the 1.40.3 versions now work, and plex starts properly. I am betting that in version 1.40.3 plex added a space check or something for the transcoding directory with some new minimum that is greater than 64MB. Adding the proper config binhex mentioned earlier in this thread (pointing trans_dir to /transcode, and adding a /transcode mapping to /dev/shm), plex now works properly again using the 1.40.3 versions. Edited June 6 by spotme 1 Quote Link to comment
Maitresinh Posted June 6 Share Posted June 6 I started to had problem this plex server this morning ("not enough memory"). I've tried to update it, and it seems to work. But the option to ugrade still appear. Now, i cannot even starte/restart, nor remove the app and the docker image. Not even opening the logs. No errors found apart from that... Quote Link to comment
Maitresinh Posted June 6 Share Posted June 6 I could not install and other plex server docker run -d --name='Plex-Media-Server' --net='host' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e HOST_HOSTNAME="NAS" -e HOST_CONTAINERNAME="Plex-Media-Server" -e 'PLEX_CLAIM'='Insert Token from https://plex.tv/claim' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/appdata/binhex-plex/transcode/':'/transcode':'rw' -v '/mnt/user/data/media/':'/data':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' Unable to find image 'plexinc/pms-docker:latest' locally docker: Error response from daemon: error creating temporary lease: unknown service containerd.services.leases.v1.Leases: not implemented. See 'docker run --help'. Quote Link to comment
Maitresinh Posted June 6 Share Posted June 6 ok, now i have an error 403 on all apps. Log says: Jun 6 04:51:25 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:27 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:28 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:29 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:30 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:31 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:32 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:33 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:34 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:35 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:36 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:37 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:38 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:39 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:40 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:41 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:42 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:43 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Jun 6 04:51:44 NAS emhttpd: error: get_key_info, 600: Invalid argument (22): stat: /boot/config/Trial.key Quote Link to comment
DaVan Posted June 6 Share Posted June 6 I belive i have been hit by the same issue as some of the other user. Updated the plugin earlier today and when trying to access my plex notices it is not running and reboot the plugin. Now the local url displays server running database migration. Plugin log shows database is in readonly mode Server log attached. How F...ed am i? Plex Media Server.log Quote Link to comment
Garlic Posted June 7 Share Posted June 7 (edited) I've been experiencing some weirdness with Plex recently. I added new TV shows episode and now that whole season will not work I get an error trying play any episode from that season. Can't delete the season from within Plex and removing the season from the hard drive it's still on Plex. Now Plex isn't scanning and adding new shows. Do I need to run the database script thing? NVM. Figured it out, Running the repair script fixed it. Edited June 7 by Garlic Fixed the issue. Quote Link to comment
binhex Posted June 7 Author Share Posted June 7 15 hours ago, DaVan said: I belive i have been hit by the same issue as some of the other user. Updated the plugin earlier today and when trying to access my plex notices it is not running and reboot the plugin. Now the local url displays server running database migration. Plugin log shows database is in readonly mode Server log attached. How F...ed am i? Plex Media Server.log 6.72 kB · 3 downloads from your log:- attempt to write a readonly database so either the database is corrupt or your permissions are screwed up, start with looking at permissions first. Quote Link to comment
DaVan Posted June 7 Share Posted June 7 42 minutes ago, binhex said: from your log:- attempt to write a readonly database so either the database is corrupt or your permissions are screwed up, start with looking at permissions first. Thanks for the reply. I removed the perms.txt and let it reset all permission, after this logs look bettet, an i guess database migration has resumed? Plex Media Server.log Quote Link to comment
DaVan Posted June 7 Share Posted June 7 25 minutes ago, DaVan said: Thanks for the reply. I removed the perms.txt and let it reset all permission, after this logs look bettet, an i guess database migration has resumed? Plex Media Server.log 18.94 kB · 0 downloads And now server is back. - Thanks for the massive effort it must be to maintain all these plugins. 1 Quote Link to comment
stevenxl Posted June 7 Share Posted June 7 Hello everyone. I am trying to set up Live TV on Plex. The source of the TV Streams is an IPTV, so I downloaded and set up xTeVe. I am able to watch the channels fine, but when adding a "Tuner" that is really the xTeVe server, I was unable to load the EPG / XMLTV file into Plex. (I was able to load it into xTeVe, so I wonder why I have to load it into both apps, but I digress). Where should the file live in Plex so that it can be found? Quote Link to comment
stevenxl Posted June 7 Share Posted June 7 It turns out that I can load an HTTP file: https://support.plex.tv/articles/using-an-xmltv-guide/ I just uploaded the guide to somewhere publicly accessible and pointed Plex to that. Worked extremely well! Quote Link to comment
rhinoman Posted June 12 Share Posted June 12 Still struggling with the last update and it not managing the migration properly, logs suggest a corrupted database now. Could someone confirm the best/easiest route to move forward? Plex Media Server.log Quote Link to comment
binhex Posted June 12 Author Share Posted June 12 4 minutes ago, rhinoman said: Still struggling with the last update and it not managing the migration properly, logs suggest a corrupted database now. Could someone confirm the best/easiest route to move forward? Plex Media Server.log 6.4 kB · 0 downloads Yep confirmed, from your log:- Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed See Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Quote Link to comment
rhinoman Posted June 12 Share Posted June 12 20 minutes ago, binhex said: Yep confirmed, from your log:- Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed See Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Thanks so much for your continued help, rolled back the db and this time it's completed and up. Top man. 1 Quote Link to comment
ACharmedMatrix Posted June 18 Share Posted June 18 Coming back to this on my issue. Turns out I had a corrupted database, but it was not corrupted beyond being used so my Plex kept chugging along without me realizing it. However, the latest version of Plex requires a database conversion that was failing due to this corruption which did make it a showstopper for me. I was able to repair the database using ChuckPa's repair tool and am now back to running latest. Quote Link to comment
Rex099 Posted June 26 Share Posted June 26 (edited) Anyone recently had issue with HW transcoding? (Via GPU, Quadro P2000, also tried Quadro M2000 same result) Not sure what changed, but recently whenever I have HW transcoding enabled and the transcoing attempts My log gets flooded with [Req#115b/Transcode] Denying access due to session lacking permission to transcode key /library/metadata/192259 Then after a few seconds the client session dies with An unknown error occurred (4294967283) Error code: 4294967283 Software transcoding works fine with no issues. For info transcoding to RAM /tmp/plex I've tried changing it back to disk just to check but same results. Edited June 26 by Rex099 Quote Link to comment
T_Matz Posted June 26 Share Posted June 26 (edited) Wanted to follow up. I am still getting a memory leak through the Plexpass docker. It requires me to restart the docker periodically to fix. Yesterday my plex docker was using 22 GB of RAM even though nobody was using plex at the time. I do have my docker using RAM as the transcode directory and i do see the docker use more RAM as it transcodes a movie/tvshow but it doesn't seem to release the memory back when the stream stops. It just slowly keeps growing. There is nothing in the logs to show any warnings or errors so I didn't include any logs in this post but did attach my docker config. Is there anything I can do to help this or just keep restarting the docker periodically? Edited June 27 by T_Matz Quote Link to comment
dustinyo Posted June 28 Share Posted June 28 (edited) Edit: I think I found the info I needed actually https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Edit 2: Ok, well I'm still having issues here, so specifically, I cannot get Plex to use my Arc A380 to transcode. I've passed /dev/dri as a device, I'm on the beta UnRaid 7.0 release, and I have the latest Intel GPU TOP installed (from 6/27). Plex settings show the 380 as an option to transcode, but it just will not use it when I actually transcode. Does this work with Intel Arc? This is possibly a very dumb question, and it may have already been answered before so I apologize in advance. For the transcode folder, the Docker config has it as a variable rather than a path. So would this mean I do not need to specify a temporary transcode folder in the Plex transcoder settings? Should I leave this blank or should I fill it in with /config/transcode to match the Docker config? Edited June 29 by dustinyo Quote Link to comment
Recommended Posts
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.