Update failed from 5.1.14

Hi!
I installed InvoiceNinja on two completely different shared web hosters. Both support teams were very helpful (installed github directly in my folder etc.).
On both installations, I cannot update from v5.1.14.

I get this error message:
error
There are no logs in laravel.log besides:

[2021-04-05 10:35:03] production.INFO: latest version = 5.1.34
[2021-04-05 10:45:03] production.INFO: latest version = 5.1.34
[2021-04-05 10:45:03] production.INFO: latest version = 5.1.34

Any idea what to do?

Thank you!

Hi,

What do you see if you run git diff in the folder?

old mode 100755
new mode 100644
diff --git a/public/images/svg/shield.svg b/public/images/svg/shield.svg
old mode 100755
new mode 100644
diff --git a/public/images/svg/user.svg b/public/images/svg/user.svg
old mode 100755
new mode 100644
diff --git a/public/images/visa.png b/public/images/visa.png
old mode 100755
new mode 100644
diff --git a/public/index.php b/public/index.php
old mode 100755
new mode 100644
diff --git a/public/js/app.js b/public/js/app.js
old mode 100755
new mode 100644
diff --git a/public/js/client_create.js b/public/js/client_create.js
old mode 100755
new mode 100644
diff --git a/public/js/client_create.min.js b/public/js/client_create.min.js

It goes on like this forever…

It looks like the file permissions may have been changed, was it done on purpose?

You should be able to discard the changes by running git checkout .

No, it wasn’t done on purpose…

You should be able to discard the changes by running git checkout .

I tried that, it broke the installation… now I get a HTTP ERROR 500 and still nothing new in the log file.

Have you also checked the web sever error logs for any details about the error?

@david any thoughts?

sounds like permissions issues.

All the files must be web writable, you can then try.

git fetch
git reset --hard origin/v5-stable
composer install --no-dev -o
php artisan migrate