Trying to install v5 on apache2 which has been very frustrating. I have been using apache2 since I started using linux for web hosting so it would be really great to stick to it instead nginx.
My issue is a very generic 500 error when I try to connect to website, when I open the log in the storage folder it is empty.
I am new to invoiceninja as previous v4 installations have worked flawlessly for me, this is my first time using v5. With that said sorry for lack of info, but I will provide anything needed.
I followed the guide here obviously making changes to php version to 7.4 and downloading latest v5 from GitHub.
No .env? Then you haven’t finished preparations. Follow Install Invoice Ninja v5 on Ubuntu 20.04 (you can skip most of the nginx part part, but pay attention to the DocumentRoot)
Especially make sure you have:
set ownership and permissions of all your files correctly (chown -R and chmod -R are your friends)
initialized the application key
pointed your DocumentRoot to /path/to/invoiceninja/public (the public at the end is important)
APP_URL doesn’t have a trailing slash
mail port and encryption correspond (it’s “25” and “none” or “465” and “ssl” or “587” and “tls”)
@xoo@David That was it! Creating the .env and populating it with artisan made it work! Embarrassing because prior to this post I kept trying one or the other but was actually supposed to do both.
Okay, so I modified the .env file and changed DB_CONNECTION to the name of my db, that got me to a login screen. Unfortunately now, it doesn’t recognize my login credentials.
Where would I find the users tables? I figure that would be in invoiceninja itself but I can’t even access that due to login issues. I have ran “artisan tinker” with a successful db connection as well. As far as tinker though I do not know how to use it to show user table.