Package Details: plex-media-server 1.41.2.9200-1

Git Clone URL: https://aur.archlinux.org/plex-media-server.git (read-only, click to copy)
Package Base: plex-media-server
Description: The back-end media server component of Plex.
Upstream URL: https://plex.tv/
Keywords: DLNA
Licenses: custom
Conflicts: plex-media-server-plexpass
Submitter: alucryd
Maintainer: fryfrog (tixetsal)
Last Packager: fryfrog
Votes: 348
Popularity: 0.014055
First Submitted: 2014-10-14 22:11 (UTC)
Last Updated: 2024-11-14 23:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 64 65 66 67 68 69 70 71 72 73 74 .. 107 Next › Last »

Thijxx commented on 2014-10-30 23:36 (UTC)

What are the permissions needed to set to /var/lib/plex?

alucryd commented on 2014-10-30 12:07 (UTC)

Ashex: Agreed, added to the service file. Although, please note that you can limit the size of your journal: https://wiki.archlinux.org/index.php/Systemd#Journal_size_limit

Ashex commented on 2014-10-30 11:59 (UTC)

Minor request that "StandardOutput=null" be added to the unit file. With debug disabled plex is incredibly noisy and will fill up the journal with things like this: plexmediaserver.sh[22302]: * Refreshing 100_0754 With a large enough library it causes the journal to grow out of control (with the default 30 day retention we're looking at 6GB+ of logs just from plex).

alucryd commented on 2014-10-28 08:46 (UTC)

flaccid: This is no bug, pacman expects to get something in return for a command, it's the correct behavior. That said, I changed the install file so that it doesn't fool pacman while still producing no output, you shouldn't see any more "command failed".

flaccid commented on 2014-10-28 07:32 (UTC)

@alucryd perhaps a bug should be lodged for pacman then?

alucryd commented on 2014-10-28 07:24 (UTC)

tmoore: You can safely ignore that. All user creation commands are piped to /dev/null, pacman has no output and thinks they fail, but they don't. lightdm and gdm do the same, and probably other official packages too, nothing to worry about.

tmoore commented on 2014-10-28 02:38 (UTC)

FYI.. is anyone else getting this after installing the .xz? error: command failed to execute correctly I believe that's due to the install-info command, but I don't see that in the post-build commands.. I'm not sure how it's picking it up. Could just be my system. Wanted to make sure. Other pkgs don't have the issue.

alucryd commented on 2014-10-27 08:59 (UTC)

techmunk: I took the forced locale off upstream's start script, it struck me as odd but I thought they had to have a reason for this, and that's why it's not in 'conf.d'. Did you try removing those lines from plexhometheater.sh, does it launch correctly with another locale? I try to keep my linuxes international so I always use en_US here. For reference, here's upstream script: https://paste.xinu.at/Ww3U/ Regarding the UID/GID, I had to pick a pair so people don't have random ones, we have to define standards UID/GID at some point, and these will end up in https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database once this package hits our repos. An unfortunate side effect is that they need to be created anew if they already exist, simply uninstalling and reinstalling plex-media-server will take care of this. Also, the permissions need to be set in the package function so pacman can track them, no going around that. As for the '/var/lib/plex' dir, this is the correct way to do it on Arch. Of course you're free to do whatever you want with the AppSupport dir, but the only way I'll support in this package is '/var/lib/plex'. Thanks for the heads up on the warning message, zsh was fine with the function, but not bash apparently (when called by pacman). I replaced it with a working one.

techmunk commented on 2014-10-27 00:00 (UTC)

Some things I think need to be addressed in this PKGBUILD. 1. I don't have the en_US.UTF-8 locale enabled. So setting LANG and LC_ALL to this in plexmediaserver.sh, causes plex not to start. These should probably be sourced from the environment file placed in /etc/conf.d, so that I can change them, without having to fix plexmediaserver.sh everytime I upgrade. 2. The package() method creates and sets permissions of /var/lib/plex to 421:421. As I'm upgrading, I have different uid/gid's. I have also changed the location of PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR, so I don't actually need that directory at all. I'd prefer it didn't get needlessly created and set to bogus permissions everytime I upgrade. This should probably be addressed in post_install(), and post_upgrade() should likely not call post_install(). If I've changed the permissions and groups on my system, I don't want the upgrade to go changing it back. This point is minor, and doesn't really bother me either way, but thought I would mention it as a potential issue or source of confusion. 3. The post_upgrade() doesn't run when replacing the old PMS PKGBUILD, so most people who might need to see the post_upgrade() message, are likely not to see it. Thanks for looking after and creating these PKGBUILDS!