Plexamp headless closes when I close putty

I’m having fun sorting out the headless app. This, I’m hoping is the simplest of the issues i’ve encountered.

Plexamp headless is installed, it runs, it works. wooohooo!! However… I’m connecting via ssh using putty. So far so great. Except if I close putty, the headless app drops.

What can I do to stop this? And is there a way i can add this to start automatically on system startup

It needs to run as a service, see Plexamp on the Raspberry Pi

Hmm. I think I’ve done something a bit odd when I installed. I’m not on a Pi though I don’t think that should matter. The installation path is different but I’ve accounted for that when copying the service.

Not sure if this is where I’m having the problem.
4. Install the Plexamp service if you feel like having it start on boot (and why wouldn’t you?). CTRL-C out of the foreground running Plexamp and do this:

so I’ve got the headless running and then hit ctrl-c at that point the headless instance stops. Is that then causing be a problem copying the service over?

Damn, wait, i rekon issue is in the plexamp.service file presumably in exec start. i can’t seem to work out how to format the line so it will work though. but it was pointing to somewhere where index.js isn’t. It’s in two parts, is that right?

I don’t know what that means, but I highly recommend installing it in the default place, especially if you’re not a systemd expert :sweat_smile:

If you want to, you can install it via a script.

1 Like

I just mean the address in that line was split, a space between the two parts of execstart

WorkingDirectory=/plexamp
ExecStart=/home/chris /plexamp/js/index.js
Restart=on-failure

I’ll have another crack reinstalling. I followed a different guide originally because I’m not using a pi. But looking at the guide again I must just have misunderstood how to install it… hopefully I can manage it!

Cool. I might try that on the other hardware that I’m trying to install on, given that script looks to install node16 and my system is stubbornly refusing to do so and is stuck on 12.

The script is the way.

1 Like

yes it was! I still needed to manually copy plexamp.service possibly because there was a version already there. But afterwards it’s up and running! Obliged!

1 Like

As long as it is Debian, the script will fix the node-issue!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.