snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Error 500 occurs->Create asset

Open arunbrajendran1985 opened this issue 1 year ago • 3 comments

Debug mode

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

image

image

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

arunbrajendran1985 avatar Sep 13 '22 18:09 arunbrajendran1985

👋 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.

welcome[bot] avatar Sep 13 '22 18:09 welcome[bot]

The error is telling you what’s wrong , no? What’s your APP_URL set to?

snipe avatar Sep 13 '22 18:09 snipe

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.)

Screen Shot 2022-07-28 at 11 35 47 PM

snipe avatar Sep 13 '22 18:09 snipe

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.

hackerman-hacking

snipe avatar Sep 28 '22 22:09 snipe

Thanks Issue got fixed :)

arunbrajendran1985 avatar Sep 30 '22 12:09 arunbrajendran1985