-------------------------------------------------------- WELCOME TO THE SNIPE-IT UPGRADER! -------------------------------------------------------- This script will attempt to: - check your PHP version and extension requirements - do a git pull to bring you to the latest version - run composer install to get your vendors up to date - run migrations to get your schema up to date - clear out old cache settings -------------------------------------------------------- STEP 1: Checking PHP requirements: -------------------------------------------------------- Current PHP version: (7.2.34) is at least 7.2.0 - continuing... FYI: The php.ini used by this PHP is: /etc/php.ini Checking Required PHP extensions... √ bcmath is installed! √ curl is installed! √ fileinfo is installed! √ gd is installed! √ json is installed! √ ldap is installed! √ mbstring is installed! √ mysqli is installed! √ openssl is installed! √ PDO is installed! √ tokenizer is installed! √ xml is installed! √ zip is installed! -------------------------------------------------------- STEP 2: Backing up database: -------------------------------------------------------- -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -------------------------------------------------------- STEP 3: Putting application into maintenance mode: -------------------------------------------------------- -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -------------------------------------------------------- STEP 4: Pulling latest from Git (master branch): -------------------------------------------------------- Git is installed. Already on 'master' *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <snipeitapp@localhost>) not allowed Cannot save the current index state -- -- M .github/ISSUE_TEMPLATE/Bug_report.md M .github/ISSUE_TEMPLATE/Feature_request.md -- Already up-to-date. -------------------------------------------------------- Step 5: Cleaning up old cached files: -------------------------------------------------------- √ No bootstrap/cache/compiled.php, so nothing to delete. √ No bootsrap/cache/services.php, so nothing to delete. √ No bootstrap/cache/config.php, so nothing to delete. -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -------------------------------------------------------- Step 6: Updating composer dependencies: (This may take a moment.) -------------------------------------------------------- -- We couldn't find a local composer.phar. No worries, trying globally. sh: composer: command not found sh: composer: command not found -------------------------------------------------------- Step 7: Migrating database: -------------------------------------------------------- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() -------------------------------------------------------- Step 8: Checking for OAuth keys: -------------------------------------------------------- √ OAuth keys detected. Skipping passport install. -------------------------------------------------------- Step 9: Taking application out of maintenance mode: -------------------------------------------------------- -- In AuthServiceProvider.php line 92: Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn() ---------------------- FINISHED! ----------------------- All done! Clear your browser cookies and re-login to use your upgraded Snipe-IT! --------------------------------------------------------
Comments