After the installation of 4.4, i’ve this error in the webUI:
Whoops, looks like something went wrong.
in the laravel error log: [2018-04-25 06:16:00] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError [0] : /home/xx/public_html/invoice/vendor/laravelcollective/html/src/FormBuilder.php [Line 1290] => Type error: Argument 1 passed to Collective\Html\FormBuilder::setSessionStore() must be an instance of Illuminate\Contracts\Session\Session, instance of Illuminate\Session\EncryptedStore given, called in /home/xx/public_html/invoice/vendor/laravelcollective/html/src/HtmlServiceProvider.php on line 66 {"context":"PHP","user_id":0,"account_id":0,"user_name":"","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36","locale":"en","ip":"xxx","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"/"} [
Don’t know what’s happening, now the cache:clear is solved by deleting the compiled.php but when accessing the update i’ve this: [2018-04-25 07:22:19] production.ERROR: ErrorException [0] : /home/xx/public_html/invoice/app/Http/Controllers/AppController.php [Line 354] => Undefined property: stdClass::$Tables_in_ {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36”,“locale”:“en”,“ip”:“xxx”,“count”:3,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“update”}
The DB is set in the .env, i’ve made a php artisan config:cache to make sure the .env is correctly used.
I’ve tried to again use the /update without any success but when accessing the root folder / all is working fine…
You should be able to repeatedly load /update, it mainly runs the database migrations and clears the view cache.
What method are you using to install the app? You shouldn’t have the bootstrap/cache/compiled.php file on a new install, it may be related to this problem.
i’m using the Invoice Ninja Self-Hosted Automatic Update.
I see now in the logs that i’ve more and more issues production.ERROR: TypeError: undefined is not an object (evaluating ‘n.custom_fields.invoice1’) {“context”:“JavaScript”
Sorry i see that the topic title is confusing.
It’s a migration from 4.3 to 4.4 using the automatic update script as mentioned https://pastebin.com/j657uv9A