Open SCPPD-IT opened 3 hours ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Debug mode
Describe the bug
git pull is giving the error of "error: git-remote-https died of signal 4."
Reproduction steps
php upgrade.php
On step 6, I am getting this error. Git is installed. error: git-remote-https died of signal 4
Upgrade says it was successful, but it wasn't. ...
Expected behavior
The upgrade should work.
Screenshots
WELCOME TO THE SNIPE-IT UPGRADER!
This script will attempt to:
Launching using branch: master Found PHP requirements, will check for PHP > 8.1.0 and < 8.4.0 Proceed with upgrade? [y/N]: y
STEP 1: Checking .env file:
Your .env is located at /var/www/html/snipe-it/.env
√ Your APP_KEY is not blank. √ Your APP_URL is not null or blank. It is set to http://snipeit.scppd.net √ Your APP_URL is set to http://snipeit.scppd.net and starts with the protocol (https:// or http://) √ Your APP_URL (http://snipeit.scppd.net) does not have a trailing slash.
STEP 2: Checking PHP requirements: (Required PHP >=8.1.0 - <8.4.0)
√ Current PHP version: (8.1.2-1ubuntu2.19) is at least 8.1.0 and less than 8.4.0! Continuing... FYI: The php.ini used by this PHP is: /etc/php/8.1/cli/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! √ sodium is installed! √ tokenizer is installed! √ xml is installed! √ zip is installed!
STEP 3: Checking directory permissions:
√ /var/www/html/snipe-it/bootstrap/cache is writable √ /var/www/html/snipe-it/storage is writable √ /var/www/html/snipe-it/storage/logs is writable √ /var/www/html/snipe-it/storage/logs/laravel.log is writable √ /var/www/html/snipe-it/storage/framework is writable √ /var/www/html/snipe-it/storage/framework/cache is writable √ /var/www/html/snipe-it/storage/framework/sessions is writable √ /var/www/html/snipe-it/storage/framework/views is writable √ /var/www/html/snipe-it/storage/app is writable √ /var/www/html/snipe-it/storage/app/backups is writable √ /var/www/html/snipe-it/storage/app/backup-temp is writable √ /var/www/html/snipe-it/storage/private_uploads is writable √ /var/www/html/snipe-it/public/uploads is writable
STEP 4: Backing up database:
-- Starting backup... Dumping database snipeit... Determining files to backup... Zipping 496 files and directories... Created zip containing 496 files and directories. Size is 70.56 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. error: git-remote-https died of signal 4 Already on 'master' error: git-remote-https died of signal 4 -- No local changes to save -- Your branch is up to date with 'origin/master'.
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. √ Deleting bootstrap/cache/config.php. It is no longer used. √ No vendor/symfony/translation/TranslatorInterface.php, so nothing to delete.
-- Configuration cache cleared! -- Failed to clear cache. Make sure you have the appropriate permissions. -- Route cache cleared! -- Compiled views cleared!
STEP 8: Updating composer dependencies: (This may take a moment.)
-- Running the app in production mode. √ Local composer.phar detected, so we'll use that.
-- Updating local composer.phar
You are already using the latest available Composer version 2.8.2 (stable channel).
Installing dependencies from lock file 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 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
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: 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:
Nothing to migrate.
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!
Snipe-IT Version
6.4.1
Operating System
Ubuntu 22.04
Web Server
Apache
PHP Version
8.1.2
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response