Working just fine, well done. I would suggest removing any previous installation first.
Search Criteria
Package Details: logitechmediaserver 8.5.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/logitechmediaserver.git (read-only, click to copy) |
|---|---|
| Package Base: | logitechmediaserver |
| Description: | Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer bleeding edge consider using logitechmediaserver-git instead) |
| Upstream URL: | https://github.com/LMS-Community/slimserver |
| Keywords: | logitech slimserver squeezebox |
| Licenses: | GPL, custom |
| Submitter: | vesath |
| Maintainer: | FabioLolix (FabioLolix) |
| Last Packager: | stef.an |
| Votes: | 72 |
| Popularity: | 0.000000 |
| First Submitted: | 2011-11-03 06:54 (UTC) |
| Last Updated: | 2024-07-01 19:06 (UTC) |
Dependencies (10)
- perl (perl-gitAUR)
- perl-io-socket-ssl
- gd (gd-gitAUR) (make)
- nasm (nasm-gitAUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR) (make)
- wget (wget-gitAUR) (make, aarch64)
- yasm (yasm-gitAUR) (make)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (optional, x86_64) – transcoding on 64-bit systems
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-eacAUR, lib32-glibc-git-native-pgoAUR) (optional, x86_64) – transcoding on 64-bit systems
Required by (0)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 44 45 46 47 48 49 50 Next › Last »
<deleted-account> commented on 2010-04-13 20:42 (UTC)
vesath commented on 2010-04-11 19:56 (UTC)
Pank: My hack above is not the prettiest either. :)
Anyhow, it wouldn't hurt to bug-report; since you experienced that issue, would you mind doing it? (This package is based on the "Perl Source Code (tar.gz)" version.)
See: http://bugs.slimdevices.com/
Pank commented on 2010-04-11 18:16 (UTC)
'official' as in the way the .deb package from Logitech does it.
Pank commented on 2010-04-11 18:15 (UTC)
hi vesath,
Sorry for the delayed report; I had to setup emacs-nox on my NAS. Finding line x in Nano is too much of hassle (to me at least).
Your hack works great! So a bit of patching would definitely work, but maybe we ought to push it upstream if this solution is more elegant than the official way of doing it.
vesath commented on 2010-04-11 18:00 (UTC)
Pank, the reason it works with the Debian package is their init.d script calls a wrapper (rather than slimserver.pl itself) that basically does "while true; do ./slimserver.pm; done", so even though slimserver.pl indeed crashes, it is restarted by that wrapper script.
I'm sorry but this is the kind of ugly mechanism I don't want in our AUR packages; however, if the "return;" trick worked for you (see my last comment), I would be happy to incorporate it in the PKGBUILD.
vesath commented on 2010-04-11 17:48 (UTC)
Thanks for testing, Pank. I still haven't figured out how the Debian package handles that, but I have a quick fix for you: on line 870 of /opt/squeezebox-server/slimserver.pl replace 'die "Aborting";' by 'return;' - that should do the trick.
Pank commented on 2010-04-11 17:12 (UTC)
Hi, I did a clean install to make sure that all changes were present. However, there still seems to be a permission problem:
http://aur.pastebina.com/Jqv2VenT
The preferences were kept during upgrade by the way. I just removed everything to be certain that the test was performed correct.
vesath commented on 2010-04-11 13:41 (UTC)
I've uploaded a new package; some directories have been moved, but your preferences should remember and keep using the old ones.
If you're having problems upgrading or don't care about your preferences, do "pacman -Rn squeezebox-server; rm -fr /{opt,var/cache}/squeezebox-server" (beware that erases your preferences) before reinstalling squeezebox-server.
Pank: Could you try installing that new version and see if the plugin-reboot works okay? (Please show me your /opt/squeezebox-server/Logs/ files if it doesn't.) Thanks.
vesath commented on 2010-04-11 11:58 (UTC)
theking2: my mistake; a quick workaround is "chown -R squeezebox:squeezebox /opt/squeezebox-server" but I'm working on a cleaner way of fixing this.
Pank: squeezebox-server drops root privileges at startup, so, when it tries to restart itself, it doesn't have enough privileges to write a PID file and... drop its privileges again;
I'm not sure how the Debian packages handles that, but I'll look into it. In the meantime, as a temporary workaround, if you really need the restart feature, you can try editing /etc/conf.d/squeezebox-server and replacing "--user squeezebox" by "--user root".
Pinned Comments
FabioLolix commented on 2024-05-26 08:40 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin