Hi @rakekniven, thanks for your help.
- integrity check. This seems OK. I had to ask google what an integrity check was, so let me know if this is not it.
dale@whizzer:/usr/local/www/nextcloud % sudo -u www ./occ --all files:scan
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
Starting scan for user 1 out of 4 (dale)
Starting scan for user 2 out of 4 (dale.s@telematic.com)
Starting scan for user 3 out of 4 (dale_admin)
Starting scan for user 4 out of 4 (ulian)
+---------+--------+--------------+
| Folders | Files | Elapsed time |
+---------+--------+--------------+
| 11957 | 186167 | 00:16:17 |
+---------+--------+--------------+
dale@whizzer:/usr/local/www/nextcloud %
- file/folder “dist”
Yes. there is a directory “dist/”, the files all have 2022-05-19 timestamps. My first thought was to delete it, but I saw a post of similar symptoms and the OP reported they deleted the dist/ directory and Nextcloud stopped responding.
root@whizzer:/usr/local/www/nextcloud # ll
total 178
-rw-r--r-- 1 www www 3343 May 24 08:24 .htaccess
-rw-r--r-- 1 www www 101 May 19 12:04 .user.ini
drwxr-xr-x 43 www www 50 May 24 08:13 3rdparty/
-rw-r--r-- 1 www www 19327 May 19 12:04 AUTHORS
-rw-r--r-- 1 www www 34520 May 19 12:04 COPYING
drwxr-xr-x 55 www www 55 Jun 22 21:29 apps/
drwxr-xr-x 2 www www 6 May 24 08:24 config/
-rw-r--r-- 1 www www 3924 May 19 12:04 console.php
drwxr-xr-x 22 www www 28 May 24 08:13 core/
-rw-r--r-- 1 www www 6260 May 19 12:04 cron.php
drwxr-x--- 9 www www 14 Dec 17 2021 data/
drwxr-xr-x 2 www www 147 May 24 08:13 dist/
-rw-r--r-- 1 www www 156 May 19 12:04 index.html
-rw-r--r-- 1 www www 3456 May 19 12:04 index.php
drwxr-xr-x 6 www www 9 May 24 08:13 lib/
-rwxr--r-- 1 www www 283 May 19 12:04 occ*
drwxr-xr-x 2 www www 3 May 24 08:13 ocm-provider/
drwxr-xr-x 2 www www 5 May 24 08:13 ocs/
drwxr-xr-x 2 www www 3 May 24 08:13 ocs-provider/
-rw-r--r-- 1 www www 3139 May 19 12:04 public.php
-rw-r--r-- 1 www www 5340 May 19 12:04 remote.php
drwxr-xr-x 4 www www 8 May 24 08:13 resources/
-rw-r--r-- 1 www www 26 May 19 12:04 robots.txt
-rw-r--r-- 1 www www 2452 May 19 12:04 status.php
drwxr-xr-x 3 www www 4 May 24 08:13 themes/
drwxr-xr-x 2 www www 4 May 23 12:01 updater/
-rw-r--r-- 1 www www 382 May 19 12:09 version.php
root@whizzer:/usr/local/www/nextcloud #
root@whizzer:/usr/local/www/nextcloud # ll dist
total 13833
-rw-r--r-- 1 www www 7750 May 19 12:04 accessibility-accessibility.js
-rw-r--r-- 1 www www 842 May 19 12:04 accessibility-accessibility.js.LICENSE.txt
-rw-r--r-- 1 www www 25651 May 19 12:04 accessibility-accessibility.js.map
...
-rw-r--r-- 1 www www 68445 May 19 12:04 weather_status-weather-status.js
-rw-r--r-- 1 www www 1649 May 19 12:04 weather_status-weather-status.js.LICENSE.txt
-rw-r--r-- 1 www www 75048 May 19 12:04 weather_status-weather-status.js.map
-rw-r--r-- 1 www www 94465 May 19 12:04 workflowengine-workflowengine.js
-rw-r--r-- 1 www www 2744 May 19 12:04 workflowengine-workflowengine.js.LICENSE.txt
-rw-r--r-- 1 www www 226447 May 19 12:04 workflowengine-workflowengine.js.map
root@whizzer:/usr/local/www/nextcloud #
- Nextcloud > Settings > Administration > Logging
The only issues that seemed at all interesting were several “*.txt” files were flagged as not being UTF-8 with comment “This may cause problems” (although I expect not with upgrading).
- Nextcloud log
I looked at the end of the Nextcloud log file immediately after trying to upgrade, but the only questionable entries were the same text files flagged as not being UTF-8 in the Nextcloud Admin dashboard.
dale@whizzer:~ % sudo -u www tail -n 3 /usr/local/www/nextcloud/data/nextcloud.log
{"reqId":"X0HldBirqcS9waLP1XyV","level":2,"time":"2022-06-08T22:48:52+00:00","remoteAddr":"162.223.103.50","user":"dale","app":"notes","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=sensor&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FLib%2520ENG%26fileid%3D6035","message":"File encoding for /dale/files/Notes/MySQL/backup_script.txt is not UTF-8. This may cause problems.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36","version":"24.0.1.1"}
{"reqId":"YTB199xshMAFWoowRcQK","level":2,"time":"2022-06-08T22:49:48+00:00","remoteAddr":"162.223.103.50","user":"dale","app":"notes","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=rtd&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FLib%2520ENG%26fileid%3D6035","message":"File encoding for /dale/files/Notes/FreeBSD (dalescott.net sysadmin)/backup_script.txt is not UTF-8. This may cause problems.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36","version":"24.0.1.1"}
{"reqId":"YTB199xshMAFWoowRcQK","level":2,"time":"2022-06-08T22:49:48+00:00","remoteAddr":"162.223.103.50","user":"dale","app":"notes","method":"GET","url":"/ocs/v2.php/search/providers/notes/search?term=rtd&from=%2Fapps%2Ffiles%2F%3Fdir%3D%2FLib%2520ENG%26fileid%3D6035","message":"File encoding for /dale/files/Notes/MySQL/backup_script.txt is not UTF-8. This may cause problems.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36","version":"24.0.1.1"}
dale@whizzer:~ %