Update of the software Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Xubbixx
Posts: 3
Joined: Sat Dec 28, 2019 1:28 pm

Update of the software

Post by Xubbixx »

Hi,

how do I keep the dietpi software up to date. I don't mean the dietpie itself, but the software that comes with it like nextcloud?

Do I do this directly via nextcloud or is there any possibility to update it via dietpie?

Thanks!
User avatar
Joulinar
Posts: 2591
Joined: Sat Nov 16, 2019 12:49 am

Re: Update of the software

Post by Joulinar »

Hi,

well DietPi doesn't has any software by it's own. It just installs the software from various sources like it works on standard Debian / Raspbian :)

If the software was installed via Debian package, you could do the following as root user

Code: Select all

apt-get update
apt-get upgrade
This should update all installed packages. Usually apt-get will be executed by DietPi automatically if you run "dietpi-update" and update your DietPi installation.

On the other hand, some software title are installed directly from GitHub. For these you would need to check on the specific software title how it needs to be updated. An example would be PiHole, where you need to run "pihole -up" to update Pihole version.

Thinks like NextCloud can be updated from NextCloud Web Gui as far as I know.
Last edited by Joulinar on Mon Dec 30, 2019 5:00 pm, edited 1 time in total.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2423
Joined: Sat Nov 18, 2017 6:21 pm

Re: Update of the software

Post by MichaIng »

Little addition:
- Indeed always use internal GUI updaters where available.
- apt update && apt upgrade && apt full-upgrade as mentioned
- For all software titles that come with no internal updater and were installed manually without APT package or at least not from repositories (e.g. files pulled from GitHub), you can reinstall it via dietpi-software. Run dietpi-software list | grep ' =2' check for the ID of the desired software title, then run dietpi-software reinstall <ID>. But do a backup of data+settings at best, even that we always preserve existing configs or at least the installer creates backups of existing configs, it's good stay safe.
przemko
Posts: 86
Joined: Sun Mar 15, 2020 5:40 pm

Re: Update of the software

Post by przemko »

MichaIng wrote: Mon Dec 30, 2019 3:32 pm Little addition:
- Indeed always use internal GUI updaters where available.
- apt update && apt upgrade && apt full-upgrade as mentioned
- For all software titles that come with no internal updater and were installed manually without APT package or at least not from repositories (e.g. files pulled from GitHub), you can reinstall it via dietpi-software. Run dietpi-software list | grep ' =2' check for the ID of the desired software title, then run dietpi-software reinstall <ID>. But do a backup of data+settings at best, even that we always preserve existing configs or at least the installer creates backups of existing configs, it's good stay safe.
Hi, what is the proper way to upgrade Emby Server? Download last release from github or `dietpi-software reinstall`? What method is safe for server and SSL configuration?

Regards Przemko
User avatar
Joulinar
Posts: 2591
Joined: Sat Nov 16, 2019 12:49 am

Re: Update of the software

Post by Joulinar »

maybe you can have a look to the Community Tutorial ;)

viewtopic.php?f=15&t=6914
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 86
Joined: Sun Mar 15, 2020 5:40 pm

Re: Update of the software

Post by przemko »

OK thanks, I want to sure what option is better.
Regards Przemek
User avatar
Joulinar
Posts: 2591
Joined: Sat Nov 16, 2019 12:49 am

Re: Update of the software

Post by Joulinar »

basically both will do the same as dietpi-software reinstall is doing nothing else than downloading latest version from git.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 86
Joined: Sun Mar 15, 2020 5:40 pm

Re: Update of the software

Post by przemko »

It work great, I don't have to do anything with my SSL and I see it auto renewal.
Regards Przemko
Post Reply