[SOLVED] Difficulty with plexmediaserver SlackBuild
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bash-4.3# ./plexmediaserver.SlackBuild
ar: /home/walter/Downloads/plexmediaserver/plexmediaserver_1.4.2.3400-ab906953b_i386.deb: No such file or directory
I have an AMD86
Code:
bash-4.3# uname -a
Linux fir 4.4.14-smp #2 SMP Fri Jun 24 14:44:24 CDT 2016 i686 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux
Why is it looking for an i386 .deb file?
Also, when I click on the .deb file links, the files do not download, I have to right-click and chose save download.
And the SlackBuild tarball does not contain the download. The download link is stored in the .info file. Once you extract the SlackBuild tarball, you need to cd into that directory and then download the source before running the SlackBuild. You can do this easily using the following:
Code:
source *.info
wget $DOWNLOAD
NOTE: If it is a precompiled package and not source, you may need to download the 64bit verison using wget $DOWNLOAD_x86_64 instead of $DOWNLOAD.
If I go to that URL, I cannot download plexmediaserver_1.4.2; instead I can download plexmediaserver_1.5.5
Should I download the 1.5.5?
Now I get this:
Code:
# ./plexmediaserver.SlackBuild
ar: /home/walter/Downloads/plexmediaserver/plexmediaserver_1.4.2.3400-ab906953b_amd64.deb: No such file or directory
I downloaded this:
plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
But I am not sure what to do with it.
I tried using a utility called deb2tgz. After converting the .deb, I tried using installpkg. It installed, with a warning, but I cannot run plexmeidaserver.
Code:
# ./deb2tgz plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
# installpkg plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz
Verifying package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz.
Installing package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz:
PACKAGE DESCRIPTION:
WARNING: Package has not been created with 'makepkg'
Package plexmediaserver_1.5.5.3634-995f1dead_amd64.tgz installed.
Last edited by walterbyrd; 04-16-2017 at 02:51 PM.
SlackBuilds.org scripts do not always try to keep up with the latest version of software, often for good reason. Is there a reason you must have version 1.5.5? If not, enter the link from the .info file in your browser and it will download the version that the SlackBuild is designed for.
Last edited by montagdude; 04-16-2017 at 03:32 PM.
What happens if you run the commands I provided (although, I didn't realize it had a 64bit version, so it'd amended for that)? If you don't get the download, can you paste the output here?
Code:
source *.info
wget $DOWNLOAD_x86_64
NOTE: this is from within the directory you extracted from the tarball.
The SlackBuilds from slackbuilds.org will not download the source for you (although, some projects do offer that). You are required to download the source yourself or use a tool like sbopkg that will do it for you more automagically. And yes, the SlackBuild will look for the "source", or in this case the .deb file, in the same directory the SlackBuild is in (make sure you're in that directory when you run it too).
As for the systemd folder, it is likely something provided automatically by the plex people. This way they can support more platforms without a ton of extra work. The file can be safely ignored. It won't be used on Slackware.
Get the message "This XML file does not appear to have any style information associated with it. The document tree is shown below." with a bunch of XML gibberish.
Did you add the plex user and group that was mentioned on the README on SBo?
Code:
Plex Media Server runs as plex:plex (UID/GID 279) with its $HOME as
/var/lib/plexmediaserver:
# groupadd -g 279 plex
# useradd -u 279 -d /var/lib/plexmediaserver -s /bin/false -g plex plex
Once that is done, you should be able to set everything up using the following text. If that doesn't work, I'd suggest contacting the maintainer as I've never used plex (a kodi man myself).
Code:
After installing, grab an account from https://my.plexapp.com/ and visit
http://localhost:32400/manage to configure your server.
The SlackBuilds from slackbuilds.org will not download the source for you (although, some projects do offer that). You are required to download the source yourself or use a tool like sbopkg that will do it for you more automagically. And yes, the SlackBuild will look for the "source", or in this case the .deb file, in the same directory the SlackBuild is in (make sure you're in that directory when you run it too).
As for the systemd folder, it is likely something provided automatically by the plex people. This way they can support more platforms without a ton of extra work. The file can be safely ignored. It won't be used on Slackware.
man I hope this box of bugs NEVER MAKES IT'S WAY IN TO SLACKWARE
Hello, I was researching this, and was wondering how well the performance on Slackware worked and if it kept working after the initial install? I know sometimes PLeX won’t work when it’s expecting you to update the server software for it. Does it still work stably? I was also entertaining the idea of using Slackware as a NAS and then setting up a container app of Plex and use Slackware to present NFS volumes with the videos / music files…. I was not sure if that would be more stable or not. Any advice?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.