Solved: Update warnings

Please redirect me if this is not the correct category, but during my last update 27.1.5. → 27.1.6. the updater trow a bunch of warnings:

sudo -u wwwrun -s /bin/bash -c '/usr/bin/php --define apc.enable_cli=1 /srv/www/htdocs/nextcloud/updater/updater.phar ’


Nextcloud Updater - version: v27.1.0rc3-15-gfa7af53

Current version is 27.1.5.

Update to Nextcloud 27.1.6 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-27.1.6.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
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[ ] Move new files in place ...PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/index.php,/srv/www/htdocs/nextcloud/updater/../index.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/index.php,/srv/www/htdocs/nextcloud/updater/../index.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/remote.php,/srv/www/htdocs/nextcloud/updater/../remote.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/remote.php,/srv/www/htdocs/nextcloud/updater/../remote.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/status.php,/srv/www/htdocs/nextcloud/updater/../status.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/status.php,/srv/www/htdocs/nextcloud/updater/../status.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/public.php,/srv/www/htdocs/nextcloud/updater/../public.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/public.php,/srv/www/htdocs/nextcloud/updater/../public.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
[✔] Move new files in place
[ ] Done ...PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/updater/index.php,/srv/www/htdocs/nextcloud/updater/../updater/index.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/updater/index.php,/srv/www/htdocs/nextcloud/updater/../updater/index.php): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/updater/updater.phar,/srv/www/htdocs/nextcloud/updater/../updater/updater.phar): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
PHP Warning:  rename(/opt/owncloud//updater-ocpedbeb2bn9/downloads/nextcloud/updater/updater.phar,/srv/www/htdocs/nextcloud/updater/../updater/updater.phar): Operation not permitted in phar:///srv/www/htdocs/nextcloud/updater/updater.phar/lib/Updater.php on line 934
[✔] Done

Update of code successful.

Should I be worried?


Regards
Klaus

Since the script only issued warnings, but was obviously still able to complete successfully, the question is whether everything works as expected.

Did you run

occ integrity:check-core

… after completing the script and the

occ upgrade

…? It should immediately complain if any files are missing or incorrect.

So if everything looks fine, then I wouldn’t see any reason to be worried.


Much and good luck,
ernolf

I did check the admin web interface yesterday and it had the green check mark.

I didn’t know about the integrity check command but ran it now - and it didn’t complain. The upgrade also ran without any issues.

Thanks for reassuring me.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.