Systems admining is not my strong suit.
I’ve just installed Plexamp headless based on this guide. The initial install seems to be OK, but fails after a reboot and will not startup.
I’ve searched and searched and have found nothing other than some older threads that don’t seem to apply.
pi@PlexampLounge:/lib/systemd/system $ sudo systemctl status plexamp.service
● plexamp.service - Plexamp
Loaded: loaded (/lib/systemd/system/plexamp.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Sat 2023-01-28 19:59:14 GMT; 100ms ago
Process: 1659 ExecStart=/usr/bin/node /home/pi/plexamp/js/index.js (code=killed, signal=SEGV)
Main PID: 1659 (code=killed, signal=SEGV)
CPU: 2.359s
Jan 28 19:59:14 PlexampLounge systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 5.
Jan 28 19:59:14 PlexampLounge systemd[1]: Stopped Plexamp.
Jan 28 19:59:14 PlexampLounge systemd[1]: plexamp.service: Consumed 2.359s CPU time.
Jan 28 19:59:14 PlexampLounge systemd[1]: plexamp.service: Start request repeated too quickly.
Jan 28 19:59:14 PlexampLounge systemd[1]: plexamp.service: Failed with result 'signal'.
Jan 28 19:59:14 PlexampLounge systemd[1]: Failed to start Plexamp.
When trying to fire off the js manually:
Starting Plexamp 4.6.1
ALSA lib conf.c:1970:(_snd_config_load_with_include) _toplevel_:18:1:Unexpected char
ALSA lib conf.c:3817:(config_file_open) /home/pi/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3739:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4203:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:1970:(_snd_config_load_with_include) _toplevel_:18:1:Unexpected char
ALSA lib conf.c:3817:(config_file_open) /home/pi/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3739:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4203:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:1970:(_snd_config_load_with_include) _toplevel_:18:1:Unexpected char
ALSA lib conf.c:3817:(config_file_open) /home/pi/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3739:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4203:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:1970:(_snd_config_load_with_include) _toplevel_:18:1:Unexpected char
ALSA lib conf.c:3817:(config_file_open) /home/pi/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3739:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4203:(snd_config_update_r) hooks failed, removing configuration
ALSA lib conf.c:1970:(_snd_config_load_with_include) _toplevel_:18:1:Unexpected char
ALSA lib conf.c:3817:(config_file_open) /home/pi/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3739:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4203:(snd_config_update_r) hooks failed, removing configuration
Segmentation fault
Whether or not the above is of any relevance I cannot say.
I can’t seem to find any logging other than the above. One old thread suggested the user line was missing in the plexamp.service file, but not in this case…
[Unit]
Description=Plexamp
After=network-online.target
Requires=network-online.target
[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi/plexamp
ExecStart=/usr/bin/node /home/pi/plexamp/js/index.js
Restart=on-failure
[Install]
WantedBy=multi-user.target
Don’t quite know where else to look at this point so open to any and all suggestions.