selfhosting update > HTTP ERROR 500

Hello ladies & gentlemen,

I just tried updating from 3.8.1 to 4.1.0 but copying the files over resulted in a 500 HTTP ERROR. laravel-error.log doesn’t tell me anything. What would you do?

Regards,
Chris

Any errors in the webserver error logs?

[11-Jan-2018 14:10:43 UTC] PHP Fatal error: Uncaught ReflectionException: Class LaravelCrawlerDetect does not exist in /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php:1479
Stack trace:
#0 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1479): ReflectionClass->__construct(‘LaravelCrawlerD…’)
#1 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1433): Illuminate\Container\Container->build(‘LaravelCrawlerD…’, Array)
#2 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(2011): Illuminate\Container\Container->make(‘LaravelCrawlerD…’, Array)
#3 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1686): Illuminate\Foundation\Application->make(‘LaravelCrawlerD…’)
#4 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(6444): Illuminate\Container\Container->offsetGet(‘LaravelCrawlerD…’)
#5 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(6430): Illuminate\Support\Facades\Facade::resolveF in /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php on line 1479
[11-Jan-2018 14:10:43 UTC] PHP Fatal error: Uncaught ReflectionException: Class LaravelCrawlerDetect does not exist in /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php:1479
Stack trace:
#0 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1479): ReflectionClass->__construct(‘LaravelCrawlerD…’)
#1 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1433): Illuminate\Container\Container->build(‘LaravelCrawlerD…’, Array)
#2 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(2011): Illuminate\Container\Container->make(‘LaravelCrawlerD…’, Array)
#3 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(1686): Illuminate\Foundation\Application->make(‘LaravelCrawlerD…’)
#4 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(6444): Illuminate\Container\Container->offsetGet(‘LaravelCrawlerD…’)
#5 /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php(6430): Illuminate\Support\Facades\Facade::resolveF in /www/htdocs/w012e8f4/billing.webdevtrust.com/bootstrap/cache/compiled.php on line 1479

Try replacing app/Exceptions/Handler.php with this file:

https://raw.githubusercontent.com/invoiceninja/invoiceninja/master/app/Exceptions/Handler.php

Also, are you using the self host zip or did you get the code from GitHub?

I just re-uploaded the files and now everything is working great. Sorry for the inconvenience and thank you very much for your support.

Great to hear!