Cannot upgrade nextcloud

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
przemko
Posts: 153
Joined: Sun Mar 15, 2020 5:40 pm

Cannot upgrade nextcloud

Post by przemko »

Hello, I cannot upgrade my nextcloud from 19.0.5 version after I move my installation to new sd-card on the same raspberry pi 4. When I click upgrade in web dashboard it should start upgrade but I see only blank page and

Code: Select all

Step 5 is currently in process. Please reload this page later
In ssh

Code: Select all

ncc upgrade
tell me that I use last nextcloud version. I search on nextcloud forums but there was no solution for that problem. When I try

Code: Select all

dietpi-software reinstall 116
I see:
Image.

Regards,
Przemek
User avatar
Joulinar
Posts: 3688
Joined: Sat Nov 16, 2019 12:49 am

Re: Cannot upgrade nextcloud

Post by Joulinar »

you could try running the update manuell

Code: Select all

ncc maintenance:mode --on
mysqldump nextcloud > /root/nextcloud.sql
sudo -u www-data php7.3 /var/www/nextcloud/updater/updater.phar
ncc maintenance:mode --off
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 153
Joined: Sun Mar 15, 2020 5:40 pm

Re: Cannot upgrade nextcloud

Post by przemko »

I have that in step

Code: Select all

sudo -u www-data php7.3 /var/www/nextcloud/updater/updater.phar
:

Code: Select all

Nextcloud Updater - version: v19.0.3-8-gbfdc40b
Step 5 is currently in process. Please call this command later.
I have version 19.0.5 so older version block upgrade?
User avatar
Joulinar
Posts: 3688
Joined: Sat Nov 16, 2019 12:49 am

Re: Cannot upgrade nextcloud

Post by Joulinar »

can you try to reboot? This is basically an issue of Nextcloud. You should consider to report on Nextcloud forum.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 153
Joined: Sun Mar 15, 2020 5:40 pm

Re: Cannot upgrade nextcloud

Post by przemko »

I have that issue for many weeks and reboot many times and still have that problem. I try on nextcloud forum but there's only info about php.ini file that memory limit is -1 and about .step file or upgrade-xfeccsfsght folder to delete. I don't have that in my installation.
User avatar
Joulinar
Posts: 3688
Joined: Sat Nov 16, 2019 12:49 am

Re: Cannot upgrade nextcloud

Post by Joulinar »

at least it seems your system stuck somewhere in middle of an upgrade. Probably better to ask NextCloud guys where this information is stored and if there is a way to reset the upgrade and start from the beginning
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 153
Joined: Sun Mar 15, 2020 5:40 pm

Re: Cannot upgrade nextcloud

Post by przemko »

OK, thanks for helping me. I will try with Nextcloud forum.
Regards.
Post Reply