Plexamp Headless Upgrade issues?

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

sh plexamp/upgrade.sh

This usually works yet now im getting returned:


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?

first, revert to prior version …

cd ~
mv plexamp.last plexamp
sudo systemctl restart plexamp

then, try the upgrade script again

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?

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

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