# Plexamp Headless Upgrade issues?

**URL:** https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914
**Category:** Plex Labs
**Tags:** plexamp
**Created:** [January 11, 2024, 8:05am UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914 "2024-01-11T08:05:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![MuSic](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/music/32/340525_2.png) [@MuSic](https://forums.plex.tv/u/MuSic)
#### Post date: [January 11, 2024, 8:05am UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/1 "2024-01-11T08:05:51Z")

</div>

Hi ive hbeen upgrading plexamp in my pi via ssh with the command:

```auto
sh plexamp/upgrade.sh

```

This usually works yet now im getting returned:

```auto

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now
chown: cannot access 'plexamp': No such file or directory

```

What do i do to fix this? will i have to do a complete reinstall?

---

<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: [January 11, 2024, 2:28pm UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/2 "2024-01-11T14:28:25Z")

</div>

first, revert to prior version …

```auto
cd ~
mv plexamp.last plexamp
sudo systemctl restart plexamp

```

then, try the upgrade script again

---

<div class="post-metadata">

### Author: ![MuSic](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/music/32/340525_2.png) [@MuSic](https://forums.plex.tv/u/MuSic)
#### Post date: [January 11, 2024, 10:13pm UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/3 "2024-01-11T22:13:17Z")

</div>

Thank you so much tgp-2

Worked…yay.

I wish all these CLI commands for plexamp headless were documented and accessible somewhere on official plex for us less technical peeps.

Is there such a place and i dont know about it?

---

<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: [January 14, 2024, 3:16pm UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/4 "2024-01-14T15:16:59Z")

</div>

some setup notes (and a basic install script) at the link below … includes some links to forum posts describing workarounds for some common issues … for the case where the zip file doesn’t download completely, i didn’t include the workaround described in this thread, but rerunning the install script should work

[Plexamp headless install and setup notes](https://gist.github.com/tgp-2/fc34c5389bc3e4ef332e28d9430b0ebf)

---

<div class="post-metadata">

### Author: ![MuSic](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/music/32/340525_2.png) [@MuSic](https://forums.plex.tv/u/MuSic)
#### Post date: [January 15, 2024, 7:28pm UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/5 "2024-01-15T19:28:59Z")

</div>

Thank you for doing all this work for others and sharing it.

---

<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: [April 14, 2024, 7:29pm UTC](https://forums.plex.tv/t/plexamp-headless-upgrade-issues/865914/6 "2024-04-14T19:29:11Z")

</div>

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