Hi!.
I have got a broken installation of nextcloud. It was working great but I show, as admin a message “click here to upgrade version” and I did it and it fails, after that I realized that I have installed nextcloud through the Opensuse packet manager and upgrades should go this way. Then I removed the nextcloud package and installed it again, some things works but others don’t. I documented it here.
Te point is that I think it may be easier to backup user data, delete nexcloud install it from scratch and recover the backed up data. I have seen some documents explaining the backup process but if i only want to backup alll user data (files, calendar, etc.) but no the system files what should I back up?
I think some of the stuff will be in the files under /srv/www/htdocs/netxcloud/data wich is the data directory set in config.php (should I backup/restore the entire directory? is there everything in there?) but other stuff will be in the mysql database, but… if I backup/restore the entire database will not make the things that are working bad work bad again? should I restore the database in a selective way?
The data/user/files folder contains the files, but stuff like contacts, calendar, user credentials etc. are in the MySQL database. I haven’t got a good picture of everything you tried, hence not of the state the install is in now. One of the things I do know from the nextcloud website and their docs is that the advice in case of a failure during upgrade/update is to enter the webroot of the install and run
aldebaran:/srv/www/htdocs/nextcloud # sudo -u wwwrun php occ upgrade
Nextcloud is already latest version
aldebaran:/srv/www/htdocs/nextcloud #
I don’t really know what went broken, but I had nextcloud and collabra working and now nextcloud does not work well and collabra does not work at all,so, as there was not very difficult to install and configure them both, and I have the process documented, I think it may be more straightforwad to delete/reinstall, but the problem is that I’m not sure about the backup/restore part.
in the apache vhost for the collabora server ( in my case office.knurpht.nl
I’ve already contacted one of the collabora people that they have to include some check for required changes and have the app’s settings display a clear message ( like NC itself does ) what to change.
(collabora online setup) Could not establish connection to the Collabora Online server
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation.
there are a lot of files…
and…
Version Nextcloud 18.0.4
A new version is available: Nextcloud 18.0.5 All apps have an update for this version available
I’m thinking on trying the upgrade… It may not be worse