v4.0-beta3
Pre-releaseNew in v4.0-beta 3
This pre-release contains many improvements to API consistency from the previous alphas, in addition to some smaller bugfixes and UI improvements. See the complete changelog here.
Remember to run:
php composer.phar install --no-dev --prefer-source
php composer.phar dump-autoload
php artisan view:clear
php artisan cache:clear
php artisan config:clear
php artisan migrate
If it exists, you may delete the bootstrap/cache/compiled.php file. It is no longer used.
Important Note on Upgrading
THIS IS A BETA RELEASE. BACK UP YOUR APP KEY AND DATABASE FIRST.
If you are upgrading from a 3.x version of Snipe-IT, your app key was generated using the (deprecated) mcrypt library. Snipe-IT 4.x defaults to using an OpenSSL cipher instead of mcrypt - which will cause no issues if you are installing for the first time, but if you're upgrading, you may get a cipher error. If this happens, do the following:
- open your .env file and add a new field called
LEGACY_APP_KEY=and add your existing APP_KEY value there. - run
php artisan config:cacheto clear your config cache - run
php artisan snipeit:recrypter - run
php artisan key:generateto generate a new, non-mcrypt APP_KEY - clear your browser cookies
You MUST make sure you've backed up your original APP_KEY. The recrypter attempts to use mcrypt to decrypt any encrypted custom fields you have. If you do not run the recrypter and you change your APP_KEY, it will:
- make any encrypted fields undecryptable
- make your LDAP password undecryptable
- void all browser sessions