I have PMS running on Raspberry PI 2!

@noreason said:
Does anyone know why i have no /var/lib/plexmediaserver folder? The system seems to run fine but i tried to uninstall it again and it got me an error message regarding the missing var/lib/plexmediaserver… What is this folder usually used for? :-/

Please see my last post above :slight_smile:

Ah just overlooked it :slight_smile: Thanks for clarification… i just wiped my whole HDD… went for ext4 now… no more exfat for me :wink: This time everything should work… at least i hope so…

Btw: why would you want to change the PMS user to “pi”? :slight_smile: Just give “plex” the proper rights to access the data. For exfat just set the appropriate uid and gid in /etc/fstab .

Mh… too late :frowning: Just wiped my hard drive that was filled with all my media… i was sick of PMS trying to write something to my external HDD into the transcoding folder an then cause a reboot or a “media not available” message… Do you by accident have the correct input for the fstab file?

This is the one i got but it always led to errors:

UUID=596a8400-ba7d-48af-8666-fa26562710bf /media/usbdrive/ exfat utf8,nofail,uid=pi,gid=pi,noatime 0

I typically use a “media” group that I am a member of and plex is.

addgroup media → create group
gpasswd -a plex media → add plex to the group
gpasswd -a <my username> media → add myself to the group

Then I ensure the group media has write access to my data (e.g. chgrp -R media /media/usbdrive && chmod -R g+w /media/usbdrive for ext4 or the fstab line below for exfat)

UUID=596a8400-ba7d-48af-8666-fa26562710bf /media/usbdrive/ exfat utf8,nofail,uid=pi,gid=media,noatime 0

That is just an example, but it should work.

Your PMS crashes while writing to your usb drive? That is not normal :slight_smile: Your SD card is too small (say < 20GB)?

Its not crashing… i did not express myself correctly. The second it tries to remove the folder inside /media/usbdrive/Transcoding it causes hiccups. My external HDD is not reachable anymore (until i reboot)

@blindpet thanks the file only has

deb https://dev2day.de/pms/ jessie main

I think it used to have more in it but I am not sure, I haven’t made any changes to it since install.

the sources.list has

deb http://mirrordirector.raspbian.org/raspbian jessie main non-free
deb http://archive.raspberrypi.org/debian jessie main
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main
deb http://packages.unusedbytes.ca wheezy main

Thanks

@noreason said:
Its not crashing… i did not express myself correctly. The second it tries to remove the folder inside /media/usbdrive/Transcoding it causes hiccups. My external HDD is not reachable anymore (until i reboot)

Corrupt file system? Did you take a look into dmesg output? Should be fixed with ext4 :slight_smile:

@SASSBS said:
@blindpet thanks the file only has

deb https://dev2day.de/pms/ jessie main

I think it used to have more in it but I am not sure, I haven’t made any changes to it since install.

the sources.list has

Please post the output of apt-cache show plexmediaserver. Your apt entry is correct.

Ah. What is your libc6 version? I added a requirement for libc6 >= 2.19 to prepare for multiarch (easy installation of armhf PMS on arm64)

@uglymagoo thanks the details are:

@raspberrypi:~# ldd --version
ldd (Debian GLIBC 2.19-18+deb8u3) 2.19
Copyright © 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

@raspberrypi:~# apt-cache show plexmediaserver
Package: plexmediaserver
Version: 0.9.16.3.1840-cece46d-1~jessie
Depends: libc6 (>= 2.19)
Architecture: armhf
Maintainer: Jan Friedrich (uglymagoo) jft@dev2day.de
Homepage: http://www.plex.tv
Priority: extra
Section: video
Filename: pool/main/p/plexmediaserver/plexmediaserver_0.9.16.3.1840-cece46d-1~jessie_armhf.deb
Size: 87491356
SHA256: 46800037db9658fc43e1508417d30d2fb15e60a9b4b0fffc51ddcc2ba9312cb5
SHA1: d6fd2f9ba5c61fd2a5749617397e22f9f63ffdcf
MD5sum: bf39db583d6ea5e88d8103bfba829090
Description: Plex Media Server for Linux
Stream media everywhere™
Description-md5: 48b4aebd21c69b9ca2afc60278b40d7e

Package: plexmediaserver
Status: install ok installed
Priority: extra
Section: video
Maintainer: Jan Friedrich (uglymagoo) jft@dev2day.de
Architecture: armhf
Version: 0.9.15.6.1714-7be11e1-1~jessie
Conffiles:
/etc/default/plexmediaserver 9f9e2b0cc1986d114fec86f39235f459
Description: Plex Media Server for Linux
Stream media everywhere™
Description-md5: 48b4aebd21c69b9ca2afc60278b40d7e
Homepage: http://www.plex.tv

@raspberrypi:~#

@uglymagoo Is it normal, that PMS won’t automatically update its library when i change the libraries folders content? I activated “automatically update library” but since i am on ext4 it does not recognize any changes automatically

@SASSBS That is strange: your apt is aware of version 0.9.16.3 but does not install it. Please try apt-get dist-upgrade or a simple apt-get install plexmediaserver and post the error / warning if there is any.

@noreason That is not normal. Please restart PMS. Sometimes inotify is not successfully configured when a new library is added.

@uglymagoo said:
@noreason That is not normal. Please restart PMS. Sometimes inotify is not successfully configured when a new library is added.

Okay, ill try that by tomorrow. I changed the permissions of /media/usbdrive to 777. Seems to be working now :slight_smile:

@uglymagoo thanks here is the output

@raspberrypi:~# sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
@raspberrypi:~# sudo apt-get install plexmediaserver
Reading package lists… Done
Building dependency tree
Reading state information… Done
plexmediaserver is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@uglymagoo said:

@alveox said:
I try to update pms today, dev2day is running so slow… Im 9nly get 20kB/s… Is there something wrong on the server side?

Not that I am aware of. I just got 12 MB/s .

Its normal now… Weird…

Btw is it worthed to upgrade my rpi2 pms server to the new rpi3?
Did rpi3 got huge bump on transcode performance?
Or is it better for me to upgrade pms using up or other x5 z8300 processor box?

@SASSBS Just a guess: Did you use package pinning for libc6 or is there still a file like /etc/apt/preferences.d/jessie.pref on your system where you pin some packages? That is the only thing I can think of that might explain the behavior of your apt :slight_smile: Please also try to install the package with apt-get install plexmediaserver=0.9.16.3.1840-cece46d-1~jessie. This forces the installation of the new version.

@alveox said:
Btw is it worthed to upgrade my rpi2 pms server to the new rpi3?
Did rpi3 got huge bump on transcode performance?
Or is it better for me to upgrade pms using up or other x5 z8300 processor box?

No, you would not notice a significant difference. If you need transcoding get a beefy x64 processor. And you might also want to get something better than an Atom. See one of the many recommendation threads in the forum.

@uglymagoo thanks the command worked for me, I do have that file with the following:

Package: *
Pin: release n=jessie
Pin-Priority: -1

I take it there is a better option since I first installed it?

Good catch @uglymagoo

There is no better way if you are still on wheezy and want the latest version @SASSBS since newer versions of plex require a libc6 version not in the wheezy repo.

You can upgrade your Pi to jessie, do make a backup first in case it all goes pear-shaped.