From 1c1a3abefc274706383075f692ed55e20bbde898 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 11 Jan 2026 22:42:19 +0100 Subject: [PATCH] Fix Invoice Ninja Error 500 by restoring file ownership after artisan commands (#10709) * Initial plan * Fix Invoice Ninja Error 500 by ensuring proper file ownership after artisan commands Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- install/invoiceninja-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/invoiceninja-install.sh b/install/invoiceninja-install.sh index 08d2edeac..b62930f49 100644 --- a/install/invoiceninja-install.sh +++ b/install/invoiceninja-install.sh @@ -106,6 +106,7 @@ $STD php artisan migrate --force $STD php artisan db:seed --force $STD php artisan ninja:post-update $STD php artisan optimize +chown -R www-data:www-data /opt/invoiceninja msg_ok "Set up Database" msg_info "Configuring Nginx"