Git Product home page Git Product logo

Comments (15)

JGitBuddy avatar JGitBuddy commented on August 16, 2024 2

I created the folder "C:\inetpub\wwwroot\snipe-it/storage/app/backup-temp" and verified from the Properties -> Security tab that IUSR user has Modify access to the folder and reran the "php upgrade.php --skip-php-compatibility-checks" command, and I get the following output:

`C:\inetpub\wwwroot\snipe-it>php upgrade.php --skip-php-compatibility-checks

WELCOME TO THE SNIPE-IT UPGRADER!

This script will attempt to:

  • validate some very basic .env file settings
  • check your PHP version and extension requirements
  • check directory permissions
  • 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

NOTICE: Unable to fetch upgrade requirements, but continuing because you passed --skip-php-compatibility-checks...
Launching using branch: master
Y
Proceed with upgrade? [Y/n]:
Skipping user check as it is not supported on Windows or Posix is not installed on this server.

STEP 1: Checking .env file:

  • Your .env is located at C:\inetpub\wwwroot\snipe-it/.env

√ Your APP_KEY is not blank.
√ Your APP_URL is not null or blank. It is set to http://10.29.0.97
√ Your APP_URL is set to http://10.29.0.97 and starts with the protocol (https:// or http://)
√ Your APP_URL (http://10.29.0.97) does not have a trailing slash.
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!
√ sodium is installed!
√ tokenizer is installed!
√ xml is installed!
√ zip is installed!


STEP 3: Checking directory permissions:

√ C:\inetpub\wwwroot\snipe-it/bootstrap/cache is writable
√ C:\inetpub\wwwroot\snipe-it/storage is writable
√ C:\inetpub\wwwroot\snipe-it/storage/logs is writable
√ C:\inetpub\wwwroot\snipe-it/storage/logs/laravel.log is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/cache is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/sessions is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/views is writable
√ C:\inetpub\wwwroot\snipe-it/storage/app is writable
√ C:\inetpub\wwwroot\snipe-it/storage/app/backups is writable
√ C:\inetpub\wwwroot\snipe-it/storage/app/backup-temp is writable
√ C:\inetpub\wwwroot\snipe-it/storage/private_uploads is writable
√ C:\inetpub\wwwroot\snipe-it/public/uploads is writable


STEP 4: Backing up database:

-- Starting backup...
Dumping database snipeit...
Determining files to backup...
Zipping 566 files and directories...
Created zip containing 566 files and directories. Size is 24.98 MB
Copying zip to disk named backup...
Successfully copied zip to disk named backup.
Backup completed!


STEP 5: Putting application into maintenance mode:

-- Application is now in maintenance mode.

STEP 6: Pulling latest from Git (master branch):

Git is installed.
Already on 'master'
warning: in the working copy of 'composer.lock', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'public/vendor/livewire/livewire.js', LF will be replaced by CRLF the next time Git touches it
-- Saved working directory and index state WIP on master: 7886881 Merge remote-tracking branch 'origin/develop'
-- M composer.lock
M public/vendor/livewire/livewire.js
M public/vendor/livewire/livewire.js.map
M public/vendor/livewire/manifest.json
Your branch is up to date with 'origin/master'.
-- Already up to date.


STEP 7: Cleaning up old cached files:

√ No bootstrap/cache/compiled.php, so nothing to delete.
√ Deleting bootstrap/cache/services.php. It is no longer used.
√ No bootstrap/cache/config.php, so nothing to delete.
√ No vendor/symfony/translation/TranslatorInterface.php, so nothing to delete.

-- Configuration cache cleared!
-- Application cache cleared!
-- Route cache cleared!
-- Compiled views cleared!


STEP 8: Updating composer dependencies:
(This may take a moment.)

-- Running the app in production mode.
-- We couldn't find a local composer.phar. No worries, trying globally.
Since you are running composer globally, we won't try to update it for you.
If you run into issues with this step, try running composer self-update
before running this updater again

Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 2 installs, 101 updates, 75 removals

  • Downloading symfony/deprecation-contracts (v2.5.2)
  • Downloading symfony/polyfill-mbstring (v1.28.0)
  • Downloading symfony/polyfill-php80 (v1.28.0)
  • Downloading symfony/polyfill-ctype (v1.28.0)
  • Downloading phpoption/phpoption (1.8.1)
  • Downloading graham-campbell/result-type (v1.0.4)
  • Downloading vlucas/phpdotenv (v5.4.1)
  • Downloading symfony/css-selector (v4.4.37)
  • Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
  • Downloading symfony/var-dumper (v5.4.9)
  • Downloading symfony/routing (v5.4.8)
  • Downloading symfony/process (v5.4.28)
  • Downloading symfony/polyfill-php72 (v1.26.0)
  • Downloading symfony/polyfill-intl-normalizer (v1.28.0)
  • Downloading symfony/polyfill-intl-idn (v1.26.0)
  • Downloading symfony/mime (v5.4.10)
  • Downloading symfony/polyfill-php73 (v1.28.0)
  • Downloading symfony/http-foundation (v5.4.10)
  • Downloading symfony/event-dispatcher-contracts (v2.5.2)
  • Downloading symfony/event-dispatcher (v5.4.9)
  • Downloading psr/log (1.1.4)
  • Downloading symfony/error-handler (v5.4.9)
  • Downloading symfony/http-kernel (v5.4.20)
  • Downloading symfony/finder (v5.4.27)
  • Downloading symfony/polyfill-intl-grapheme (v1.28.0)
  • Downloading symfony/string (v5.4.32)
  • Downloading symfony/service-contracts (v2.5.2)
  • Downloading symfony/console (v5.4.32)
  • Downloading symfony/polyfill-iconv (v1.26.0)
  • Downloading symfony/polyfill-php81 (v1.28.0)
  • Downloading ramsey/collection (1.2.2)
  • Downloading brick/math (0.9.3)
  • Downloading ramsey/uuid (4.2.3)
  • Downloading symfony/translation-contracts (v2.5.2)
  • Downloading symfony/translation (v5.4.9)
  • Downloading nesbot/carbon (2.59.1)
  • Downloading monolog/monolog (2.7.0)
  • Downloading league/mime-type-detection (1.11.0)
  • Downloading league/flysystem (1.1.9)
  • Downloading nette/utils (v3.2.7)
  • Downloading nette/schema (v1.2.2)
  • Downloading dflydev/dot-access-data (v3.0.1)
  • Downloading league/config (v1.1.1)
  • Downloading league/commonmark (2.3.4)
  • Downloading laravel/serializable-closure (v1.2.0)
  • Downloading dragonmantank/cron-expression (v3.3.1)
  • Downloading laravel/framework (v8.83.22)
  • Downloading maximebf/debugbar (v1.18.0)
  • Downloading sabberworm/php-css-parser (8.4.0)
  • Downloading phenx/php-font-lib (0.5.4)
  • Downloading barryvdh/laravel-dompdf (v2.0.0)
  • Downloading dasprid/enum (1.0.3)
  • Downloading doctrine/annotations (1.13.3)
  • Downloading doctrine/reflection (1.2.3)
  • Downloading doctrine/event-manager (1.1.1)
  • Downloading doctrine/collections (1.6.8)
  • Downloading doctrine/deprecations (v1.0.0)
  • Downloading doctrine/dbal (3.3.7)
  • Downloading squizlabs/php_codesniffer (3.7.1)
  • Downloading facade/flare-client-php (1.9.1)
  • Downloading facade/ignition (2.17.6)
  • Downloading asm89/stack-cors (v2.1.1)
  • Downloading laravel-notification-channels/microsoft-teams (v1.1.4)
  • Downloading laravel/helpers (v1.5.0)
  • Downloading symfony/psr-http-message-bridge (v2.1.2)
  • Syncing php-http/message-factory (v1.0.2) into cache
  • Downloading nyholm/psr7 (1.6.1)
  • Downloading league/uri (6.7.1)
  • Downloading lcobucci/clock (2.0.0)
  • Downloading lcobucci/jwt (4.1.5)
  • Downloading defuse/php-encryption (v2.3.1)
  • Downloading firebase/php-jwt (v6.3.0)
  • Downloading laravel/passport (v10.4.1)
  • Downloading laravel/slack-notification-channel (v2.4.0)
  • Downloading laravel/socialite (v5.6.1)
  • Downloading nikic/php-parser (v4.14.0)
  • Downloading psy/psysh (v0.11.7)
  • Downloading laravel/tinker (v2.7.2)
  • Downloading laravelcollective/html (v6.3.0)
  • Downloading league/csv (9.8.0)
  • Downloading aws/aws-sdk-php (3.295.4)
  • Downloading markbaker/matrix (3.0.0)
  • Downloading markbaker/complex (3.0.1)
  • Syncing myclabs/php-enum (1.8.3) into cache
  • Downloading maennchen/zipstream-php (2.2.1)
  • Downloading ezyang/htmlpurifier (v4.14.0)
  • Downloading phpoffice/phpspreadsheet (1.24.1)
  • Downloading maatwebsite/excel (3.1.40)
  • Downloading livewire/livewire (v2.10.6)
  • Downloading filp/whoops (2.14.5)
  • Downloading paragonie/sodium_compat (v1.19.0)
  • Downloading phpdocumentor/type-resolver (1.6.1)
  • Downloading sebastian/recursion-context (4.0.4)
  • Downloading sebastian/exporter (4.0.4)
  • Downloading sebastian/diff (4.0.4)
  • Downloading sebastian/comparator (4.0.6)
  • Downloading doctrine/instantiator (1.4.1)
  • Downloading phpspec/prophecy (v1.15.0)
  • Downloading bacon/bacon-qr-code (2.0.7)
  • Downloading rollbar/rollbar (v2.1.0)
  • Downloading tecnickcom/tc-lib-color (1.14.14)
  • Downloading tecnickcom/tc-lib-barcode (1.17.14)
  • Downloading tecnickcom/tcpdf (6.6.2)
    0/101 [>---------------------------] 0%
    10/101 [==>-------------------------] 9%
    11/101 [===>------------------------] 10%
    21/101 [=====>----------------------] 20%
    34/101 [=========>------------------] 33%
    45/101 [============>---------------] 44%
    51/101 [==============>-------------] 50%
    64/101 [=================>----------] 63%
    72/101 [===================>--------] 71%
    81/101 [======================>-----] 80%
    92/101 [=========================>--] 91%
    101/101 [============================] 100%
  • Removing vimeo/psalm (5.22.2)
  • Removing theseer/tokenizer (1.2.3)
  • Removing symfony/var-exporter (v6.4.4)
  • Removing symfony/stopwatch (v6.4.3)
  • Removing symfony/options-resolver (v6.4.0)
  • Removing symfony/http-client-contracts (v3.4.0)
  • Removing symfony/http-client (v6.2.13)
  • Removing symfony/filesystem (v6.4.3)
  • Removing symfony/dom-crawler (v4.4.45)
  • Removing symfony/cache-contracts (v2.5.2)
  • Removing symfony/cache (v5.4.36)
  • Removing stella-maris/clock (0.1.7)
  • Removing spatie/array-to-xml (3.2.3)
  • Removing slevomat/coding-standard (8.14.1)
  • Removing seld/signal-handler (2.0.2)
  • Removing seld/phar-utils (1.2.1)
  • Removing seld/jsonlint (1.10.2)
  • Removing sebastian/version (3.0.2)
  • Removing sebastian/type (3.2.1)
  • Removing sebastian/resource-operations (3.0.3)
  • Removing sebastian/object-reflector (2.0.4)
  • Removing sebastian/object-enumerator (4.0.4)
  • Removing sebastian/lines-of-code (1.0.4)
  • Removing sebastian/global-state (5.0.7)
  • Removing sebastian/environment (5.1.5)
  • Removing sebastian/complexity (2.0.3)
  • Removing sebastian/code-unit-reverse-lookup (2.0.3)
  • Removing sebastian/code-unit (1.0.8)
  • Removing sebastian/cli-parser (1.0.2)
  • Removing react/promise (v3.1.0)
  • Removing psr/clock (1.0.0)
  • Removing phpunit/phpunit (9.6.17)
  • Removing phpunit/php-token-stream (3.1.3)
  • Removing phpunit/php-timer (5.0.3)
  • Removing phpunit/php-text-template (2.0.4)
  • Removing phpunit/php-invoker (3.1.1)
  • Removing phpunit/php-file-iterator (3.0.6)
  • Removing phpunit/php-code-coverage (9.2.31)
  • Removing phpstan/phpstan (1.8.11)
  • Removing phpstan/phpdoc-parser (1.26.0)
  • Removing php-parallel-lint/php-parallel-lint (v1.3.2)
  • Removing php-mock/php-mock-phpunit (2.10.0)
  • Removing php-mock/php-mock-integration (2.3.0)
  • Removing php-mock/php-mock (2.5.0)
  • Removing phar-io/version (3.2.1)
  • Removing phar-io/manifest (2.0.4)
  • Removing nunomaduro/phpinsights (v2.11.0)
  • Removing nunomaduro/larastan (1.0.4)
  • Removing netresearch/jsonmapper (v4.4.1)
  • Removing myclabs/deep-copy (1.11.1)
  • Removing mockery/mockery (1.6.7)
  • Removing league/container (4.2.0)
  • Removing justinrainbow/json-schema (v5.2.13)
  • Removing jean85/pretty-package-versions (2.0.5)
  • Removing hamcrest/hamcrest-php (v2.0.1)
  • Removing friendsofphp/php-cs-fixer (v3.51.0)
  • Removing fidry/cpu-core-counter (1.1.0)
  • Removing felixfbecker/language-server-protocol (v1.5.2)
  • Removing felixfbecker/advanced-json-rpc (v3.2.1)
  • Removing fakerphp/faker (v1.23.1)
  • Removing dnoegel/php-xdg-base-dir (v0.1.1)
  • Removing dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
  • Removing composer/xdebug-handler (3.0.3)
  • Removing composer/spdx-licenses (1.5.8)
  • Removing composer/semver (3.4.0)
  • Removing composer/pcre (3.1.2)
  • Removing composer/metadata-minifier (1.0.0)
  • Removing composer/composer (2.7.1)
  • Removing composer/class-map-generator (1.1.0)
  • Removing composer/ca-bundle (1.4.1)
  • Removing cmgmyr/phploc (8.0.3)
  • Removing carbonphp/carbon-doctrine-types (2.1.0)
  • Removing brianium/paratest (v6.11.0)
  • Removing amphp/byte-stream (v1.8.1)
  • Removing amphp/amp (v2.6.2)
  • Downgrading symfony/deprecation-contracts (v3.4.0 => v2.5.2): Extracting archive
  • Downgrading symfony/polyfill-mbstring (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading symfony/polyfill-php80 (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading symfony/polyfill-ctype (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading phpoption/phpoption (1.9.2 => 1.8.1): Extracting archive
  • Downgrading graham-campbell/result-type (v1.1.2 => v1.0.4): Extracting archive
  • Downgrading vlucas/phpdotenv (v5.6.0 => v5.4.1): Extracting archive
  • Downgrading symfony/css-selector (v4.4.44 => v4.4.37): Extracting archive
  • Downgrading tijsverkoyen/css-to-inline-styles (v2.2.7 => 2.2.4): Extracting archive
  • Downgrading symfony/var-dumper (v5.4.36 => v5.4.9): Extracting archive
  • Downgrading symfony/routing (v5.4.37 => v5.4.8): Extracting archive
  • Downgrading symfony/process (v5.4.36 => v5.4.28): Extracting archive
  • Downgrading symfony/polyfill-php72 (v1.29.0 => v1.26.0): Extracting archive
  • Downgrading symfony/polyfill-intl-normalizer (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading symfony/polyfill-intl-idn (v1.29.0 => v1.26.0): Extracting archive
  • Downgrading symfony/mime (v5.4.35 => v5.4.10): Extracting archive
  • Downgrading symfony/polyfill-php73 (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading symfony/http-foundation (v5.4.35 => v5.4.10): Extracting archive
  • Downgrading symfony/event-dispatcher-contracts (v3.4.0 => v2.5.2): Extracting archive
  • Downgrading symfony/event-dispatcher (v6.4.3 => v5.4.9): Extracting archive
  • Downgrading psr/log (2.0.0 => 1.1.4): Extracting archive
  • Downgrading symfony/error-handler (v5.4.36 => v5.4.9): Extracting archive
  • Downgrading symfony/http-kernel (v5.4.37 => v5.4.20): Extracting archive
  • Downgrading symfony/finder (v5.4.35 => v5.4.27): Extracting archive
  • Downgrading symfony/polyfill-intl-grapheme (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading symfony/string (v6.4.4 => v5.4.32): Extracting archive
  • Downgrading symfony/service-contracts (v3.4.1 => v2.5.2): Extracting archive
  • Downgrading symfony/console (v5.4.36 => v5.4.32): Extracting archive
  • Downgrading symfony/polyfill-iconv (v1.29.0 => v1.26.0): Extracting archive
  • Downgrading symfony/polyfill-php81 (v1.29.0 => v1.28.0): Extracting archive
  • Downgrading ramsey/collection (2.0.0 => 1.2.2): Extracting archive
  • Downgrading brick/math (0.11.0 => 0.9.3): Extracting archive
  • Downgrading ramsey/uuid (4.7.5 => 4.2.3): Extracting archive
  • Downgrading symfony/translation-contracts (v3.4.1 => v2.5.2): Extracting archive
  • Downgrading symfony/translation (v6.4.4 => v5.4.9): Extracting archive
  • Downgrading nesbot/carbon (2.72.3 => 2.59.1): Extracting archive
  • Downgrading monolog/monolog (2.9.2 => 2.7.0): Extracting archive
  • Downgrading league/mime-type-detection (1.15.0 => 1.11.0): Extracting archive
  • Downgrading league/flysystem (1.1.10 => 1.1.9): Extracting archive
  • Downgrading nette/utils (v4.0.4 => v3.2.7): Extracting archive
  • Downgrading nette/schema (v1.3.0 => v1.2.2): Extracting archive
  • Downgrading dflydev/dot-access-data (v3.0.2 => v3.0.1): Extracting archive
  • Downgrading league/config (v1.2.0 => v1.1.1): Extracting archive
  • Downgrading league/commonmark (2.4.2 => 2.3.4): Extracting archive
  • Downgrading laravel/serializable-closure (v1.3.3 => v1.2.0): Extracting archive
  • Downgrading dragonmantank/cron-expression (v3.3.3 => v3.3.1): Extracting archive
  • Downgrading laravel/framework (v8.83.27 => v8.83.22): Extracting archive
  • Downgrading maximebf/debugbar (v1.21.0 => v1.18.0): Extracting archive
  • Downgrading sabberworm/php-css-parser (v8.5.1 => 8.4.0): Extracting archive
  • Downgrading phenx/php-font-lib (0.5.6 => 0.5.4): Extracting archive
  • Downgrading barryvdh/laravel-dompdf (v2.0.1 => v2.0.0): Extracting archive
  • Downgrading dasprid/enum (1.0.5 => 1.0.3): Extracting archive
  • Downgrading doctrine/annotations (1.14.3 => 1.13.3): Extracting archive
  • Downgrading doctrine/reflection (1.2.4 => 1.2.3): Extracting archive
  • Downgrading doctrine/event-manager (1.2.0 => 1.1.1): Extracting archive
  • Downgrading doctrine/collections (1.8.0 => 1.6.8): Extracting archive
  • Downgrading doctrine/deprecations (1.1.3 => v1.0.0): Extracting archive
  • Downgrading doctrine/dbal (3.8.3 => 3.3.7): Extracting archive
  • Downgrading squizlabs/php_codesniffer (3.9.0 => 3.7.1): Extracting archive
  • Downgrading facade/flare-client-php (1.10.0 => 1.9.1): Extracting archive
  • Downgrading facade/ignition (2.17.7 => 2.17.6): Extracting archive
  • Downgrading asm89/stack-cors (v2.2.0 => v2.1.1): Extracting archive
  • Downgrading laravel-notification-channels/microsoft-teams (v1.1.5 => v1.1.4): Extracting archive
  • Downgrading laravel/helpers (v1.7.0 => v1.5.0): Extracting archive
  • Downgrading symfony/psr-http-message-bridge (v2.3.1 => v2.1.2): Extracting archive
  • Installing php-http/message-factory (v1.0.2): Cloning a478cb11f6 from cache
  • Downgrading nyholm/psr7 (1.8.1 => 1.6.1): Extracting archive
  • Downgrading league/uri (6.8.0 => 6.7.1): Extracting archive
  • Downgrading lcobucci/clock (2.3.0 => 2.0.0): Extracting archive
  • Upgrading lcobucci/jwt (4.0.4 => 4.1.5): Extracting archive
  • Downgrading defuse/php-encryption (v2.4.0 => v2.3.1): Extracting archive
  • Downgrading firebase/php-jwt (v6.10.0 => v6.3.0): Extracting archive
  • Downgrading laravel/passport (v10.4.2 => v10.4.1): Extracting archive
  • Downgrading laravel/slack-notification-channel (v2.5.0 => v2.4.0): Extracting archive
  • Downgrading laravel/socialite (v5.12.1 => v5.6.1): Extracting archive
  • Downgrading nikic/php-parser (v4.18.0 => v4.14.0): Extracting archive
  • Downgrading psy/psysh (v0.12.0 => v0.11.7): Extracting archive
  • Downgrading laravel/tinker (v2.9.0 => v2.7.2): Extracting archive
  • Downgrading laravelcollective/html (v6.4.1 => v6.3.0): Extracting archive
  • Downgrading league/csv (9.15.0 => 9.8.0): Extracting archive
  • Downgrading aws/aws-sdk-php (3.300.13 => 3.295.4): Extracting archive
  • Downgrading markbaker/matrix (3.0.1 => 3.0.0): Extracting archive
  • Downgrading markbaker/complex (3.0.2 => 3.0.1): Extracting archive
  • Installing myclabs/php-enum (1.8.3): Cloning b942d263c6 from cache
  • Downgrading maennchen/zipstream-php (3.1.0 => 2.2.1): Extracting archive
  • Downgrading ezyang/htmlpurifier (v4.17.0 => v4.14.0): Extracting archive
  • Downgrading phpoffice/phpspreadsheet (1.29.0 => 1.24.1): Extracting archive
  • Downgrading maatwebsite/excel (3.1.55 => 3.1.40): Extracting archive
  • Downgrading livewire/livewire (v2.12.6 => v2.10.6): Extracting archive
  • Downgrading filp/whoops (2.15.4 => 2.14.5): Extracting archive
  • Downgrading paragonie/sodium_compat (v1.20.0 => v1.19.0): Extracting archive
  • Downgrading phpdocumentor/type-resolver (1.8.2 => 1.6.1): Extracting archive
  • Downgrading sebastian/recursion-context (4.0.5 => 4.0.4): Extracting archive
  • Downgrading sebastian/exporter (4.0.6 => 4.0.4): Extracting archive
  • Downgrading sebastian/diff (4.0.6 => 4.0.4): Extracting archive
  • Downgrading sebastian/comparator (4.0.8 => 4.0.6): Extracting archive
  • Downgrading doctrine/instantiator (1.5.0 => 1.4.1): Extracting archive
  • Downgrading phpspec/prophecy (v1.19.0 => v1.15.0): Extracting archive
  • Downgrading bacon/bacon-qr-code (2.0.8 => 2.0.7): Extracting archive
  • Downgrading rollbar/rollbar (v3.1.4 => v2.1.0): Extracting archive
  • Downgrading tecnickcom/tc-lib-color (1.14.39 => 1.14.14): Extracting archive
  • Downgrading tecnickcom/tc-lib-barcode (1.18.4 => 1.17.14): Extracting archive
  • Downgrading tecnickcom/tcpdf (6.6.5 => 6.6.2): Extracting archive
    0/166 [>---------------------------] 0%
    9/166 [=>--------------------------] 5%
    19/166 [===>------------------------] 11%
    28/166 [====>-----------------------] 16%
    38/166 [======>---------------------] 22%
    46/166 [=======>--------------------] 27%
    54/166 [=========>------------------] 32%
    63/166 [==========>-----------------] 37%
    65/166 [==========>-----------------] 39%
    72/166 [============>---------------] 43%
    75/166 [============>---------------] 45%
    82/166 [=============>--------------] 49%
    85/166 [==============>-------------] 51%
    91/166 [===============>------------] 54%
    94/166 [===============>------------] 56%
    102/166 [=================>----------] 61%
    107/166 [==================>---------] 64%
    112/166 [==================>---------] 67%
    116/166 [===================>--------] 69%
    119/166 [====================>-------] 71%
    123/166 [====================>-------] 74%
    127/166 [=====================>------] 76%
    131/166 [======================>-----] 78%
    133/166 [======================>-----] 80%
    137/166 [=======================>----] 82%
    142/166 [=======================>----] 85%
    145/166 [========================>---] 87%
    147/166 [========================>---] 88%
    151/166 [=========================>--] 90%
    155/166 [==========================>-] 93%
    156/166 [==========================>-] 93%
    160/166 [==========================>-] 96%
    162/166 [===========================>] 97%
    163/166 [===========================>] 98%
    164/166 [===========================>] 98%
    165/166 [===========================>] 99%
    166/166 [============================] 100%
    Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
    Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
    Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package nunomaduro/larastan is abandoned, you should avoid using it. Use larastan/larastan instead.
    Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
@php artisan vendor:publish --force --tag=livewire:assets --ansi
86 packages you are using are looking for funding.
Use the composer fund command to find out more!
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
@php artisan vendor:publish --force --tag=livewire:assets --ansi
Generating optimized autoload files
Discovered Package: arietimmerman/laravel-scim-server
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: intervention/image
Discovered Package: laravel-notification-channels/google-chat
Discovered Package: laravel-notification-channels/microsoft-teams
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: livewire/livewire
Discovered Package: maatwebsite/excel
Discovered Package: mediconesystems/livewire-datatables
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: spatie/laravel-backup
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
Copied Directory [\vendor\livewire\livewire\dist] To [\public\vendor\livewire]
Publishing complete.
Generated optimized autoload files containing 8839 classes

Discovered Package: arietimmerman/laravel-scim-server
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: intervention/image
Discovered Package: laravel-notification-channels/google-chat
Discovered Package: laravel-notification-channels/microsoft-teams
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: livewire/livewire
Discovered Package: maatwebsite/excel
Discovered Package: mediconesystems/livewire-datatables
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: spatie/laravel-backup
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
Copied Directory [\vendor\livewire\livewire\dist] To [\public\vendor\livewire]
Publishing complete.

STEP 9: Migrating database:

Migrating: 2024_02_28_080016_add_created_by_to_permission_groups
Migrated: 2024_02_28_080016_add_created_by_to_permission_groups (27.29ms)
Migrating: 2024_02_28_093807_add_min_qty_to_licenses
Migrated: 2024_02_28_093807_add_min_qty_to_licenses (6.35ms)


STEP 10: Checking for OAuth keys:

√ OAuth keys detected. Skipping passport install.


STEP 11: Taking application out of maintenance mode:

-- Application is now live.

---------------------- FINISHED! -----------------------
All done! Clear your browser cookies and re-login to use
your upgraded Snipe-IT!
--------------------------------------------------------`

IT WORKED!

from snipe-it.

snipe avatar snipe commented on August 16, 2024

Do a git pull first. IIRC, this was fixed in #14236

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Okay, I ran the "git pull" command from CMD.exe. I will run the command "php upgrade.php" at the end of the day today to upgrade the Snipe-IT since my folks are working right now in the system. I'll let you know if it worked.

Thanks.

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Uhoh, after I ran the "git pull" command from CMD.exe, Snipe-IT is getting this error message:

500 Server Error

I reverted my Snipe-IT version to v6.3.1 for now.

from snipe-it.

snipe avatar snipe commented on August 16, 2024

We'd need actual error logs, not just the generic 500 error. Did you do a git pull and then run the upgrade script?

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Yes, I ran the upgrade script after doing a git pull command.

from snipe-it.

snipe avatar snipe commented on August 16, 2024

And what was the output of the upgrade script?

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

I'm duplicating the Snipe-IT folder right now so that I can test it. I'll let you know what error message I get.

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

From my test Snipe-IT folder, I'm following the steps from "Switching to a Git Install" so that I can update the Snipe-IT via that "php upgrade.php" command:

After I run the composer install from "C:\inetpub\wwwroot\snipe-it" directory from CMD.exe, it gives me the following errors:

composer install fail

So, I tried running "composer update" as seen from the red highlighted message, and I get the following output:

