Failed to upgrade Nextcloud 18.0.7 to 19.0.3

My YunoHost server

Hardware: Intel Mini PC
YunoHost version: 4.0.8
I have access to my server : Yes, SSH and Admin dashboard
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Following the guideline of being good admin, i am constantly checking Yunohost ‘System update’ tabs for occasional upgrades. Today, i checked it and found out that i could upgrade my Nextcloud instance from 18.0.7 to 19.0.3 (yay!)

I just press upgrade, and somehow it failed. Note that this is the first time i tried upgrading any of my apps. Would be great if someone points out if something is wrong.

Here are the raw log
https://paste.yunohost.org/raw/calorihomi

Thanks!

I think you have OCR app ?
You need to disable OCR app and remove his folder (rm -rf /var/www/nextcloud/apps/ocr)

1 Like

The error seems to be

TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::advance() must be of the type int, string given, called in /var/www/nextcloud/core/Command/Upgrade.php on line 144 and defined in /var/www/nextcloud/3rdparty/symfony/console/Helper/ProgressBar.php:310

Same as me, same as here : https://github.com/nextcloud/server/issues/21067

As @Tho said, remove the OCR app (I did not remove /var/www/nextcloud/apps/ocr on my side)

Ah, removing OCR app does fix the problem. Just updated smoothly.

Thank you!

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