snipe / snipe-it

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

Can't display correct Admin settings after upgraded v5.0.7 #8793

Open dhkivan opened 3 years ago

dhkivan commented 3 years ago

After upgraded v5.0.7, I can't change any settings in Admin Setting, nothing to be changed in webpage after modified and clicked Save, but double checked in mysql, the settings have been changed. And also can't change back the same value, e.g. now is showed ABC company in Site Name, I have changed to BCD company, in browser is still showed ABC company, but mysql has been changed to BCD company. Then I changed back to ABC company in browser, no change in browser and mysql. What's wrong.

I have deleted the cache in browsers and tried to use different account, but it is same.

By they way, all records can't be showed in IE, Chrome is no problem.

Actual Behavior

(what actually happens goes here)


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

snipe commented 3 years ago

What's in your app logs? Also can you confirm that your password minimum length requirement is 8 or higher?

dhkivan commented 3 years ago

The password is more than 8 char

and here is the log, but seems not related?

2020-11-27 01:00:02] production.ERROR: Class 'App\Console\Commands\AlertRecipient' not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'App\Console\Commands\AlertRecipient' not found at /var/www/snipe-it/app/Console/Commands/SendExpectedCheckinAlerts.php:59) Stack trace:

0 [internal function]: App\Console\Commands\SendExpectedCheckinAlerts->App\Console\Commands{closure}()

1 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Support/Collection.php(638): array_map()

2 /var/www/snipe-it/app/Console/Commands/SendExpectedCheckinAlerts.php(60): Illuminate\Support\Collection->map()

3 [internal function]: App\Console\Commands\SendExpectedCheckinAlerts->handle()

4 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array()

5 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/Util.php(36): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()

6 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\Util::unwrapIfClosure()

7 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod()

8 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()

9 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()

10 /var/www/snipe-it/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()

11 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()

12 /var/www/snipe-it/vendor/symfony/console/Application.php(1001): Illuminate\Console\Command->run()

13 /var/www/snipe-it/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand()

14 /var/www/snipe-it/vendor/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun()

15 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()

16 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\Console\Application->run()

17 /var/www/snipe-it/artisan(35): Illuminate\Foundation\Console\Kernel->handle()

18 {main}

[2020-11-27 01:00:02] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'App\Console\Commands\AlertRecipient' not found in /var/www/snipe-it/app/Console/Commands/SendExpectedCheckinAlerts.php:59 [stacktrace]

0 [internal function]: App\Console\Commands\SendExpectedCheckinAlerts->App\Console\Commands\{closure}()

1 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Support/Collection.php(638): array_map()

2 /var/www/snipe-it/app/Console/Commands/SendExpectedCheckinAlerts.php(60): Illuminate\Support\Collection->map()

3 [internal function]: App\Console\Commands\SendExpectedCheckinAlerts->handle()

4 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array()

5 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/Util.php(36): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()

6 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\Util::unwrapIfClosure()

7 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod()

8 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Container/Container.php(590): Illuminate\Container\BoundMethod::call()

9 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()

10 /var/www/snipe-it/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()

11 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()

12 /var/www/snipe-it/vendor/symfony/console/Application.php(1001): Illuminate\Console\Command->run()

13 /var/www/snipe-it/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand()

14 /var/www/snipe-it/vendor/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun()

15 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()

16 /var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\Console\Application->run()

17 /var/www/snipe-it/artisan(35): Illuminate\Foundation\Console\Kernel->handle()

18 {main}

"}

dhkivan commented 3 years ago

After upgraded to v5.0.10, I can't enable debug mode.

snipe commented 1 year ago

Are you still seeing this issue? This ticket is pretty old, and I'd like to close it if it's been resolved in more recent versions of Snipe-IT.