Notes to self:
wget http://dev2day.de/plex-latest -O package.deb
dpkg -i package.deb
rm package.deb
Service wont start:
root@DietPi:~# /usr/sbin/start_pms & >/dev/null 2>&1
[1] 939
root@DietPi:~# 6 3000 /root/Library/Application Support
8192
/usr/sbin/start_pms: 29: /usr/sbin/start_pms: ./Plex Media Server: not found
The reason it does not start is that Plex requires en_US.UTF-8 to be generated on the system which DietPi does not by default.
@lwittwer
Yep, en_GB.UTF-8 is default on DietPi.
I wonder if we can just generate the en_US.UTF-8 locale, or does it require set to default on system.
A default is required, but you can switch/regenerate on the fly. I am heading into work now, but will catch up with these items around my lunch time!
Just requires to be generated. Just tested it out on my system
On Fri, May 13, 2016 at 3:48 AM -0700, "Dan" [email protected] wrote:
@lwittwer
Yep, en_GB.UTF-8 is default on DietPi.
I wonder if we can just generate the en_US.UTF-8 locale, or does it require set to default on system.
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Fourdee/DietPi/issues/116#issuecomment-219011198
@lwittwer @xenfomation
Thanks for the info :+1:
I'll mark this for v119, plex seems very popular.
Original source for package doesnt have arm64 available (https://dev2day.de/pms/ ):
W: Failed to fetch https://dev2day.de/pms/dists/jessie/InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Also seems the repo has broken dependencies and missing packages:
echo -e "deb [arch=armhf] https://dev2day.de/pms/ jessie main" > /etc/apt/sources.list.d/plex.list:
root@DietPi:~# apt-get install plexmediaserver -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
plexmediaserver : Depends: plexmediaserver-installer but it is not installable
E: Unable to correct problems, you have held broken packages.
Well, compiling is out the window. Looks like Plex server source isnt available on GitHub. So i'd assume Plex media server is not opensource.
Nor do they release or provide ARM binaries (only x86_32/64): https://plex.tv/downloads
So unless:
Plex media server will only available for the DietPi VM's.
Done v119.
Available for DietPi VM (Virtual machine) installations only.
Doc: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=1949#p1949
I'll mark this as closed. However, if myself or anyone finds a working alternative for Plex Media Server on ARM platforms, please reopen and let me know so I can implement it.
Turns out, although forcing deb [armhf] lets us try to install plexmediaserver on ARM64 using 32bit packages, this also causes the missing plexmediaserver-installer package error.
Rpi installed fine.
I'll get this added to all 32bit ARM SBC's (excluding Pine and C2)
en_US.UTF8 installed, en_GB.UTF8 is default:
root@DietPi:~# /usr/lib/plexmediaserver/start.sh
/usr/lib/plexmediaserver/start.sh: 11: /usr/lib/plexmediaserver/start.sh: ./Plex Media Server: not found
root@DietPi:~# /usr/lib/plexmediaserver/Plex\ Media\ Server
/usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory
en_US.UTF8 must be the default locale on system, not just installed. Else, service wont start. Only applies to SBC installs of Plex when using the dev2day repo.
Where as, en_GB.UTF8 (or any locale) is fine for VM install. Also en_US.UTF8 does not need to be installed.
Done, available for all DietPi devices, excluding ARM64 (Pine/C2).
https://github.com/Fourdee/DietPi/commit/8dea1682c6170720d3b304b8fc935a7c7a944720
Hi, Pine64 user here. Any hope ARM64 will be supported at some point?
Btw, for people like me still looking to install Plex Media Server, it can be done the "normal" way still, like this: https://gist.github.com/LukasBombach/2943fc2a1cb5fd4bbd1c3e6b477ce033
@LukasBombach :+1:
https://gist.github.com/LukasBombach/2943fc2a1cb5fd4bbd1c3e6b477ce033
Does the armhf binary work on your Pine A64, when running arm64/aarch64 OS uname -a?
If so, this indicates the kernel and ARM supports 32 bit execution. Then we can get PMS added for the Pine boards.
I'm not so Linux-savvy (I'm a programmer though, so you can tell me in technical terms), how would I go and try that?
@LukasBombach
how would I go and try that?
Sorry, basically, i'am asking if doing this installation results in a working Plex installation? I've not had a chance to try it myself yet :
https://gist.github.com/LukasBombach/2943fc2a1cb5fd4bbd1c3e6b477ce033
It worked for me on my Pine64 using
@LukasBombach Done, PMS will be available for Pine in v127. Many thanks for the installation code :+1:
Woop woop, awesome!
Just a heads-up. I've installed from that dev2day repo above just fine on ODROID-XU4 to DietPi. I wonder how it's handled but the current one on DietPi is a bit behind I guess.
@Ardakilic
DietPi currently uses the dev2day repo for PMS on ARM devices: https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-software#L3978-L4039
@Fourdee Oh my mistake then, totally missed that x86_64 sign :+1: