-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http error 500 after upgrade #8240
Comments
does it mean i need to upgrade carbon ? |
Should not need to upgrade Carbon, no. Without more specific error messages from the 500 error, there isn't really a way for us to know what's happening here. Can you tell me what's in your |
|
is tons of logs which as above. |
The version of PHP you're using is not high enough. As we mention on the changelog, current Snipe-IT requires PHP 7.1.3 or higher.
|
Expected Behavior (or desired behavior if a feature request)
run snipe it in browser without issue after update to latest 4.9.3
Actual Behavior
http error 500
Please confirm you have done the following before posting your bug report:
Provide answers to these questions:
is an upgrade.
4.9.0
Ver 15.1 Distrib 10.1.45-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Ver 15.1 Distrib 10.1.45-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Ubuntu 16.04.6 LTS webmin 1.953
install.sh and php upgrade.php
no
index.html
no
no
can't login to system , so i re run the upgrade.php and i got this.
STEP 1: Backing up database:
-- Starting backup...
Dumping database snipeit...
Determining files to backup...
Zipping 478 files...
Created zip containing 478 files. Size is 792.02 KB
Copying zip to disk named local...
Successfully copied zip to disk named local.
Backup completed!
STEP 2: Putting application into maintenance mode:
-- Application is now in maintenance mode.
STEP 3: Pulling latest from Git (master branch):
Git is installed.
Already on 'master'
-- -- No local changes to save
-- Your branch is up-to-date with 'origin/master'.
-- Already up-to-date.
Step 4: Cleaning up old cached files:
-- No bootstrap/cache/compiled.php, so nothing to delete.
-- Deleting bootstrap/cache/services.php. It it no longer used.
-- Deleting bootstrap/cache/config.php. It it no longer used.
-- Configuration cache cleared!
-- Cache cleared successfully.
-- Route cache cleared!
-- Compiled views cleared!
Step 5: Updating composer dependencies:
(This may take an moment.)
-- Local composer.phar detected, so we'll use that.
-- Updating local composer.phar
You are already using composer version 1.10.9 (stable channel).
Deprecation Notice: Class ParsedownTest located in ./vendor/erusev/parsedown/test/ParsedownTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/snipeit/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class App\Http\Transformers\DepartmentsTransformer located in ./app/Http/Transformers/DepartmentsTranformer.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/snipeit/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class App\Notifications\RequestAssetCancelationNotification located in ./app/Notifications/RequestAssetCancelation.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///var/www/snipeit/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
Discovered Package: barryvdh/laravel-cors
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: laravel/passport
Discovered Package: laravel/tinker
Discovered Package: laravelcollective/html
Discovered Package: nesbot/carbon
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: rollbar/rollbar-laravel
Discovered Package: schuppo/password-strength
Discovered Package: spatie/laravel-backup
Discovered Package: tightenco/ziggy
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
Step 6: Migrating database:
(everything after step 6 is perfectly standard and normal)
The text was updated successfully, but these errors were encountered: