Cannot update system, services.php is not writable

Hey folks,

I can’t update my Version at the moment.
Running on v5.2.10 and want to update to v5.2.16.
The update is shown (blue triangle in sidebar)

My InvoiceNinja is installed via ZIP on a Plesk-Server.

The /config/services.php has 777-rights on the webuser.

Has anyone an idea how to fix this?
Thanks in advance.

(I can only upload 1 image per post/reply :sweat_smile:)

@david do you have any ideas?

This is due to a artisan command being run by a non-www user.

You’ll need to chown bootstrap/cache to the webuser and then try again.

I chowned the cache folder to my web user and tried again to update.
Sadly, my entire application is broken now.

Got this message after clicking on “update now”:

And this error when trying to run php artisan migrate

PHP Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::configureMonologUsing() in /var/www/vhosts/…/ninja/bootstrap/app.php:61
Stack trace:
#0 /var/www/vhosts/…/ninja/artisan(18): require_once()
#1 {main}
thrown in /var/www/vhosts/…/ninja/bootstrap/app.php on line 61