`C:\inetpub\wwwroot\snipe-it>composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 3 installs, 138 updates, 2 removals

  • Removing myclabs/php-enum (1.8.3)
  • Removing php-http/message-factory (v1.0.2)
  • Upgrading asm89/stack-cors (v2.1.1 => v2.2.0)
  • Upgrading aws/aws-sdk-php (3.295.4 => 3.300.13)
  • Upgrading bacon/bacon-qr-code (2.0.7 => 2.0.8)
  • Upgrading barryvdh/laravel-dompdf (v2.0.0 => v2.0.1)
  • Upgrading brianium/paratest (v6.6.2 => v6.11.0)
  • Upgrading brick/math (0.9.3 => 0.11.0)
  • Locking carbonphp/carbon-doctrine-types (2.1.0)
  • Upgrading cmgmyr/phploc (8.0.2 => 8.0.3)
  • Upgrading composer/ca-bundle (1.3.7 => 1.4.1)
  • Upgrading composer/pcre (3.1.1 => 3.1.2)
  • Upgrading dasprid/enum (1.0.3 => 1.0.5)
  • Upgrading defuse/php-encryption (v2.3.1 => v2.4.0)
  • Upgrading dflydev/dot-access-data (v3.0.1 => v3.0.2)
  • Upgrading doctrine/annotations (1.13.3 => 1.14.3)
  • Upgrading doctrine/collections (1.6.8 => 1.8.0)
  • Upgrading doctrine/dbal (3.3.7 => 3.8.3)
  • Upgrading doctrine/deprecations (v1.0.0 => 1.1.3)
  • Upgrading doctrine/event-manager (1.1.1 => 1.2.0)
  • Upgrading doctrine/instantiator (1.4.1 => 1.5.0)
  • Upgrading doctrine/reflection (1.2.3 => 1.2.4)
  • Upgrading dragonmantank/cron-expression (v3.3.1 => v3.3.3)
  • Upgrading ezyang/htmlpurifier (v4.14.0 => v4.17.0)
  • Upgrading facade/flare-client-php (1.9.1 => 1.10.0)
  • Upgrading facade/ignition (2.17.6 => 2.17.7)
  • Upgrading fakerphp/faker (v1.20.0 => v1.23.1)
  • Upgrading fidry/cpu-core-counter (0.5.1 => 1.1.0)
  • Upgrading filp/whoops (2.14.5 => 2.15.4)
  • Upgrading firebase/php-jwt (v6.3.0 => v6.10.0)
  • Upgrading friendsofphp/php-cs-fixer (v3.13.2 => v3.51.0)
  • Upgrading graham-campbell/result-type (v1.0.4 => v1.1.2)
  • Upgrading laravel-notification-channels/microsoft-teams (v1.1.4 => v1.1.5)
  • Upgrading laravel/framework (v8.83.22 => v8.83.27)
  • Upgrading laravel/helpers (v1.5.0 => v1.7.0)
  • Upgrading laravel/passport (v10.4.1 => v10.4.2)
  • Upgrading laravel/serializable-closure (v1.2.0 => v1.3.3)
  • Upgrading laravel/slack-notification-channel (v2.4.0 => v2.5.0)
  • Upgrading laravel/socialite (v5.6.1 => v5.12.1)
  • Upgrading laravel/tinker (v2.7.2 => v2.9.0)
  • Upgrading laravelcollective/html (v6.3.0 => v6.4.1)
  • Upgrading lcobucci/clock (2.0.0 => 2.3.0)
  • Downgrading lcobucci/jwt (4.1.5 => 4.0.4)
  • Upgrading league/commonmark (2.3.4 => 2.4.2)
  • Upgrading league/config (v1.1.1 => v1.2.0)
  • Upgrading league/csv (9.8.0 => 9.15.0)
  • Upgrading league/flysystem (1.1.9 => 1.1.10)
  • Upgrading league/mime-type-detection (1.11.0 => 1.15.0)
  • Upgrading league/uri (6.7.1 => 6.8.0)
  • Upgrading livewire/livewire (v2.10.6 => v2.12.6)
  • Upgrading maatwebsite/excel (3.1.40 => 3.1.55)
  • Upgrading maennchen/zipstream-php (2.2.1 => 3.1.0)
  • Upgrading markbaker/complex (3.0.1 => 3.0.2)
  • Upgrading markbaker/matrix (3.0.0 => 3.0.1)
  • Upgrading maximebf/debugbar (v1.18.0 => v1.21.0)
  • Upgrading mockery/mockery (1.5.0 => 1.6.7)
  • Upgrading monolog/monolog (2.7.0 => 2.9.2)
  • Upgrading myclabs/deep-copy (1.11.0 => 1.11.1)
  • Upgrading nesbot/carbon (2.59.1 => 2.72.3)
  • Upgrading netresearch/jsonmapper (v4.2.0 => v4.4.1)
  • Upgrading nette/schema (v1.2.2 => v1.3.0)
  • Upgrading nette/utils (v3.2.7 => v4.0.4)
  • Upgrading nikic/php-parser (v4.14.0 => v4.18.0)
  • Upgrading nunomaduro/phpinsights (v2.8.0 => v2.11.0)
  • Upgrading nyholm/psr7 (1.6.1 => 1.8.1)
  • Upgrading paragonie/sodium_compat (v1.19.0 => v1.20.0)
  • Upgrading phar-io/manifest (2.0.3 => 2.0.4)
  • Upgrading phenx/php-font-lib (0.5.4 => 0.5.6)
  • Upgrading php-mock/php-mock (2.4.1 => 2.5.0)
  • Upgrading php-mock/php-mock-integration (2.2.1 => 2.3.0)
  • Upgrading php-mock/php-mock-phpunit (2.8.0 => 2.10.0)
  • Upgrading phpdocumentor/type-resolver (1.6.1 => 1.8.2)
  • Upgrading phpoffice/phpspreadsheet (1.24.1 => 1.29.0)
  • Upgrading phpoption/phpoption (1.8.1 => 1.9.2)
  • Upgrading phpspec/prophecy (v1.15.0 => v1.19.0)
  • Upgrading phpstan/phpdoc-parser (1.22.1 => 1.26.0)
  • Upgrading phpunit/php-code-coverage (9.2.15 => 9.2.31)
  • Upgrading phpunit/phpunit (9.5.21 => 9.6.17)
  • Locking psr/clock (1.0.0)
  • Upgrading psr/log (1.1.4 => 2.0.0)
  • Upgrading psy/psysh (v0.11.7 => v0.12.0)
  • Upgrading ramsey/collection (1.2.2 => 2.0.0)
  • Upgrading ramsey/uuid (4.2.3 => 4.7.5)
  • Upgrading rollbar/rollbar (v2.1.0 => v3.1.4)
  • Upgrading sabberworm/php-css-parser (8.4.0 => v8.5.1)
  • Upgrading sebastian/cli-parser (1.0.1 => 1.0.2)
  • Upgrading sebastian/comparator (4.0.6 => 4.0.8)
  • Upgrading sebastian/complexity (2.0.2 => 2.0.3)
  • Upgrading sebastian/diff (4.0.4 => 4.0.6)
  • Upgrading sebastian/environment (5.1.4 => 5.1.5)
  • Upgrading sebastian/exporter (4.0.4 => 4.0.6)
  • Upgrading sebastian/global-state (5.0.5 => 5.0.7)
  • Upgrading sebastian/lines-of-code (1.0.3 => 1.0.4)
  • Upgrading sebastian/recursion-context (4.0.4 => 4.0.5)
  • Upgrading sebastian/type (3.0.0 => 3.2.1)
  • Upgrading seld/jsonlint (1.10.0 => 1.10.2)
  • Upgrading slevomat/coding-standard (8.13.1 => 8.14.1)
  • Upgrading spatie/array-to-xml (2.17.1 => 3.2.3)
  • Upgrading squizlabs/php_codesniffer (3.7.1 => 3.9.0)
  • Locking stella-maris/clock (0.1.7)
  • Upgrading symfony/cache (v5.4.25 => v5.4.36)
  • Upgrading symfony/console (v5.4.32 => v5.4.36)
  • Upgrading symfony/css-selector (v4.4.37 => v4.4.44)
  • Upgrading symfony/deprecation-contracts (v2.5.2 => v3.4.0)
  • Upgrading symfony/dom-crawler (v4.4.42 => v4.4.45)
  • Upgrading symfony/error-handler (v5.4.9 => v5.4.36)
  • Upgrading symfony/event-dispatcher (v5.4.9 => v6.4.3)
  • Upgrading symfony/event-dispatcher-contracts (v2.5.2 => v3.4.0)
  • Upgrading symfony/filesystem (v5.4.25 => v6.4.3)
  • Upgrading symfony/finder (v5.4.27 => v5.4.35)
  • Upgrading symfony/http-client (v5.4.25 => v6.2.13)
  • Upgrading symfony/http-client-contracts (v2.5.2 => v3.4.0)
  • Upgrading symfony/http-foundation (v5.4.10 => v5.4.35)
  • Upgrading symfony/http-kernel (v5.4.20 => v5.4.37)
  • Upgrading symfony/mime (v5.4.10 => v5.4.35)
  • Upgrading symfony/options-resolver (v5.4.21 => v6.4.0)
  • Upgrading symfony/polyfill-ctype (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-iconv (v1.26.0 => v1.29.0)
  • Upgrading symfony/polyfill-intl-grapheme (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-intl-idn (v1.26.0 => v1.29.0)
  • Upgrading symfony/polyfill-intl-normalizer (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-mbstring (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-php72 (v1.26.0 => v1.29.0)
  • Upgrading symfony/polyfill-php73 (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-php80 (v1.28.0 => v1.29.0)
  • Upgrading symfony/polyfill-php81 (v1.28.0 => v1.29.0)
  • Upgrading symfony/process (v5.4.28 => v5.4.36)
  • Upgrading symfony/psr-http-message-bridge (v2.1.2 => v2.3.1)
  • Upgrading symfony/routing (v5.4.8 => v5.4.37)
  • Upgrading symfony/service-contracts (v2.5.2 => v3.4.1)
  • Upgrading symfony/stopwatch (v5.4.21 => v6.4.3)
  • Upgrading symfony/string (v5.4.32 => v6.4.4)
  • Upgrading symfony/translation (v5.4.9 => v6.4.4)
  • Upgrading symfony/translation-contracts (v2.5.2 => v3.4.1)
  • Upgrading symfony/var-dumper (v5.4.9 => v5.4.36)
  • Upgrading symfony/var-exporter (v5.4.21 => v6.4.4)
  • Upgrading tecnickcom/tc-lib-barcode (1.17.14 => 1.18.4)
  • Upgrading tecnickcom/tc-lib-color (1.14.14 => 1.14.39)
  • Upgrading tecnickcom/tcpdf (6.6.2 => 6.6.5)
  • Upgrading theseer/tokenizer (1.2.1 => 1.2.3)
  • Upgrading tijsverkoyen/css-to-inline-styles (2.2.4 => v2.2.7)
  • Upgrading vimeo/psalm (5.13.1 => 5.22.2)
  • Upgrading vlucas/phpdotenv (v5.4.1 => v5.6.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 244 installs, 0 updates, 0 removals
  • Downloading aws/aws-sdk-php (3.300.13)
  • Installing squizlabs/php_codesniffer (3.9.0): Extracting archive
  • Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  • Installing symfony/deprecation-contracts (v3.4.0): Extracting archive
  • Installing psr/http-message (1.1): Extracting archive
  • Installing psr/http-client (1.0.3): Extracting archive
  • Installing ralouphie/getallheaders (3.0.3): Extracting archive
  • Installing psr/http-factory (1.0.2): Extracting archive
  • Installing guzzlehttp/psr7 (2.6.2): Extracting archive
  • Installing guzzlehttp/promises (2.0.2): Extracting archive
  • Installing guzzlehttp/guzzle (7.8.1): Extracting archive
  • Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  • Installing alek13/slack (2.2.1): Extracting archive
  • Installing tmilos/scim-schema (0.1): Extracting archive
  • Installing tmilos/value (1.0.2): Extracting archive
  • Installing tmilos/lexer (1.0.2): Extracting archive
  • Installing tmilos/scim-filter-parser (1.3.0): Extracting archive
  • Installing voku/portable-ascii (1.6.1): Extracting archive
  • Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  • Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  • Installing phpoption/phpoption (1.9.2): Extracting archive
  • Installing graham-campbell/result-type (v1.1.2): Extracting archive
  • Installing vlucas/phpdotenv (v5.6.0): Extracting archive
  • Installing symfony/css-selector (v4.4.44): Extracting archive
  • Installing tijsverkoyen/css-to-inline-styles (v2.2.7): Extracting archive
  • Installing symfony/var-dumper (v5.4.36): Extracting archive
  • Installing symfony/routing (v5.4.37): Extracting archive
  • Installing symfony/process (v5.4.36): Extracting archive
  • Installing symfony/polyfill-php72 (v1.29.0): Extracting archive
  • Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive
  • Installing symfony/polyfill-intl-idn (v1.29.0): Extracting archive
  • Installing symfony/mime (v5.4.35): Extracting archive
  • Installing symfony/polyfill-php73 (v1.29.0): Extracting archive
  • Installing symfony/http-foundation (v5.4.35): Extracting archive
  • Installing psr/event-dispatcher (1.0.0): Extracting archive
  • Installing symfony/event-dispatcher-contracts (v3.4.0): Extracting archive
  • Installing symfony/event-dispatcher (v6.4.3): Extracting archive
  • Installing psr/log (2.0.0): Extracting archive
  • Installing symfony/error-handler (v5.4.36): Extracting archive
  • Installing symfony/http-kernel (v5.4.37): Extracting archive
  • Installing symfony/finder (v5.4.35): Extracting archive
  • Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive
  • Installing symfony/string (v6.4.4): Extracting archive
  • Installing psr/container (1.1.2): Extracting archive
  • Installing symfony/service-contracts (v3.4.1): Extracting archive
  • Installing symfony/console (v5.4.36): Extracting archive
  • Installing symfony/polyfill-iconv (v1.29.0): Extracting archive
  • Installing doctrine/lexer (1.2.3): Extracting archive
  • Installing egulias/email-validator (2.1.25): Extracting archive
  • Installing swiftmailer/swiftmailer (v6.3.0): Extracting archive
  • Installing ramsey/collection (2.0.0): Extracting archive
  • Installing brick/math (0.11.0): Extracting archive
  • Installing ramsey/uuid (4.7.5): Extracting archive
  • Installing psr/simple-cache (1.0.1): Extracting archive
  • Installing opis/closure (3.6.3): Extracting archive
  • Installing symfony/translation-contracts (v3.4.1): Extracting archive
  • Installing symfony/translation (v6.4.4): Extracting archive
  • Installing psr/clock (1.0.0): Extracting archive
  • Installing carbonphp/carbon-doctrine-types (2.1.0): Extracting archive
  • Installing nesbot/carbon (2.72.3): Extracting archive
  • Installing monolog/monolog (2.9.2): Extracting archive
  • Installing league/mime-type-detection (1.15.0): Extracting archive
  • Installing league/flysystem (1.1.10): Extracting archive
  • Installing nette/utils (v4.0.4): Extracting archive
  • Installing nette/schema (v1.3.0): Extracting archive
  • Installing dflydev/dot-access-data (v3.0.2): Extracting archive
  • Installing league/config (v1.2.0): Extracting archive
  • Installing league/commonmark (2.4.2): Extracting archive
  • Installing laravel/serializable-closure (v1.3.3): Extracting archive
  • Installing webmozart/assert (1.11.0): Extracting archive
  • Installing dragonmantank/cron-expression (v3.3.3): Extracting archive
  • Installing doctrine/inflector (1.4.4): Extracting archive
  • Installing laravel/framework (v8.83.27): Extracting archive
  • Installing arietimmerman/laravel-scim-server (dev-master dda6dfb): Extracting archive
  • Installing aws/aws-crt-php (v1.2.4): Extracting archive
  • Installing maximebf/debugbar (v1.21.0): Extracting archive
  • Installing barryvdh/laravel-debugbar (v3.7.0): Extracting archive
  • Installing sabberworm/php-css-parser (v8.5.1): Extracting archive
  • Installing phenx/php-svg-lib (0.5.2): Extracting archive
  • Installing phenx/php-font-lib (0.5.6): Extracting archive
  • Installing masterminds/html5 (2.8.1): Extracting archive
  • Installing dompdf/dompdf (v2.0.4): Extracting archive
  • Installing barryvdh/laravel-dompdf (v2.0.1): Extracting archive
  • Installing sebastian/environment (5.1.5): Extracting archive
  • Installing sebastian/version (3.0.2): Extracting archive
  • Installing sebastian/type (3.2.1): Extracting archive
  • Installing sebastian/resource-operations (3.0.3): Extracting archive
  • Installing sebastian/recursion-context (4.0.5): Extracting archive
  • Installing sebastian/object-reflector (2.0.4): Extracting archive
  • Installing sebastian/object-enumerator (4.0.4): Extracting archive
  • Installing sebastian/global-state (5.0.7): Extracting archive
  • Installing sebastian/exporter (4.0.6): Extracting archive
  • Installing sebastian/diff (4.0.6): Extracting archive
  • Installing sebastian/comparator (4.0.8): Extracting archive
  • Installing sebastian/code-unit (1.0.8): Extracting archive
  • Installing sebastian/cli-parser (1.0.2): Extracting archive
  • Installing phpunit/php-timer (5.0.3): Extracting archive
  • Installing phpunit/php-text-template (2.0.4): Extracting archive
  • Installing phpunit/php-invoker (3.1.1): Extracting archive
  • Installing phpunit/php-file-iterator (3.0.6): Extracting archive
  • Installing theseer/tokenizer (1.2.3): Extracting archive
  • Installing nikic/php-parser (v4.18.0): Extracting archive
  • Installing sebastian/lines-of-code (1.0.4): Extracting archive
  • Installing sebastian/complexity (2.0.3): Extracting archive
  • Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
  • Installing phpunit/php-code-coverage (9.2.31): Extracting archive
  • Installing phar-io/version (3.2.1): Extracting archive
  • Installing phar-io/manifest (2.0.4): Extracting archive
  • Installing myclabs/deep-copy (1.11.1): Extracting archive
  • Installing doctrine/instantiator (1.5.0): Extracting archive
  • Installing phpunit/phpunit (9.6.17): Extracting archive
  • Installing jean85/pretty-package-versions (2.0.5): Extracting archive
  • Installing fidry/cpu-core-counter (1.1.0): Extracting archive
  • Installing brianium/paratest (v6.11.0): Extracting archive
  • Installing composer/ca-bundle (1.4.1): Extracting archive
  • Installing composer/pcre (3.1.2): Extracting archive
  • Installing composer/class-map-generator (1.1.0): Extracting archive
  • Installing composer/metadata-minifier (1.0.0): Extracting archive
  • Installing composer/spdx-licenses (1.5.8): Extracting archive
  • Installing dasprid/enum (1.0.5): Extracting archive
  • Installing psr/cache (1.0.1): Extracting archive
  • Installing doctrine/annotations (1.14.3): Extracting archive
  • Installing doctrine/reflection (1.2.4): Extracting archive
  • Installing doctrine/deprecations (1.1.3): Extracting archive
  • Installing doctrine/event-manager (1.2.0): Extracting archive
  • Installing doctrine/collections (1.8.0): Extracting archive
  • Installing doctrine/cache (1.13.0): Extracting archive
  • Installing doctrine/persistence (1.3.8): Extracting archive
  • Installing doctrine/common (2.13.3): Extracting archive
  • Installing doctrine/dbal (3.8.3): Extracting archive
  • Installing eduardokum/laravel-mail-auto-embed (1.0.7): Extracting archive
  • Installing enshrined/svg-sanitize (0.15.4): Extracting archive
  • Installing erusev/parsedown (1.7.4): Extracting archive
  • Installing facade/ignition-contracts (1.0.2): Extracting archive
  • Installing facade/flare-client-php (1.10.0): Extracting archive
  • Installing facade/ignition (2.17.7): Extracting archive
  • Installing fakerphp/faker (v1.23.1): Extracting archive
  • Installing fideloper/proxy (4.4.2): Extracting archive
  • Installing asm89/stack-cors (v2.2.0): Extracting archive
  • Installing fruitcake/laravel-cors (v2.2.0): Extracting archive
  • Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
  • Installing intervention/image (2.7.2): Extracting archive
  • Installing javiereguiluz/easyslugger (v1.0.0): Extracting archive
  • Installing laravel-notification-channels/google-chat (v1.0.1): Extracting archive
  • Installing laravel-notification-channels/microsoft-teams (v1.1.5): Extracting archive
  • Installing laravel/helpers (v1.7.0): Extracting archive
  • Installing symfony/psr-http-message-bridge (v2.3.1): Extracting archive
  • Installing paragonie/random_compat (v9.99.100): Extracting archive
  • Installing paragonie/constant_time_encoding (v2.6.3): Extracting archive
  • Installing phpseclib/phpseclib (3.0.37): Extracting archive
  • Installing nyholm/psr7 (1.8.1): Extracting archive
  • Installing league/uri-interfaces (2.3.0): Extracting archive
  • Installing league/uri (6.8.0): Extracting archive
  • Installing league/event (2.2.0): Extracting archive
  • Installing stella-maris/clock (0.1.7): Extracting archive
  • Installing lcobucci/clock (2.3.0): Extracting archive
  • Installing lcobucci/jwt (4.0.4): Extracting archive
  • Installing defuse/php-encryption (v2.4.0): Extracting archive
  • Installing league/oauth2-server (8.4.2): Extracting archive
  • Installing firebase/php-jwt (v6.10.0): Extracting archive
  • Installing laravel/passport (v10.4.2): Extracting archive
  • Installing laravel/slack-notification-channel (v2.5.0): Extracting archive
  • Installing league/oauth1-client (v1.10.1): Extracting archive
  • Installing laravel/socialite (v5.12.1): Extracting archive
  • Installing psy/psysh (v0.12.0): Extracting archive
  • Installing laravel/tinker (v2.9.0): Extracting archive
  • Installing laravel/ui (v3.4.6): Extracting archive
  • Installing laravelcollective/html (v6.4.1): Extracting archive
  • Installing league/csv (9.15.0): Extracting archive
  • Installing mtdowling/jmespath.php (2.7.0): Extracting archive
  • Installing aws/aws-sdk-php (3.300.13): Extracting archive
  • Installing league/flysystem-aws-s3-v3 (1.0.30): Extracting archive
  • Installing league/flysystem-cached-adapter (1.1.0): Extracting archive
  • Installing markbaker/matrix (3.0.1): Extracting archive
  • Installing markbaker/complex (3.0.2): Extracting archive
  • Installing maennchen/zipstream-php (3.1.0): Extracting archive
  • Installing ezyang/htmlpurifier (v4.17.0): Extracting archive
  • Installing phpoffice/phpspreadsheet (1.29.0): Extracting archive
  • Installing composer/semver (3.4.0): Extracting archive
  • Installing maatwebsite/excel (3.1.55): Extracting archive
  • Installing livewire/livewire (v2.12.6): Extracting archive
  • Installing mediconesystems/livewire-datatables (v0.5.4): Extracting archive
  • Installing neitanod/forceutf8 (v2.0.4): Extracting archive
  • Installing filp/whoops (2.15.4): Extracting archive
  • Installing nunomaduro/collision (v5.11.0): Extracting archive
  • Installing phpstan/phpstan (1.8.11): Extracting archive
  • Installing mockery/mockery (1.6.7): Extracting archive
  • Installing symfony/polyfill-php81 (v1.29.0): Extracting archive
  • Installing symfony/filesystem (v6.4.3): Extracting archive
  • Installing seld/signal-handler (2.0.2): Extracting archive
  • Installing seld/phar-utils (1.2.1): Extracting archive
  • Installing seld/jsonlint (1.10.2): Extracting archive
  • Installing react/promise (v3.1.0): Extracting archive
  • Installing justinrainbow/json-schema (v5.2.13): Extracting archive
  • Installing composer/xdebug-handler (3.0.3): Extracting archive
  • Installing composer/composer (2.7.1): Extracting archive
  • Installing nunomaduro/larastan (1.0.4): Extracting archive
  • Installing symfony/http-client-contracts (v3.4.0): Extracting archive
  • Installing symfony/http-client (v6.2.13): Extracting archive
  • Installing symfony/var-exporter (v6.4.4): Extracting archive
  • Installing symfony/cache-contracts (v2.5.2): Extracting archive
  • Installing symfony/cache (v5.4.36): Extracting archive
  • Installing phpstan/phpdoc-parser (1.26.0): Extracting archive
  • Installing slevomat/coding-standard (8.14.1): Extracting archive
  • Installing php-parallel-lint/php-parallel-lint (v1.3.2): Extracting archive
  • Installing league/container (4.2.0): Extracting archive
  • Installing symfony/stopwatch (v6.4.3): Extracting archive
  • Installing symfony/options-resolver (v6.4.0): Extracting archive
  • Installing friendsofphp/php-cs-fixer (v3.51.0): Extracting archive
  • Installing cmgmyr/phploc (8.0.3): Extracting archive
  • Installing nunomaduro/phpinsights (v2.11.0): Extracting archive
  • Installing robrichards/xmlseclibs (3.1.1): Extracting archive
  • Installing onelogin/php-saml (3.6.1): Extracting archive
  • Installing paragonie/sodium_compat (v1.20.0): Extracting archive
  • Installing php-mock/php-mock (2.5.0): Extracting archive
  • Installing php-mock/php-mock-integration (2.3.0): Extracting archive
  • Installing php-mock/php-mock-phpunit (2.10.0): Extracting archive
  • Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  • Installing phpdocumentor/type-resolver (1.8.2): Extracting archive
  • Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
  • Installing phpspec/prophecy (v1.19.0): Extracting archive
  • Installing phpunit/php-token-stream (3.1.3): Extracting archive
  • Installing pragmarx/google2fa (v8.0.1): Extracting archive
  • Installing bacon/bacon-qr-code (2.0.8): Extracting archive
  • Installing pragmarx/google2fa-qrcode (v1.0.3): Extracting archive
  • Installing pragmarx/google2fa-laravel (v1.4.1): Extracting archive
  • Installing rollbar/rollbar (v3.1.4): Extracting archive
  • Installing rollbar/rollbar-laravel (v7.2.0): Extracting archive
  • Installing spatie/temporary-directory (1.3.0): Extracting archive
  • Installing spatie/db-dumper (2.21.1): Extracting archive
  • Installing spatie/laravel-backup (6.16.5): Extracting archive
  • Installing symfony/dom-crawler (v4.4.45): Extracting archive
  • Installing tecnickcom/tc-lib-color (1.14.39): Extracting archive
  • Installing tecnickcom/tc-lib-barcode (1.18.4): Extracting archive
  • Installing tecnickcom/tcpdf (6.6.5): Extracting archive
  • Installing unicodeveloper/laravel-password (1.0.4): Extracting archive
  • Installing spatie/array-to-xml (3.2.3): Extracting archive
  • Installing netresearch/jsonmapper (v4.4.1): Extracting archive
  • Installing felixfbecker/language-server-protocol (v1.5.2): Extracting archive
  • Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
  • Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
  • Installing amphp/amp (v2.6.2): Extracting archive
  • Installing amphp/byte-stream (v1.8.1): Extracting archive
  • Installing vimeo/psalm (5.22.2): Extracting archive
  • Installing watson/validating (6.1.1): Extracting archive
    108/242 [============>---------------] 44% Skipped installation of bin bin/paratest.bat for package brianium/paratest: name conflicts with an existing file
    Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
    Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
    Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package nunomaduro/larastan is abandoned, you should avoid using it. Use larastan/larastan instead.
    Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: arietimmerman/laravel-scim-server
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: intervention/image
Discovered Package: laravel-notification-channels/google-chat
Discovered Package: laravel-notification-channels/microsoft-teams
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: livewire/livewire
Discovered Package: maatwebsite/excel
Discovered Package: mediconesystems/livewire-datatables
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: nunomaduro/phpinsights
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: spatie/laravel-backup
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
@php artisan vendor:publish --force --tag=livewire:assets --ansi
Copied Directory [\vendor\livewire\livewire\dist] To [\public\vendor\livewire]
Publishing complete.
142 packages you are using are looking for funding.
Use the composer fund command to find out more!
PHP CodeSniffer Config installed_paths set to ../../slevomat/coding-standard
No security vulnerability advisories found.`

Then, I followed the steps under "6. Copy over the necessary old files" to copy over those files and folders from the working Snipe-IT backup folder and fixed folders' permissions from https://snipe-it.readme.io/docs/windowsiis#section-fix-permissions.

Then, I ran the git pull command, and I get the following output:

C:\inetpub\wwwroot\snipe-it>git pull remote: Enumerating objects: 8, done. remote: Counting objects: 100% (8/8), done. remote: Compressing objects: 100% (4/4), done. remote: Total 8 (delta 4), reused 5 (delta 4), pack-reused 0 Unpacking objects: 100% (8/8), 3.89 KiB | 50.00 KiB/s, done. From https://github.com/snipe/snipe-it db92febdc..e8be178ac develop -> origin/develop Already up to date.

Then, I ran the "php upgrade.php" command, and I get the following output:

`C:\inetpub\wwwroot\snipe-it>php upgrade.php

WELCOME TO THE SNIPE-IT UPGRADER!

This script will attempt to:

  • validate some very basic .env file settings
  • check your PHP version and extension requirements
  • check directory permissions
  • 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

ERROR: Failed to retrieve remote requirements from https://raw.githubusercontent.com/snipe/snipe-it/master/.upgrade_requirements.json

We suggest correcting this, but if you can't, please verify that your requirements conform to those at that url.

-- DANGER -- DO AT YOUR OWN RISK --
IF YOU ARE SURE, re-run this script with --skip-php-compatibility-checks to skip this check.
-- DANGER -- THIS COULD BREAK YOUR INSTALLATIONExiting.`

from snipe-it.

snipe avatar snipe commented on August 16, 2024

Per the error message, you need to install/enable ext-sodium

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Okay, I enabled php_sodium.dll from my PHP Manager just now, and I ran the composer install again, and I get the following output:

`C:\inetpub\wwwroot\snipe-it>composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package nunomaduro/larastan is abandoned, you should avoid using it. Use larastan/larastan instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: arietimmerman/laravel-scim-server
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: eduardokum/laravel-mail-auto-embed
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: intervention/image
Discovered Package: laravel-notification-channels/google-chat
Discovered Package: laravel-notification-channels/microsoft-teams
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: laravelcollective/html
Discovered Package: livewire/livewire
Discovered Package: maatwebsite/excel
Discovered Package: mediconesystems/livewire-datatables
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: nunomaduro/phpinsights
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: spatie/laravel-backup
Discovered Package: unicodeveloper/laravel-password
Package manifest generated successfully.
@php artisan vendor:publish --force --tag=livewire:assets --ansi
Copied Directory [\vendor\livewire\livewire\dist] To [\public\vendor\livewire]
Publishing complete.
142 packages you are using are looking for funding.
Use the composer fund command to find out more!`

Then, I ran the git pull command, and I get the following output:

C:\inetpub\wwwroot\snipe-it>git pull remote: Enumerating objects: 2, done. remote: Counting objects: 100% (2/2), done. remote: Total 2 (delta 1), reused 2 (delta 1), pack-reused 0 Unpacking objects: 100% (2/2), 275 bytes | 10.00 KiB/s, done. From https://github.com/snipe/snipe-it 9ae779e44..78868813b master -> origin/master Updating 9ae779e44..78868813b Fast-forward app/Models/Accessory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Then, I ran the php upgrade.php command, and I get the following output:

