I have PMS running on Raspberry PI 2!

@fabianovsantos said:
As a feedback, i also tried the new package in your last post (from apt). Installed ok, no problem with /tmp size. But after add 2 libraries, in the third, i got “your changes could not be saved” (something like this, because i’m using pt-BR language). After this, i got “the server bananapi is unavailable”.

Another thing, i saw all processes running as root user, not as plex user as it used to be.

Most likely your /etc/default/plexmediaserver settings are broken or missing. The default file should look like this:

# default script for Plex Media Server

# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
 
# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000
 
# where the mediaserver should store the transcodes
PLEX_MEDIA_SERVER_TMPDIR=/tmp

# uncomment to set it to something else
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=plex

Also, did you revert your tmpfs changes? This might be crucial for your system (ramdisk?).

Hi,
I’ve the latest plexmediaserver 0.9.16.4 on raspberry pi2 but transcoder don’t work.
I overwrite it with Plex New Transcoder from 0.9.14.6 .
Is there any news about it?

Yes, i changed tmp partition size from command line (mount) so it is gone at the first reboot.

This is driving me crazy… Your .deb package provided here works fine, but apt packages crashes.
Adding, editing and excluding libraries make Plex Media Server process crash sometimes.

Forget the above post. Just crashed here with .deb package also. I will reinstall armbian in next weekend and try again.

thanks!

@mag-data said:
Hi,
I’ve the latest plexmediaserver 0.9.16.4 on raspberry pi2 but transcoder don’t work.
I overwrite it with Plex New Transcoder from 0.9.14.6 .
Is there any news about it?

If I remember correctly, 0.9.14.6 was the last release that did not check the free space in the Transcoder temporary directory. So this might be your problem with more recent releases. Enable debug logging and check for transcoder messages.

Plex.tv: “The directory used (whether default or not) needs sufficient free space, roughly equal to the size of the source file of the transcode plus 100MB.”

Hi,

I’m trying to download and update my Plex to the latest version > https://dev2day.de/pms/pool/main/p/plexmediaserver/plexmediaserver_0.9.16.4.1911-ee6e505-2~jessie_all.deb

But the file size is only 1KB. Can this be checked out please?

Thanks!

@fabianovsantos said:
Forget the above post. Just crashed here with .deb package also. I will reinstall armbian in next weekend and try again.

thanks!

As far as I know, there are no problems with raspbian and bananian and I would not expect a broken glibc in armbian (only dependency). What exactly do you mean with “crashed”? Is there same information about a segmentation fault or so in your dmesg log? Please check your Plex debug log and post relevant entries.

@JonnyRamboo said:
Hi,

I’m trying to download and update my Plex to the latest version > https://dev2day.de/pms/pool/main/p/plexmediaserver/plexmediaserver_0.9.16.4.1911-ee6e505-2~jessie_all.deb

But the file size is only 1KB. Can this be checked out please?

Thanks!

That’s correct. Please check the previous page.

Doh! sorry got it now…I missed it. :)>-

@uglymagoo said:

As far as I know, there are no problems with raspbian and bananian and I would not expect a broken glibc in armbian (only dependency). What exactly do you mean with “crashed”? Is there same information about a segmentation fault or so in your dmesg log? Please check your Plex debug log and post relevant entries.

Crashed, the process “Plex Media Server” is “killed”, Plex plugins process still running. I verified the Log folder, Plex Media Server.log, and and is like it was just killed. No information about what happened, just common log info. The “Crash Reports” folder creates a .dmp file (i don’t know how to see info in dump files), that go away if i restart plex. Nothing in dmesg. :frowning:

@uglymagoo said:
If I remember correctly, 0.9.14.6 was the last release that did not check the free space in the Transcoder temporary directory. So this might be your problem with more recent releases. Enable debug logging and check for transcoder messages.

I have this very same problem. How check the free space in the Transcoder temporary directory?

@ArS df -h shows the free space on your devices. If you never changed the transcoder settings PMS uses /tmp as far as I know. Here in my example you can see /tmp is stored on the SD-card and so there are 24 GB left which is enough for me. Point PMS to your USB drive if your root (or tmp) filesystem is too small.

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        30G  4.7G   24G  17% /
devtmpfs        486M     0  486M   0% /dev
tmpfs           486M  4.0K  486M   1% /dev/shm
tmpfs           486M  6.9M  479M   2% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           486M     0  486M   0% /sys/fs/cgroup
tmpfs            98M     0   98M   0% /run/user/1000

