I have a VPS that has been running for a couple of years with about 50 registered users. Have with time upgraded to 20.0.14, but when I wanted to upgrade to 21.0.7 I got two issues:
- Your web server is not set up correctly to resolve “/.well-known/webfinger” and “/.well-known/nodeinfo”. I have read the forums and github and tried the proposed configurations in /etc/nginx/conf.d/nextcloud.conf but with nu success.
- After upgrade CollaboraOffice stopped working. When trying to create or open a document I just get a second copy of the upper NC meny. I have edited the /etc/nginx/conf.d/nextcloud.conf and added the proposed changes from here https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-with-nginx-webserver, I have reinstalled to collabora docker and removed and reinstalled the collabora app. Still same problem.
I have no warnings or errors in the nextcloud log accessible from the web-browser.
I can try harder but am ready to give up and find another solution.
Beside the old NC-version I also need to upgrade php and Ubuntu. So I am considering to migrate the current server to a new version, based on Ubuntu20 and php8.0. I have an experimental server NC21.0.8 with that configuration. Collabora works. I have no errors.
How can I migrate? I have seen instructions on how to migrate in the official manual. My question - will it work just to dump the current database and copy it to the new machine that has other versions of MysQL, php, Ubuntu and NC? Do I have to upgrade the current server first?
Current set up:
Operating system Ubuntu 18, eg Linux 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64
Webserver nginx/1.15.9 (fpm-fcgi)
Database mysql 10.3.15
PHP version 7.3.22-1+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, ldap, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version 20.0.14 - 126.96.36.199