Hi,
I have migrated my files and database to another server.
The original invoice ninja was created by the softaculous autoinstaller.
So far I have done:
recreate the subdomain it was hosted in.
copied the files
updated the database name, user and password in the env file
dumped the database files in the new database.
I do get the " Whoops, looks like something went wrong." error.
My log files show these errors:
[2021-04-14 17:03:10] production.ERROR: ErrorException [0] : /home/lionti5/URL/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 138] => unserialize(): Error at offset 0 of 81 bytes {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0”,“locale”:“en”,“ip”:“209.182.204.120”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-04-14 17:03:19] production.ERROR: ErrorException [0] : /home/lionti5/URL/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 138] => unserialize(): Error at offset 0 of 81 bytes {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0”,“locale”:“en”,“ip”:“209.182.204.120”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
[2021-04-14 17:03:44] production.ERROR: ErrorException [0] : /home/lionti5/URL/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php [Line 138] => unserialize(): Error at offset 0 of 81 bytes {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0”,“locale”:“en”,“ip”:“209.182.204.120”,“count”:1,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []
If you could point me towards an article or some other resource to troubleshoot this issue, I’d be very thankful!
Do I need to provide other information to solve this?
Also I have replaced the actual url with “URL” in above error messages, just for context and privacy.