# PlexAmp headless - issue upgrading

**URL:** <https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520>\
**Category:** Plex Labs\
**Tags:** plexamp\
**Created:** [May 18, 2023, 10:15pm UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520 "2023-05-18T22:15:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattkoop](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mattkoop](https://forums.plex.tv/u/mattkoop)\
**Post date:** [May 18, 2023, 10:15pm UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/1 "2023-05-18T22:15:26Z")

</div>

Server Version#: 4.106.1  
Player Version#: 4.6…0  
\<If providing [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) please do NOT turn on verbose logging, only [debug logging](https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/#toc-1) should be enabled\>

I have installed PlexAmp headless on the Raspberry Pi running Debian. Perfect. Except after a few seconds of playing, the remote connection to the Pi (both via PlexAmp on my phone, and SSH) fails. The music keeps playing though, so the connection to the server is working.

I decided to run the script again to upgrade to version 4.7.4 - the script seems to execute the upgrade

unfortunately, after the reboot, and logging in via SSH, it shows PlexAmp version 4.6.0 - so I assume the upgrade did not succeed.

Should I run a fresh install, or share a log (~/.cache/logs/Plexamp ?), or anywhere else I can look?

Thanks and regards

Matt

---

<div class="post-metadata">

**Author:** ![tgp-2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tgp-2/32/276306_2.png) [@tgp-2](https://forums.plex.tv/u/tgp-2)\
**Post date:** [May 19, 2023, 2:01am UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/2 "2023-05-19T02:01:30Z")

</div>

when you updated from 4.6.0 to 4.7.4, did you also update to node version 16? I think 4.6.0 was still using node 12

---

<div class="post-metadata">

**Author:** ![aubrey.wodonga](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/aubrey.wodonga/32/175408_2.png) [@aubrey.wodonga](https://forums.plex.tv/u/aubrey.wodonga)\
**Post date:** [May 19, 2023, 4:14am UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/3 "2023-05-19T04:14:47Z")

</div>

We moved to Node 16 in 4.5.3, see below:

> [@Plexamp Release Notes](https://forums.plex.tv/t/plexamp-release-notes/221280/51):
>
> Version v4.5.3 Getting the v4.5 series nice and stable, while we work on v4.6… Added “Add to Library” menu item in player for TIDAL tracks. Fixed Stopping playback while buffering could cause a hang. DJ: Items already in the play queue could be inserted again. DJ: The same tracks could be generated multiple times. Updated AutoEQ database When controlling a player which is previewing a track, a blank player would show. Small memory leak during gapless playback. Skipping tracks quickly coul…

> Headless: Upgrade to node v16!

If SSH is failing, it sounds like something outside of Plexamp’s control is dying. Logs might tell the story.

---

<div class="post-metadata">

**Author:** ![mattkoop](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mattkoop](https://forums.plex.tv/u/mattkoop)\
**Post date:** [May 19, 2023, 8:02am UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/4 "2023-05-19T08:02:06Z")

</div>

Thanks for the assistance. I did do the update to the latest version of Node in the installation script, however, running a full apt upgrade, node.js seems to be “held back” - I am looking into that.

I may just do a fresh install - might be simpler 🙂

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 19, 2023, 5:28pm UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/5 "2023-05-19T17:28:04Z")

</div>

You can upgrade like this:

```auto
echo "--== Install node.v16 ==--"
apt-mark unhold nodejs
apt-get purge -y nodejs
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
apt-get install -y nodejs=16.*-1nodesource1
apt-mark hold nodejs

```

This is what I do in my script.

> **[GitHub - odinb/bash-plexamp-installer: PlexAmp-installer for Raspberry Pi...](https://github.com/odinb/bash-plexamp-installer)**
>
> PlexAmp-installer for Raspberry Pi with ARM64 HW. Headless music-player controlled from any other Plexamp client. - GitHub - odinb/bash-plexamp-installer: PlexAmp-installer for Raspberry Pi with AR...

---

<div class="post-metadata">

**Author:** ![mattkoop](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mattkoop](https://forums.plex.tv/u/mattkoop)\
**Post date:** [May 21, 2023, 4:24am UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/6 "2023-05-21T04:24:36Z")

</div>

> [@odinb1](#):
>
> `apt-get install -y nodejs=16.*-1nodesource1`

Thanks @odinb1

The upgrade to nodejs 16 was successful

I also note that the PlexAmp logo and version on the bash prompt when using SSH, is different from the actual version

 ![image](https://global.discourse-cdn.com/plex/original/4X/a/8/9/a891554168714417774e7a5bae6a65fa2c8e0485.jpeg)

I am now testing if I can replicate the original error where the player refuses connection.

BTW - the only things running on the Pi are the OS and PlexAmp. Only when PlexAmp is playing did the failure occur. Hopefully this is now resolved 🙂

Thanks everyone for the help!

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [May 21, 2023, 1:14pm UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/7 "2023-05-21T13:14:35Z")

</div>

Rerun the full script, stating yes to prepare for uppgrade, and upgrade prompts, after that, manually reboot, and it should be fixed.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 19, 2023, 1:15pm UTC](https://forums.plex.tv/t/plexamp-headless-issue-upgrading/841520/8 "2023-08-19T13:15:11Z")

</div>

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