@ChuckPA said:
It sounds like @uglymagoo has a small migration bug in the installer.
o:) maybe a very small one B)
@ChuckPA said:
It sounds like @uglymagoo has a small migration bug in the installer.
o:) maybe a very small one B)
if [ ! -f /usr/lib/plexmediaserver/.migrated ]; then
# migrate this puppy :)
/usr/lib/plexmediaserver/MigratePlexConfig
touch /usr/lib/plexmediaserver/.migrated
fi
That small ? 
thanks for the feedback:
If PMS says a file is unavailable, it means it can no longer see the file but it still exists in the database (the trash hasnāt been emptied yet). Inaccessible means itās gone out to look and canāt access it
The latter is the point I am trying to make. When I am on the movie and try to look into the info tab. I see inaccessible. However login in with ssh I can see all the files and the access rights are probably more than enough.
In a further post you are saying the ownership should be Plex:plex. in my case the user that I am running on is pi. Should I chance the ownership to pi?
Thanks and sorry for nooby questions!
Unless you have changed the username PMS runs as (which you do in the override.conf file), it should be running as user plex with all files and directories under /var/lib/plexmediaserver owned by plex. This is the default configuration.
Here is the fixed 1.9.0 systemd package. It adds the missing plex group and calls systemctl daemon-reload once more at a very crucial time.
This package just hangs on the āSetting up plexmediaserver-installerā step on my pi. Had to revert back to 1.8.2 and then up to 1.8.4 again.
@asheahen said:
This package just hangs on the āSetting up plexmediaserver-installerā step on my pi. Had to revert back to 1.8.2 and then up to 1.8.4 again.
It changes the group of any file in /var/lib/plexmediaserver from nogroup to plex. So this might take a while on an SD card. Just be patient.
ok, will try again - I feel like I waited about 10 mins though - does that seem right?
@asheahen said:
ok, will try again - I feel like I waited about 10 mins though - does that seem right?
Hm. 10 minutes is a lot, but it all depends on the size of your library and the performance of your sd card. Can you please take a look at the files / directories in /var/lib/plexmediaserver and check if some now have the group plex while others still have the group nogroup?
During package upgrade, can you please also take a look at htop or ps aux to see which process in the installer script causes the lockup? If it is adduser, addgroup or usermod everything is fine.
Strange⦠I rebooted before the second attempt at the 1.9 upgrade and this time the āhang timeā was only about 15 seconds then it finished normally. I rebooted again and everything seems to be working properly on 1.9.
In /var/lib/plexmediaserver/Library/Application Support/Plex Media Server there are 6 directories that are still in the āno groupā group (Crash Reports, Logs, Media, Metadata, Plug-ins, and Thumbnails) and 7 directories/files that are now in the āplexā group (Cache, Codecs, plexmediaserver.pid, Plug-in Support, Preferences.xml, Scanners, and Updates).
Is that an issue? Everything seems to be working ok.
going down a bit in the directory structure, under /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata I have Albums in ānogroupā while Artists, Movies, and TV Shows directories are in the āplexā group
@asheahen said:
Strange⦠I rebooted before the second attempt at the 1.9 upgrade and this time the āhang timeā was only about 15 seconds then it finished normally. I rebooted again and everything seems to be working properly on 1.9.
Thatās because the primary group of user plex is now already plex and the migration is not started again.
In
/var/lib/plexmediaserver/Library/Application Support/Plex Media Serverthere are 6 directories that are still in the āno groupā group (Crash Reports, Logs, Media, Metadata, Plug-ins, and Thumbnails) and 7 directories/files that are now in the āplexā group (Cache, Codecs, plexmediaserver.pid, Plug-in Support, Preferences.xml, Scanners, and Updates).
My theory was right, I suppose. You stopped the change group process before it was finished. However, I believe it is not relevant for a correct PMS atm. You can finish the job at any time with sudo chgrp -R plex /var/lib/plexmediaserver.
If I may add?
sudo chgrp -R plex /var/lib/plexmediaserver & (put it in the background and forget it)
Got it - makes sense that I borked the group changes by terminating the install process early. I guess with a large library itās just going to take a whileā¦
Thanks!
can anyone enlighten whats the difference between old builds vs recent build with systemd? i got an old builds with rpi2 and rpi3 and im planning to update them with latest plex build. thanks in advance for the explanation.
@esmarq said:
can anyone enlighten whats the difference between old builds vs recent build with systemd? i got an old builds with rpi2 and rpi3 and im planning to update them with latest plex build. thanks in advance for the explanation.
I just added support for the systemd process manager. Thus, my package is now in line with the official Plex packages and tutorials => future proof and better support. Non-systemd support is still included in the package, so there wonāt be a non-systemd package. I use this beta forum and the Plex beta releases here to fix all the bugs
The next public release will also include the systemd support.
So folks, I just pushed the public 1.9.1 to my repo. Thanks again for all brave testers here, you were a great help and I know I caused some trouble for some of you. Sorry for that :#
Thanks for all your hard work!
Hey so I just pulled down 1.9.1. I updated and then I attempted to launch the media server. I keep getting the āSafari canāt connectā message. I can ssh into the pi from my MacBook and ping it, so itās not that it canāt connect. I can even connect to my PlexPy monitor, but it displays a message that it canāt connect to the Plex Server.
Running āsudo service plexmediaserver statusā displays the following:
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
āāoverride.conf
Active: active (running) since Wed 2017-09-20 23:15:48 EDT; 25min ago
Process: 1202 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: 1206 (sh)
CGroup: /system.slice/plexmediaserver.service
āā1206 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver ā/usr/lib/plexmediaserver/Plex Media Serverā
āā1207 /usr/lib/plexmediaserver/Plex Media Server
Sep 20 23:15:48 raspberrypi systemd[1]: Started Plex Media Server for Linux.
Thoughts on why it shows itās running but I canāt even connect at all from my MacBook?
MacOS isnāt my thing but if you just upgraded to 11 try firefox. A number of folks are reporting issues with MacOS 11 and iOS 11 . Apple changed a policy on something for 11 and itās causing issues weāre trying to figure out.