You could boot up into Single user mode and clean out the root file system.
Some suggestions would be, don’t run the Snap version of Plex, download the .deb install file. Don’t use /media for your storage mount points. It would probably be faster to start over with a larger boot volume or relocate Plex to a different drive.
I don’t use snap to install anything. That’s there for when I was playing around with something that used it. My plex update is via wget and dpkg -i route.
The plex system has a SSD all of it’s own and I would have thought 260Gb would be enough???
Is it likely to be caused by the metadata library gone mad?
I really want to avoid doing a reinstall, but if I have to I will.
Not as au-fait with Linux as you guys - where do I start please?
Given your lack of space on the source drive, you’d probably be best served by moving the data to the new location before creating the override configuration. For example, if you wanted to move it to /dev/sde1 (/media/travelplex), you could do something like (this would replace step B from the how-to):
sudo mkdir /media/travelplex/plexdata sudo cp -a -r "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/" /media/travelplex/plexdata/ sudo rm -rf /var/lib/plexmediaserver/
That third step is the point of no return; after performing it, your Plex data is completely deleted from the old location. Be very certain that the copy process completed successfully before doing it. It will also likely take quite a bit of time to copy, depending upon the speed of your drives.
From there, you can proceed with step A from the linked how-to to tell Plex where the data is now located.
I’d not normally suggest this as it’s much more desirable to have your Plex data copied to the new location and tested before deleting it. But to do so, you’re going to have to find a significant amount of space you can free up on your source drive.
It’s late here, but I’ll be fresh in the morning and have a go then and report back. Worst comes to worst I can remaster if I have to. All the data is on separate drives to the OS and Plex for that reason.
I followed the instructions to move plex data to /media/backuphdd/plexdata. It’s all there and I removed /var/lib/plexmediaserver.
It’s no longer on the ssd
At this point I can run update and upgrade (I couldn’t before) and Sonarr is working again (It didn’t before)
But Plex doesn’t want to start.
Here are the last few commands
david@Plex:/ sudo chown -R david:david /media/backuphdd/plexdata
david@Plex:/ systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: david, (david)
Password:
==== AUTHENTICATION COMPLETE ===
david@Plex:/ systemctl start plexmediaserver
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'plexmediaserver.service'.
Authenticating as: david,,, (david)
Password:
==== AUTHENTICATION COMPLETE ===
Job for plexmediaserver.service failed because the control process exited with error code.
See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
david@Plex:/
Despite moving the plex data, df -h returns
/dev/mapper/Plex–vg-root 216G 209G 7.2G 97% /
so I guess there is still a problem with the root being clogged and there is Plex not working, but we are getting there and thanks for the help
I upgraded from 18.xx to 20.xx rather than fresh install.
I don’t know if that’s part of the problem but I figured as the data was all on other drives then unplug them, flatten the drive and start a fresh ubuntu install.
The only thing we will lose is the watched / unwatched bits. But I did put a copy of the folder on another drive so maybe that can be restored?
If you have a tar ball of the Library directory,
and mount the media at the same mount points,
we can restore it and everything will “wake up” as it was before.
At the moment Plex is up and running and all the media is back so we can watch stuff again.
We have decided to use this as an opportunity go through the library and cull stuff we will never see again and when we get round to re-watching stuff mark as read as we go along.
But so much of it we haven’t seen in a while, when we do get round to rewatching we will have forgotten it completely!