Linux (debian variant) auto update

Hi, got bored and wrote this:

Copy paste it into a file, chmod +x it and run it.
It will automatically detect and update plex media server for you.

Works great in conjunction with crontab.
requires jq and curl.

If install is successful it will move the deb to a known location, so that if the next install fails somehow, it can revert to the older one.

remember to select proper arch.

Happy plexing.

1 Like

Thanks but no longer compatible with PMS 1.15.0 and above if I read it right. Needs reworking.

As for init/systemd, i am merging both systems into one now. I will have a universal package which works on all systems and is only dependent on glibc. The only requirement other than glibc will be having a compatible package manager (DEB or RPM)

Saving the DEB/RPM file is all that’s really needed in conjunction with the package manager. Your metadata isn’t removed or altered by uninstall / downgrading.

1 Like

So the api will change?

The repositories have changed.
How PMS is configured to run has changed.

I am writing, right now, the “generic” packaging.
It works for both SYSV-init and Systemd.

You are welcome to follow along & join in.

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