Hi,
I recently set up an ownCloud server through the convenience of DietPi.
What I'd like to know is what's the update/upgrade process?
Do you have to update ownCloud manually or does DietPi take over the update process?
Thanks!
DietPi ownCloud Update-Upgrade Topic is solved
Re: DietPi ownCloud Update-Upgrade
Hi,
many thanks for your request. DietPi will not take care on updating you ownCloud installation. You would need to follow ownCloud Maintenance Guide https://doc.owncloud.com/server/10.5/ad ... grade.html
many thanks for your request. DietPi will not take care on updating you ownCloud installation. You would need to follow ownCloud Maintenance Guide https://doc.owncloud.com/server/10.5/ad ... grade.html
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: DietPi ownCloud Update-Upgrade
Thank you so much for the prompt helpful response.
Re: DietPi ownCloud Update-Upgrade
Basically use the web UI updater from within the ownCloud admin panel. There is also an updater PHP script shipped with ownCloud, but I have to run some tests to see if this works nicely.
Re: DietPi ownCloud Update-Upgrade
That's interesting.
If it's a matter of a press of a button on the WEB UI why do they promote such a complicated upgrade process via the command line?
Does the WEB UI updater upgrades to newer versions, for example from 10.0 to 10.5?
Have you tried it yourself?
If it's a matter of a press of a button on the WEB UI why do they promote such a complicated upgrade process via the command line?
Does the WEB UI updater upgrades to newer versions, for example from 10.0 to 10.5?
Have you tried it yourself?
Re: DietPi ownCloud Update-Upgrade
It has been a while but yes I successfully tested the ownCloud web UI updater multiple times and across multiple versions a while ago. The problem in general with web UI updaters is that it might cause a broken state if the browser connection breaks during the process. I haven't reviewed the method, just remember that there was some effort to make this more reliable on Nextcloud with a system that saves that current state of the backup that can be resumed then from at any time, even from console. Not sure if/how far ownCloud did similar.
So generally, promoting a manual console method might simply be to limit responsibility and/or addresses larger instances where one generally would not recommend a web UI update anymore, due to the long time it takes.
The updater.phar is probably a good mix that is basically the web UI updater run from console, so no risk that flaky network could break anything. But as said, requires testing
. Will do that now.
EDIT: Found it, the following works:
Enter 1 to being the update.
So generally, promoting a manual console method might simply be to limit responsibility and/or addresses larger instances where one generally would not recommend a web UI update anymore, due to the long time it takes.
The updater.phar is probably a good mix that is basically the web UI updater run from console, so no risk that flaky network could break anything. But as said, requires testing

EDIT: Found it, the following works:
Code: Select all
sudo -u www-data php /var/www/owncloud/updater/application.php
Re: DietPi ownCloud Update-Upgrade
That's great news!
Thank you so much for updating me. I will have to try it myself soon.
It really is very strange that they don't promote this way of upgrade and lead you to a very complicated process instead that will most likely going to break your OC instance anyway.
https://central.owncloud.org/t/access-s ... p/28616/17
Thank you so much for updating me. I will have to try it myself soon.

It really is very strange that they don't promote this way of upgrade and lead you to a very complicated process instead that will most likely going to break your OC instance anyway.
https://central.owncloud.org/t/access-s ... p/28616/17
Re: DietPi ownCloud Update-Upgrade
Thats true but something we cant change from our end. There you would need to open this discussion with ownCloud 

Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: DietPi ownCloud Update-Upgrade
At least we can list the possible update methods in our online docs: viewtopic.php?p=47#p47
Will add them to the new docs as well: https://github.com/MichaIng/DietPi-Docs ... -720430994
Will add them to the new docs as well: https://github.com/MichaIng/DietPi-Docs ... -720430994