Proper procedure for updating software via Dietpi? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Zone

Proper procedure for updating software via Dietpi?

Post by Zone »

As software new becomes available via Dietpi what is the proper procedure for updating existing software?
This of course means preserving existing configuration and data during the upgrade procedure.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Proper procedure for updating software via Dietpi?

Post by Fourdee »

Zone wrote:As software new becomes available via Dietpi what is the proper procedure for updating existing software?
This of course means preserving existing configuration and data during the upgrade procedure.
If the software does not have its own upgrade system (eg: nextcloud), currently, you'll need to uninstall, then install via dietpi-software.
Configuration files (and their settings) will be lost and relevant SQL DB will be dropped. User data (such as music/video/downloads etc) are left alone.

We do have a reinstall feature, but its not been tested on all software yet.
So if you want to try this, backup system beforehand.
It will overwrite configs as needed. So any manual changes to those will be overwritten (eg: /etc/*)

Find software ID:

Code: Select all

dietpi-software list
Reinstall software (HiFi example 32):

Code: Select all

dietpi-software reinstall 32
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply