snipe-it
snipe-it copied to clipboard
Error 500 occurs->Create asset
Debug mode
- [X] I have enabled debug mode
- [X] I have read checked the Common Issues page
Describe the bug
Iam getting Error 500 while creating new asset This was working fine before How ever Iam able to update the assets with out errors
Please help me to resolve this issue
Reproduction steps
1.Login into localhost 2. create a new asset 3. save ...
Expected behavior
Should be able to create an asset
Screenshots
Snipe-IT Version
snipe-i-6.0.10
Operating System
Windows
Web Server
Apache
PHP Version
PHP 8.1.6
Operating System
Windows
Browser
Firefox
Version
104.0.2 (64-bit
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
[2022-09-02 09:19:15] production.ERROR: Your APP_URL in your .env is misconfigured - it is: localhost. Many things will work strangely unless you fix it.
Additional context
No response
👋 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.
The error is telling you what’s wrong , no? What’s your APP_URL
set to?
My guess would be that your APP_URL
is misconfigured in your .env
file. Per the documentation, the APP_URL should be the complete URL to your Snipe-IT installation, including the http://
(or https://
if you're running over TLS.)
Hi there - We haven't heard back in a bit, so I'm going to close this ticket for now, but will re-open it if you're still having issues.
Thanks Issue got fixed :)