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

500 server error when trying to save some options

Open UserGoodtm opened this issue 1 year ago • 3 comments

Good afternoon. Today I updated the system from 8.1.18 to 8.2.1. In the "general settings" I tried to enable the "registration settings", but when saving, I got the error "500 server error". The same error (500) occurred when trying to activate another option in the general settings. Perhaps (I haven't checked) error 500 will affect all the options in the general settings that I would try to enable.

In debug mode - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'manager_view_enabled' in 'field list'

Image

Snipe-IT version:v8.2.1 build 19068 (g6ca49a20c), PHP Version:8.3.8, Laravel Version:11.44.1

UserGoodtm avatar Jul 25 '25 07:07 UserGoodtm

Usually fixed with php artisan migrate - does that do anything interesting?

uberbrady avatar Jul 25 '25 11:07 uberbrady

Usually fixed with php artisan migrate - does that do anything interesting?

Nothing has helped me so far. I rolled back to the latest version. I followed the common-issues instructions and then updated again. The error occurred again. I ran php artisan migrate (I agreed to the migration), but it did not help. The error is attached.

I've tried with other options in the general settings, and I get the same 500 error.

Image

P.S. I've realized that I've had this error since at least version 8.1.18. It's just that I don't often change anything in the general settings, so I didn't immediately notice the error.

UserGoodtm avatar Jul 26 '25 12:07 UserGoodtm

I think I've solved my problem. It turns out that I had an old version of the database... and there were possible issues with composer (probably not installed? but only some dependencies). I updated mariadb to centos 7 and installed composer. The problem I was facing has been resolved, and the 500 error no longer appears.

UserGoodtm avatar Jul 27 '25 14:07 UserGoodtm