Advertisement
tom

SnipeIT 4.9.2 to 5.0.11 fail

tom
Dec 11th, 2020
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. --------------------------------------------------------
  2. WELCOME TO THE SNIPE-IT UPGRADER!
  3. --------------------------------------------------------
  4.  
  5. This script will attempt to:
  6.  
  7. - check your PHP version and extension requirements
  8. - do a git pull to bring you to the latest version
  9. - run composer install to get your vendors up to date
  10. - run migrations to get your schema up to date
  11. - clear out old cache settings
  12.  
  13. --------------------------------------------------------
  14. STEP 1: Checking PHP requirements:
  15. --------------------------------------------------------
  16.  
  17. Current PHP version: (7.2.34) is at least 7.2.0 - continuing...
  18. FYI: The php.ini used by this PHP is: /etc/php.ini
  19.  
  20. Checking Required PHP extensions...
  21.  
  22. √ bcmath is installed!
  23. √ curl is installed!
  24. √ fileinfo is installed!
  25. √ gd is installed!
  26. √ json is installed!
  27. √ ldap is installed!
  28. √ mbstring is installed!
  29. √ mysqli is installed!
  30. √ openssl is installed!
  31. √ PDO is installed!
  32. √ tokenizer is installed!
  33. √ xml is installed!
  34. √ zip is installed!
  35.  
  36. --------------------------------------------------------
  37. STEP 2: Backing up database:
  38. --------------------------------------------------------
  39.  
  40. --
  41. In AuthServiceProvider.php line 92:
  42.  
  43. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  44.  
  45.  
  46.  
  47.  
  48. --------------------------------------------------------
  49. STEP 3: Putting application into maintenance mode:
  50. --------------------------------------------------------
  51.  
  52. --
  53. In AuthServiceProvider.php line 92:
  54.  
  55. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  56.  
  57.  
  58.  
  59. --------------------------------------------------------
  60. STEP 4: Pulling latest from Git (master branch):
  61. --------------------------------------------------------
  62.  
  63. Git is installed.
  64. Already on 'master'
  65.  
  66. *** Please tell me who you are.
  67.  
  68. Run
  69.  
  70. git config --global user.email "you@example.com"
  71. git config --global user.name "Your Name"
  72.  
  73. to set your account's default identity.
  74. Omit --global to set the identity only in this repository.
  75.  
  76. fatal: empty ident name (for <snipeitapp@localhost>) not allowed
  77. Cannot save the current index state
  78. -- -- M .github/ISSUE_TEMPLATE/Bug_report.md
  79. M .github/ISSUE_TEMPLATE/Feature_request.md
  80. -- Already up-to-date.
  81.  
  82. --------------------------------------------------------
  83. Step 5: Cleaning up old cached files:
  84. --------------------------------------------------------
  85.  
  86. √ No bootstrap/cache/compiled.php, so nothing to delete.
  87. √ No bootsrap/cache/services.php, so nothing to delete.
  88. √ No bootstrap/cache/config.php, so nothing to delete.
  89.  
  90. --
  91. In AuthServiceProvider.php line 92:
  92.  
  93. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  94.  
  95.  
  96. --
  97. In AuthServiceProvider.php line 92:
  98.  
  99. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  100.  
  101.  
  102. --
  103. In AuthServiceProvider.php line 92:
  104.  
  105. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  106.  
  107.  
  108. --
  109. In AuthServiceProvider.php line 92:
  110.  
  111. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  112.  
  113.  
  114.  
  115. --------------------------------------------------------
  116. Step 6: Updating composer dependencies:
  117. (This may take a moment.)
  118. --------------------------------------------------------
  119.  
  120. -- We couldn't find a local composer.phar. No worries, trying globally.
  121.  
  122. sh: composer: command not found
  123. sh: composer: command not found
  124.  
  125. --------------------------------------------------------
  126. Step 7: Migrating database:
  127. --------------------------------------------------------
  128.  
  129.  
  130. In AuthServiceProvider.php line 92:
  131.  
  132. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  133.  
  134.  
  135.  
  136. --------------------------------------------------------
  137. Step 8: Checking for OAuth keys:
  138. --------------------------------------------------------
  139.  
  140. √ OAuth keys detected. Skipping passport install.
  141.  
  142. --------------------------------------------------------
  143. Step 9: Taking application out of maintenance mode:
  144. --------------------------------------------------------
  145.  
  146. --
  147. In AuthServiceProvider.php line 92:
  148.  
  149. Call to undefined method Laravel\Passport\Passport::personalAccessTokensExpireIn()
  150.  
  151.  
  152.  
  153. ---------------------- FINISHED! -----------------------
  154. All done! Clear your browser cookies and re-login to use
  155. your upgraded Snipe-IT!
  156. --------------------------------------------------------
  157.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement