Update => 23.0.5 configBAK.php not readable, how to secure?

I am trying to update my NC 23.0.2 to 23.0.5. I am running Debian 10 and PHP 7.4.

I normally always use the GUI, but for a reason unknown to me the GUI failed at “Creating backup” so i used this command on the CLI:

sudo -u www-data php updater/updater.phar

Which also failed at “Creating backup” but also told me the reason. ConfigBAK.php is not readable. I have done several updates so i am not sure why this time it is not readable, but ok let’s focus on the solution :slight_smile:

I know i have to change the rights to that file, but every topic i come across someone says “make sure to secure your NC afterwards” (something like that).

So my question is how do i set the rights to the file so that create backup will not fail? AND how do i make sure that afterwards my NC is secure?

I don’t wanna make a mistake and leave my NC wide open…

I have seen the sticky on this, but is that still up to date?

Never mind, just deleted the file (rm /var/www/nextcloud/config/configBAK.php)

After that i was able to update to 23.0.5 through the GUI. And after that i was also able to update to 24.0.1 :slight_smile: