Hi again,
I installed digest::SHA1 with the following commands:
Code:
--------------------
apt-get install cpanminus
cpanm -i Digest::SHA1
--------------------
and that got rid of that error. But starting the service properly still
fails without anything useful in the logs.
Running
Code:
--------------------
/usr/sbin/squeezeboxserver --d_startup
--------------------
brought up permissions errors on /var/log/squeezeboxserver/server.log.
I temporarily chown'd my console user to be the owner of that log
directory and ran the command again to get a whole host of errors (see
below) which may well be caused by running it as my console user and not
as the squeezeboxserver user.
Code:
--------------------
Your locale was detected as C, you may have problems with non-Latin
filenames. Consider changing your LANG variable to the correct locale, i.e.
en_US.utf8
dirsFor: Didn't find a match request: [scprefs]
[21-08-31 19:10:03.3817] main::init (390) Starting Logitech Media Server
(v8.2.1, 1628483320, Mon Aug 9 06:45:15 CEST 2021) perl 5.028001 -
arm-linux-gnueabihf-thread-multi-64int
[21-08-31 19:10:03.3834] Slim::Utils::Prefs::init (284) Error: unable to
write to preferences directory /var/lib/squeezeboxserver/prefs
dirsFor: Didn't find a match request: [videos]
dirsFor: Didn't find a match request: [pictures]
cannot remove directory for /tmp/.XIM-unix: Operation not permitted at
/usr/share/perl5/Slim/Utils/Misc.pm line 678.
cannot remove directory for /tmp/.font-unix: Operation not permitted at
/usr/share/perl5/Slim/Utils/Misc.pm line 678.
cannot remove directory for /tmp/.X11-unix: Operation not permitted at
/usr/share/perl5/Slim/Utils/Misc.pm line 678.
cannot chdir to child for
/tmp/systemd-private-c1c9ea7c3a39430c89ff2845686e02a9-bluealsa.service-63BUlx:
Permission denied at /usr/share/perl5/Slim/Utils/Misc.pm line 678.
cannot remove directory for /tmp/.ICE-unix: Operation not permitted at
/usr/share/perl5/Slim/Utils/Misc.pm line 678.
cannot remove directory for /tmp/.Test-unix: Operation not permitted at
/usr/share/perl5/Slim/Utils/Misc.pm line 678.
[21-08-31 19:10:03.5689] Slim::Utils::PluginDownloader::init (57) unable to
store downloads in cachedir
[21-08-31 19:10:03.7813] YAML::XS::DumpFile (31) Warning: Can't open
'/plugin-data.yaml' for output:
Permission denied at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 31.
[21-08-31 19:10:03.7830] Slim::Utils::Prefs::Namespace::savenow (337) Error:
can't save /var/lib/squeezeboxserver/prefs/plugin/state.prefs: Permission
denied at /usr/share/perl5/Slim/Utils/Prefs/Namespace.pm line 326.
[21-08-31 19:10:03.7843] Slim::Utils::Prefs::Namespace::savenow (337) Error:
can't save /var/lib/squeezeboxserver/prefs/server.prefs: Permission denied at
/usr/share/perl5/Slim/Utils/Prefs/Namespace.pm line 326.
--------------------
I'm flumoxed.
I think I might have to look at docker again...
I briefly tried running squeezeboxserver with sudo to overcome the log
file permissions and it exited with the "illegal operation" as it quite
rightly refused to run as root. This was the same message I was getting
when running the docker container, which I was also running under sudo.
When running the docker container do you have to run it from a user in
the docker group?
------------------------------------------------------------------------
intraclast's Profile: http://forums.slimdevices.com/member.php?userid=41806
View this thread: http://forums.slimdevices.com/showthread.php?t=115062
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter