php updater.phar
Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty
Current version is 16.0.5.
Update to Nextcloud 16.0.10 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-16.0.10.zip
Open changelog ↗
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:
.ht******f1itrl.data
.htaccess.pre-18.0.0
.ht******.appconfig.php
index.html.backup.********************************
index.html.backup.********************************
Update failed. To resume or retry just execute the updater again.
Those extra files aren’t only files by the way, for example ht******f1itrl.data is a directory with all my nextcloud users, and their files:
ht******f1itrl.data/user1$ ls
cache files files_trashbin files_versions uploads
Could you please help me to update nextcloud without loosing my files and parameters of course?
Many solutions I had read suggested to delete those extra files or directories, which wouldn’t be a good idea if they contain my users and their datas
Some others solutions suggest to move those files or directories out of the root folder of nextcloud, to run the update, then move them back in the root folder (if I understood correctly).
I tried but I’m still facing an update issue:
php updater.phar
Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty
PHP Warning: fopen(/home/clients/***************************************/web/fichiers/.ht******f1itrl.data/updater.log): failed to open stream: No such file or directory in phar:///home/clients/***************************************/web/fichiers/updater/updater.phar/lib/Updater.php on line 1101
Could not open updater.log
So the updater script is complaining when this directory is in the root folder, but complaining too if not there.
How to solve this issue?
The solution is probably somewhere in the forum, but I haven’t found it yet.
first of all… your user data should definitley not be in that directory (it’s hard to find out which data exactly updater complaint about if you are censoring this information as heavyily).
pls move it away from there (forum knows how to do that) before trying to proceed, permanentley.
after that pls try to update again and in case of failure pls add new errorcodes in their longform again. right now all i can see is a triple “///” somehwere which would, of course, lead to an error
Hi Jimmy,
I didn’t choose the user data directory. It’s automaticaly done by the shared hosting I mentionned earlier.
The censored informations are just random characters. I can of course send them to you in PM, tell me if you need them.
To be sure to understand you correctly, you suggest:
to move permanently the data folder
to find the related forum post to know how to do that
to try again the updater script
About point 2, regarding this post it’s not supported by NC but may be possible by editing config.php and the database (I hope I’ve access to the later):