500 server error when trying to save some options
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'
Snipe-IT version:v8.2.1 build 19068 (g6ca49a20c), PHP Version:8.3.8, Laravel Version:11.44.1
Usually fixed with php artisan migrate - does that do anything interesting?
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.
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.
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.