InvoicePlane / InvoicePlane

A self-hosted open source application for managing your invoices, clients and payments.
https://www.invoiceplane.com
Other
2.55k stars 799 forks source link

After manually updating to 1.6: internal server error #884

Closed nielsdrost7 closed 1 year ago

nielsdrost7 commented 1 year ago

@aksysict I've opened that issue for you error

After that i change the php version from.7.4 to 8.1 on the hosting provider and i get only blank page. When i remove the new lines (dotenv) in index.php and set the old codes. Then it workes only dashboard. Invoices/clients/settings and other stuff does not work. And i dont get a error. Only page cannot be load warning on google chrome. i removed the first line in ipconfig.php ->

i turned on the debug mode on google chrome see the screenshot attached. this is exact the same what happend with the code in ipconfig.php so nothing changes

nielsdrost7 commented 1 year ago

@aksysict I took a look at your screenshot and it shows an internal server error (500) Can you try and run composer install or ,composer update

The internal server error would end up in your CodeIgniter log (hopefully) or in your server error log

And yes, I can better help you on slack, because that's easier. Here is the invite link: https://join.slack.com/t/invoiceplane/shared_invite/zt-sjirc9h2-952baR9rn4r8LyzRK9MveA

aksysict commented 1 year ago

@nielsdrost7 thanks for the reply. it is not our server. it is a ftp of our webhosting how i can run these commands?

nielsdrost7 commented 1 year ago

You run these commands by logging into the server, on the command line of that server. Remember what I said about slack? This is what I meant.

With your docker setup you can go to that prompt

adamedia-de commented 1 year ago

Hi, did you already figure out, what happened? Is the issue resolved? Also tried to update manually to 1.6 v3, replacing all files (except ipconfig.php and uploads) and unfortunately facing similar issues - no. Clean new installation of 1.6. v3 also failes on php 8.1 - any help would be appreciated...

nielsdrost7 commented 1 year ago

@adamedia-de remove the top line from ipconfig.php and see if you still have the same problem.

If it fails for you, I need screenshots and codeigniter log.

In the case of the issue, that I created, I did the following:

I'm helping users out on slack, since it's a lot of steps you need to check. https://join.slack.com/t/invoiceplane/shared_invite/zt-sjirc9h2-952baR9rn4r8LyzRK9MveA

Maybach91 commented 1 year ago

I got the following error:

Uncaught Dotenv\Exception\InvalidFileException: Failed to parse dotenv file

And the instructions from @nielsdrost7 solved my error, for a clean install on a php@8.1 server. Thank you!

nielsdrost7 commented 1 year ago

We've addressed above issue in the documentation that will be available on the wiki page: