In the older updater.phar version string v16.0.3-3-ga0c2b25 dirty appeared, but backup.log doesn’t reflect it.
Okay, I gave up.
I found, that in truenas the plugin comes with 21.0.1 already and gave the plugin-updater a try.
Because I upgraded the mysql-server from 57 to 80 formerly, I had to redo that again, because the databaseschema was already updated and stopped mysql57 (downgraded from 80 to 57 due top the plugin upgrade, which comes with FreeBSD 12.1-RELEASE-p13 jail (instead of 12.2-RELEASE-p3)).
So I removed mysql57 and installed mysql80.
Then I had to edit apcu.ini, because it throwed an error for occ. I had to add apc.enable_cli=1
.
root@nextcloud:/usr/local/www/nextcloud # vi /usr/local/etc/php/ext-20-apcu.ini
extension=apcu.so
apc.enable_cli=1
On the browser I was prompted for the upgrade to 21.0.1, but that endet in an error.
So I had also adjust the ownership and group-write for the files in the nextcloud folder.
root@nextcloud:/usr/local/www/nextcloud # ~/occ.sh maintenance:mode --off
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode disabled
root@nextcloud:/usr/local/www/nextcloud # ls -l
total 197
-rw-r--r-- 1 root www 2734 Apr 8 15:31 .htaccess
-rw-rw-r-- 1 www www 101 Apr 8 15:31 .user.ini
drwxrwx--- 3 www www 3 Apr 4 2019 .well-known
drwxrwx--- 45 www www 53 Apr 18 14:58 3rdparty
drwxr-xr-x 52 www www 52 Apr 11 14:08 apps
drwxr-xr-x 47 root wheel 47 Apr 8 15:32 apps-pkg
-rw-r--r-- 1 root wheel 17900 Apr 8 15:31 AUTHORS
drwxr-xr-x 2 www www 8 Apr 18 15:23 config
-rw-r--r-- 1 root wheel 3900 Apr 8 15:31 console.php
-rw-r--r-- 1 root wheel 34520 Apr 8 15:31 COPYING
drwxrwx--- 22 www www 29 Apr 18 14:58 core
-rw-r--r-- 1 root wheel 5122 Apr 8 15:31 cron.php
drwxrwx--- 8 www www 14 Apr 11 14:08 data
-rw-r--r-- 1 root wheel 156 Apr 8 15:31 index.html
-rw-r--r-- 1 root wheel 2960 Apr 8 15:31 index.php
drwxrwx--- 6 www www 9 Apr 18 14:58 lib
-rw-r--r-- 1 root wheel 283 Apr 8 15:31 occ
drwxr-xr-x 2 root www 3 Apr 18 14:58 ocm-provider
drwxr-xr-x 2 root www 5 Apr 18 14:58 ocs
drwxr-xr-x 2 root www 3 Apr 18 14:58 ocs-provider
-rw-r--r-- 1 root wheel 3144 Apr 8 15:31 public.php
-rw-r--r-- 1 root wheel 5341 Apr 8 15:31 remote.php
drwxr-xr-x 4 root www 8 Apr 18 14:58 resources
-rw-r--r-- 1 root wheel 26 Apr 8 15:31 robots.txt
drwxrwx--- 3 www www 3 Aug 24 2020 settings
-rw-r--r-- 1 root wheel 2446 Apr 8 15:31 status.php
drwxr-xr-x 3 root www 4 Apr 18 14:58 themes
drwxrwxr-x 2 www www 5 Apr 18 14:58 updater
-rw-r--r-- 1 root wheel 382 Apr 8 15:32 version.php
root@nextcloud:/usr/local/www/nextcloud # chown -R www:www ../nextcloud
root@nextcloud:/usr/local/www/nextcloud # chmod -R g+w ../nextcloud
root@nextcloud:/usr/local/www/nextcloud # ls -l
total 197
-rw-rw-r-- 1 www www 2734 Apr 8 15:31 .htaccess
-rw-rw-r-- 1 www www 101 Apr 8 15:31 .user.ini
drwxrwx--- 3 www www 3 Apr 4 2019 .well-known
drwxrwx--- 45 www www 53 Apr 18 14:58 3rdparty
drwxrwxr-x 52 www www 52 Apr 11 14:08 apps
drwxrwxr-x 47 www www 47 Apr 8 15:32 apps-pkg
-rw-rw-r-- 1 www www 17900 Apr 8 15:31 AUTHORS
drwxrwxr-x 2 www www 8 Apr 18 15:23 config
-rw-rw-r-- 1 www www 3900 Apr 8 15:31 console.php
-rw-rw-r-- 1 www www 34520 Apr 8 15:31 COPYING
drwxrwx--- 22 www www 29 Apr 18 14:58 core
-rw-rw-r-- 1 www www 5122 Apr 8 15:31 cron.php
drwxrwx--- 8 www www 14 Apr 11 14:08 data
-rw-rw-r-- 1 www www 156 Apr 8 15:31 index.html
-rw-rw-r-- 1 www www 2960 Apr 8 15:31 index.php
drwxrwx--- 6 www www 9 Apr 18 14:58 lib
-rw-rw-r-- 1 www www 283 Apr 8 15:31 occ
drwxrwxr-x 2 www www 3 Apr 18 14:58 ocm-provider
drwxrwxr-x 2 www www 5 Apr 18 14:58 ocs
drwxrwxr-x 2 www www 3 Apr 18 14:58 ocs-provider
-rw-rw-r-- 1 www www 3144 Apr 8 15:31 public.php
-rw-rw-r-- 1 www www 5341 Apr 8 15:31 remote.php
drwxrwxr-x 4 www www 8 Apr 18 14:58 resources
-rw-rw-r-- 1 www www 26 Apr 8 15:31 robots.txt
drwxrwx--- 3 www www 3 Aug 24 2020 settings
-rw-rw-r-- 1 www www 2446 Apr 8 15:31 status.php
drwxrwxr-x 3 www www 4 Apr 18 14:58 themes
drwxrwxr-x 2 www www 5 Apr 18 14:58 updater
-rw-rw-r-- 1 www www 382 Apr 8 15:32 version.php
root@nextcloud:/usr/local/www/nextcloud # ~/occ.sh upgrade
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Disabled incompatible app: occweb
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in appstore
Checking for update of app activity in appstore
Checked for update of app "activity" in appstore
Checking for update of app admin_audit in appstore
Checked for update of app "admin_audit" in appstore
Checking for update of app cloud_federation_api in appstore
Checked for update of app "cloud_federation_api" in appstore
Checking for update of app comments in appstore
Checked for update of app "comments" in appstore
Checking for update of app contacts in appstore
Checked for update of app "contacts" in appstore
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in appstore
Checking for update of app dashboard in appstore
Checked for update of app "dashboard" in appstore
Checking for update of app dav in appstore
Checked for update of app "dav" in appstore
Checking for update of app deck in appstore
Checked for update of app "deck" in appstore
Checking for update of app encryption in appstore
Checked for update of app "encryption" in appstore
Checking for update of app federatedfilesharing in appstore
Checked for update of app "federatedfilesharing" in appstore
Checking for update of app federation in appstore
Checked for update of app "federation" in appstore
Checking for update of app files in appstore
Checked for update of app "files" in appstore
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in appstore
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in appstore
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in appstore
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in appstore
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in appstore
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in appstore
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in appstore
Checking for update of app logreader in appstore
Checked for update of app "logreader" in appstore
Checking for update of app lookup_server_connector in appstore
Checked for update of app "lookup_server_connector" in appstore
Checking for update of app nextcloud_announcements in appstore
Checked for update of app "nextcloud_announcements" in appstore
Checking for update of app notifications in appstore
Checked for update of app "notifications" in appstore
Checking for update of app oauth2 in appstore
Checked for update of app "oauth2" in appstore
Checking for update of app password_policy in appstore
Checked for update of app "password_policy" in appstore
Checking for update of app photos in appstore
Checked for update of app "photos" in appstore
Checking for update of app privacy in appstore
Checked for update of app "privacy" in appstore
Checking for update of app provisioning_api in appstore
Checked for update of app "provisioning_api" in appstore
Checking for update of app recommendations in appstore
Checked for update of app "recommendations" in appstore
Checking for update of app serverinfo in appstore
Checked for update of app "serverinfo" in appstore
Checking for update of app settings in appstore
Checked for update of app "settings" in appstore
Checking for update of app sharebymail in appstore
Checked for update of app "sharebymail" in appstore
Checking for update of app support in appstore
Checked for update of app "support" in appstore
Checking for update of app survey_client in appstore
Checked for update of app "survey_client" in appstore
Checking for update of app systemtags in appstore
Checked for update of app "systemtags" in appstore
Checking for update of app text in appstore
Checked for update of app "text" in appstore
Checking for update of app twofactor_backupcodes in appstore
Checked for update of app "twofactor_backupcodes" in appstore
Checking for update of app updatenotification in appstore
Checked for update of app "updatenotification" in appstore
Checking for update of app user_status in appstore
Checked for update of app "user_status" in appstore
Checking for update of app viewer in appstore
Checked for update of app "viewer" in appstore
Checking for update of app weather_status in appstore
Checked for update of app "weather_status" in appstore
Checking for update of app workflowengine in appstore
Checked for update of app "workflowengine" in appstore
Checking for update of app occweb in appstore
Checked for update of app "occweb" in appstore
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
root@nextcloud:/usr/local/www/nextcloud #
root@nextcloud:/usr/local/www/nextcloud # freebsd-version
12.1-RELEASE-p13
root@nextcloud:/usr/local/www/nextcloud #
Now everything seems to be fine.
Sorry, I wasn’t able to do it manually from the point the installation stucked in the first place on “Entry points” and gave the message “Update in Process.”. Therefor I started over again from the trunas plugin-updater.