`C:\inetpub\wwwroot\snipe-it>php upgrade.php

WELCOME TO THE SNIPE-IT UPGRADER!

This script will attempt to:

  • validate some very basic .env file settings
  • check your PHP version and extension requirements
  • check directory permissions
  • 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

ERROR: Failed to retrieve remote requirements from https://raw.githubusercontent.com/snipe/snipe-it/master/.upgrade_requirements.json

We suggest correcting this, but if you can't, please verify that your requirements conform to those at that url.

-- DANGER -- DO AT YOUR OWN RISK --
IF YOU ARE SURE, re-run this script with --skip-php-compatibility-checks to skip this check.
-- DANGER -- THIS COULD BREAK YOUR INSTALLATIONExiting.`

from snipe-it.

snipe avatar snipe commented on August 16, 2024

IF YOU ARE SURE, re-run this script with --skip-php-compatibility-checks to skip this check.

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Okay, then I get the following output:

`C:\inetpub\wwwroot\snipe-it>php upgrade.php --skip-php-compatibility-checks

WELCOME TO THE SNIPE-IT UPGRADER!

This script will attempt to:

  • validate some very basic .env file settings
  • check your PHP version and extension requirements
  • check directory permissions
  • 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

NOTICE: Unable to fetch upgrade requirements, but continuing because you passed --skip-php-compatibility-checks...
Launching using branch: master
Y
Proceed with upgrade? [Y/n]:
Skipping user check as it is not supported on Windows or Posix is not installed on this server.

STEP 1: Checking .env file:

  • Your .env is located at C:\inetpub\wwwroot\snipe-it/.env

√ Your APP_KEY is not blank.
√ Your APP_URL is not null or blank. It is set to http://10.29.0.97
√ Your APP_URL is set to http://10.29.0.97 and starts with the protocol (https:// or http://)
√ Your APP_URL (http://10.29.0.97) does not have a trailing slash.
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!
√ sodium is installed!
√ tokenizer is installed!
√ xml is installed!
√ zip is installed!


STEP 3: Checking directory permissions:

√ C:\inetpub\wwwroot\snipe-it/bootstrap/cache is writable
√ C:\inetpub\wwwroot\snipe-it/storage is writable
√ C:\inetpub\wwwroot\snipe-it/storage/logs is writable
√ C:\inetpub\wwwroot\snipe-it/storage/logs/laravel.log is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/cache is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/sessions is writable
√ C:\inetpub\wwwroot\snipe-it/storage/framework/views is writable
√ C:\inetpub\wwwroot\snipe-it/storage/app is writable
√ C:\inetpub\wwwroot\snipe-it/storage/app/backups is writable
√ C:\inetpub\wwwroot\snipe-it/storage/private_uploads is writable
√ C:\inetpub\wwwroot\snipe-it/public/uploads is writable


The following directories/files do not seem writable:

✘ PERMISSIONS ERROR: C:\inetpub\wwwroot\snipe-it/storage/app/backup-temp is NOT writable
--------------------- !! ERROR !! ----------------------
Please check the permissions on the directories above and re-run this script.
------------------------- :( ---------------------------`

from snipe-it.

snipe avatar snipe commented on August 16, 2024

Glad to hear you're all sorted! In the future, if you've resolved your issue, please try to remember to close your ticket - it helps us out a lot. (We have to manage a lot of tickets.)

tenant-tyvm

from snipe-it.

JGitBuddy avatar JGitBuddy commented on August 16, 2024

Yes, I was about to close the ticket, but I was too excited! :)

Thank you!

from snipe-it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.