-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Server Error: 500 (Internal Server Error) #796
Comments
As I mentioned in the other thread, please see the issue on this page. http://snipeitapp.com/documentation/common-issues/ Also, you need to make the public directory the DocumentRoot. |
Thanks Snipe. Mod_rewrite is already enabled. I've run a phpinfo and it shows that its enabled. When I access http://192.168.100.100 its redirected me here http://192.168.100.100/auth/signin but still getting the Server Error: 500 (Internal Server Error). |
What is in your logs? |
Apache does not show any error. Im assuming you need log from the /var/www/html/snipeit/app/storage/logs Here's the result of tail -f /var/www/html/snipeit/app/storage/logs/log-apache2handler-2015-05-10.txt #3 /var/www/html/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) |
Can you show me your CLI output from start to finish while installing? It looks like something went wrong somewhere in the install. |
Thanks Snipe Actually when I checked the complete logs it does show a "Database [] not configured". I've checked the common issues but still can't find where the error/misconfig might be. Here are my configs [root@snipe-it production]# cat /etc/hosts 192.168.100.100 snipe-it snipe-it.mydomain.com [root@snipe-it bootstrap]# hostname snipe-it.mydomain.com [root@snipe-it bootstrap]# cat start.php $env = $app->detectEnvironment(array(
[root@snipe-it production]# cat database.php 'mysql' => array( [root@snipe-it production]# cat app.php 'url' => 'http://snipe-it.mydomain.com', [root@snipe-it production]# mysql -u root -p mysql> show databases; [root@snipe-it logs]# cat log-apache2handler-2015-05-12.txt Next exception 'ErrorException' with message 'Database [] not configured. (View: /var/www/html/snipeit/app/views/backend/layouts/default.blade.php)' in /var/www/html/snipeit/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:263 Next exception 'ErrorException' with message 'Database [] not configured. (View: /var/www/html/snipeit/app/views/backend/layouts/default.blade.php) (View: /var/www/html/snipeit/app/views/backend/layouts/default.blade.php)' in /var/www/html/snipeit/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:263 |
Hello Snipe Finally got it working. Also from your other thread (#192). I moved the database.php to app/config then the errors are gone. Thanks a lot |
2023/11/16 04:56:23 [warn] 2292#2292: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/snipeit.conf:3 |
unable to login , it showing 500 server error |
Hello Snipe
Im on my 2nd day of installing and trying to figure out how to run Snipe-IT.
Using just IP is fine with me so as to isolate the issue. I managed to install everything and was able to display up to http://192.168.100.100/snipe-it/ (showing content of the folder) but when i clicked the public Im still getting the page not found error.
Pls help. what i else do i need to check. Also mod_rewrite is installed and configured.
I both installed it in Centos and Ubuntu and got exact similar problem.
Thanks in advance
The text was updated successfully, but these errors were encountered: