-
-
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
500 Internal Server Error when Upgrading to 7 #14878
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
You should see some useful stuff in |
I just fixed the 500 server error by following this guide: https://stackoverflow.com/a/60635087 However, I am now getting a panda saying "The service is temporarily unavailable for system updates. Please check back later." Edit: I have figured out the issue. I forgot to do Reference: #7242
|
Glad you got it sorted :) |
Hey all. Unfortunately that fix did not work. I get a blank page when trying to open snipe. I'll get the contents of that log file here shortly. |
@bstamand Unfortunately, without the logs we asked for in the issue template, it makes it really difficult for us to debug anything for you. |
Hello. Thank you, just haven't had a chance to get the log. Here is the last section: [previous exception] [object] (ReflectionException(code: -1): Class "Illuminate\Http\Middleware\HandleCors" does not exist at /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/Contain> |
@bstamand, What happens when you run Also, follow the guide below to fix common issues, as your error is exactly what I got earlier. https://snipe-it.readme.io/docs/common-issues
|
@snipe seeing this behavior on cbb5b6e (v7.0.2 tag) with the Docker image as well. Anything different between the Git install and the dockerized image? v6.4.2 from Docker Hub works in my env, but upgrading to v7.0.2 image is a breaking change. |
@bstamand Generally when we see that, it's because |
Thank you. Here are my php modules installed. Is there anything missing? php.x86_64 |
First of all, thanks @snipe and your team for an excellent product. Much appreciated. Got the same error as @bstamand today. My system: xampp php 8.1.7, windows, current ver 6.2.3 - upgrade to 7.0.3, apache What I did to fix was backup (done) --> php upgrade.php (all good) --> restart apache and mysql --> open the site and got the 500 error msg Hope this helps! |
@toann-g genius! that fixed it thank you! |
Debug mode
Describe the bug
After upgrading to v7 from 6.4.2, the main page gets a 500 internal server error.
Reproduction steps
1.Perform upgrade
2.
3.
...
Expected behavior
Snipe-IT version 7 functions normally.
Screenshots
No response
Snipe-IT Version
Current 6.4.2
Operating System
Windows
Web Server
Apache
PHP Version
8.1
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: