snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.93k stars 3.16k forks source link

404 page not found on company delete #14902

Open pira067 opened 3 months ago

pira067 commented 3 months ago

Debug mode

Describe the bug

  1. Whenever I try to edit/delete the company i get 404 page not found error
  2. even after I created the company It's not showing in the asset creation

Reproduction steps

1.Delete the company lead to error 2. 3. ...

Expected behavior

it's suppose to delete the file and the 2nd issue suppose to show company when i am creating the assets

Screenshots

image image

Snipe-IT Version

7.0.3

Operating System

Windows

Web Server

Apache

PHP Version

8.2.12

Operating System

Windows

Browser

Chrome

Version

126.0.6478.61

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

45
46
47
48
            return $this->getRouteForMethods($request, $others);
        }

        throw new NotFoundHttpException(sprintf(
            'The route %s could not be found.',
            $request->path()
        ));

8.2.12
1.03s
29MB
10.48.4
production
en-US
ERRORlaravel.log[2024-06-18 17:41:52] production.ERROR: Maximum execution time of 600 seconds exceeded {"exception":...
ERRORlaravel.log[2024-06-18 17:41:52] production.ERROR: Symfony\Component\ErrorHandler\Error\FatalError: Maximum exe...

Additional context

Fresh Install Manual installation same error on other browsers as well

welcome[bot] commented 3 months ago

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

snipe commented 3 months ago

That definitely sounds odd. I can't recreate this on the demo or locally. Did anyone on your end perhaps change any files?

pira067 commented 3 months ago

That definitely sounds odd. I can't recreate this on the demo or locally. Did anyone on your end perhaps change any files?

Not at all. I just created new account for my organization and Followed the installation process. So it's just 1 day old account.

snipe commented 3 months ago

I am still unable to reproduce this, unfortunately :(

Can you run these commands and see if that improves anything?

git pull
php composer.phar install --no-dev --prefer-source
php composer.phar dump-autoload
php artisan migrate
php artisan config:clear
php artisan cache:clear
php artisan route:clear
snipe commented 3 months ago

@pira067 any update?