Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error after new install #6360

Closed
davidschmidt88 opened this issue Oct 24, 2018 · 1 comment
Closed

500 error after new install #6360

davidschmidt88 opened this issue Oct 24, 2018 · 1 comment

Comments

@davidschmidt88
Copy link

Hi, I just installed latest version with the install script on a newly created Ubuntu VM 18.04.1 server.

I can't get anything on the web server, I get error 500.

Even with the recommended commands I get errors.
Any help is greatly appreciated!

snipeitapp@snapit:/var/www/snipeit$ php artisan config:clear
PHP Fatal error: Uncaught Error: Class 'Log' not found in /var/www/snipeit/app/Exceptions/Handler.php:39
Stack trace:
#0 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): App\Exceptions\Handler->report(Object(Dotenv\Exception\InvalidFileException))
#1 /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(124): Illuminate\Foundation\Console\Kernel->reportException(Object(Dotenv\Exception\InvalidFileException))
#2 /var/www/snipeit/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 {main}
thrown in /var/www/snipeit/app/Exceptions/Handler.php on line 39
@davidschmidt88
Copy link
Author

Ok, solution is this: #5341

Ok found the error..
When the wizard finishes with the mail settings, I used a space in the MAIL_FROM_NAME & MAIL_REPLYTO_NAME. (Asset Management).
After removing this space in my .ENV file everything works. /var/www/snipeit/.env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant