Hi Team, getting the following error when attempting to update via console
Current version is 16.0.2.
Update to Nextcloud 16.0.3 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-16.0.3.zip
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Enable maintenance mode
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✘] Check for expected files failed
The following extra files have been found:
Update failed. To resume or retry just execute the updater again.
However when I attempt to delete ‘.htnrsp0gvffdsb.data’ and run the updater it immediately gets recreated, any ideas on how to resolve this?
That file is in your nextcloud directory and is recreated when you delete it?? Sounds strange. Did you try the web updater?
Did you really delete it from the nextcloud directory?
- Check that it is present
- Delete it
- Check that is not present
- Repeat the upgrade
Yes I have verified that the directory is deleted, it just immediately gets recreated, within literal fractions of a second.
So its a directory? What is inside that dir? Try to read some content to find out which program created the files. Maybe some weird app.
It’s nextcloud data, see the image.
Did you set up your data directory correctly? It has to be different from the nextcloud installation directory. On a Debian or Ubuntu system, the nextcloud installation directory would be /var/www/nextcloud. The data directory would be /var/www/nextcloud/data. Even better would be to set up a separate data directory like /var/lib/nextcloud or something else. In each case set up the data directory in a different path of the installation directory. A subdirectory is ok, as mentioned above.
Seems your nextcloud is installed in /home/zamarax/public_html/cloud. Check the data directory that is in the config file /home/zamarax/public_html/cloud/config/config.php. Most likely it is set to your installation directory /home/zamarax/public_html/cloud. Change it to /home/zamarax/public_html/cloud/data.
I have, and it all runs via installatron. It has always worked and updated until 16.0.2 to 16.0.3 which appears to have broken somewhere.