If I remember correctly, 0.9.14.6 was the last release that did not check the free space in the Transcoder temporary directory. So this might be your problem with more recent releases. Enable debug logging and check for transcoder messages.

Plex.tv: “The directory used (whether default or not) needs sufficient free space, roughly equal to the size of the source file of the transcode plus 100MB.”

This is my free space on raspberry

File system Dim. Usati Dispon. Uso% Montato su
/dev/root 29G 14G 14G 50% /
devtmpfs 483M 0 483M 0% /dev
tmpfs 487M 4,0K 487M 1% /dev/shm
tmpfs 487M 50M 437M 11% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 487M 0 487M 0% /sys/fs/cgroup
tmpfs 1,0G 4,0K 1,0G 1% /media/ramdisk
/dev/mmcblk0p1 56M 20M 37M 36% /boot
/dev/sda1 3,6T 1,7T 1,8T 49% /media/usb
tmpfs 98M 0 98M 0% /run/user/0
tmpfs 98M 0 98M 0% /run/user/1000

I try to debug , thank you

I can’t install it due to low free space. Where this package is installed?

Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 7.3G 2.7G 4.3G 39% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 418M 4.0K 418M 1% /dev tmpfs 424M 48K 424M 1% /tmp tmpfs 85M 4.7M 80M 6% /run none 5.0M 0 5.0M 0% /run/lock none 424M 4.0K 424M 1% /run/shm none 100M 0 100M 0% /run/user /dev/mmcblk0p1 32M 27M 5.0M 85% /media/boot /dev/sda1 1.8T 1.3T 465G 74% /mnt/hdd

Thanks!

@WaPeR said:
I can’t install it due to low free space. Where this package is installed?

The installer package requires 115 MB in /tmp to store the temporary Synology package and 253 MB in /usr. Your system should be fine. Please post the exact error output.

I’ve tried also with optimize option and don’t work, I try with many files but same error:

Apr 15, 2016 15:51:59 [0x677ff400] VERBOSE - Sufficient disk space: 6148162777 bytes source file, 3937871601664 bytes capacity, 1932238344192 bytes available on /media/usb/nas/Film/Plex Versions/Optimized for Mobile

Apr 15, 2016 15:52:03 [0x677ff400] ERROR - Error seeking in file to offset -65536 - 22

First of all I’d like to thank uglymagoo a lot, you really did a great job with repackaging for ARM! I really appreciate your work a lot.
I’ve actually got the same problem with the transcoder as described in detail here.
I hope there’ll be someone who is able/has time to fix the problem, I’d love to hear that. If you need someone (I’m not a good or something, but know my way around linux a little) for testing something, fell free to contact me!

everybody have a great day!
udogehrke

According to the “NAS Compatibility Guide”, Netgear ARMv7 devices are capable of transcoding. I can confirm transcoding is enabled out of the box in the web frontend (no javascript hack required), but crashes some minutes into the stream on my Banana Pi with 1080p h264 mkvs. So I really do not recommend transcoding on your ARMv7 / ARMv8 device. Nevertheless, if you really want to try transcoding (@mag-data and @udogehrke ) you are invited to try the Netgear Build :slight_smile: I had no problems with XVID in the web frontend.

However, I will be away over the weekend :slight_smile: So, all of you brave testers should know how to get back to the Synology build if something goes wrong.

@uglymagoo said:
Nevertheless, if you really want to try transcoding (@mag-data and @udogehrke ) you are invited to try the Netgear Build :slight_smile: I had no problems with XVID in the web frontend.

However, I will be away over the weekend :slight_smile: So, all of you brave testers should know how to get back to the Synology build if something goes wrong.

I can see xvid without problem, the error is when I run for create an optimize version, it is strange because transcode work perfectly on live web or on chromecast or on ipad app.
I’m interested in optimized version so I can store on my ipad some video.

Thank @uglymagoo for your great work.

@uglymagoo said:
Now something completely different: the plexmediaserver-installer package :slight_smile: The package bundles only the Debian maintainer scripts and not much more. During postinst the package retrieves the PMS binaries from plex.tv and copies them to /usr/lib/plexmediaserver.

@uglymagoo : maybe a stupid question, but can you explain what are the advantages of using this plexmediaserver-installer instead of your old package?
@all: i am currently running the 0.9.16.x old package from uglymagoo and I had to replace the “Plex New Transcoder” package with the one coming from the 0.9.14.x version since with the latest one I got an error when playing the videos with Chromecast from an iOS device.
Did anyone try the new plexmediaserver-installer package in such configuration (playing video with Chromecast from an iOS device) and can confirm that it works fine?

Thanks!