snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.93k stars 3.16k forks source link

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.2". #14929

Closed oliverjnash closed 3 months ago

oliverjnash commented 3 months ago

Debug mode

Describe the bug

After upgrading to V7 we kept receiving the error 'Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.2".'. We've confirmed that this issue occurs regardless of the PHP version used (have tried with 8.1 and 8.2).

After researching and attempting a number of troubleshooting steps, I decided to backup the DB and config files and reinstall from scratch. However, upon re-installing, we're still receiving the same error message.

Reproduction steps

1.Install Snipe and dependencies as per the docs (Git clone method)

  1. Navigate to the pre-flight page ...

Expected behavior

Snipe should display the pre-flight page for further configuration.

Screenshots

No response

Snipe-IT Version

7.0.4

Operating System

Ubuntu

Web Server

Apache

PHP Version

8.1.28

Operating System

Windows 11

Browser

Edge

Version

Version 126.0.2592.61 (Official build) (64-bit)

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No debug info displayed. Nothing in storage/logs. Nothing in browser error console. 

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imagick
imap
inotify
intl
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Additional context

No response

welcome[bot] commented 3 months 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.

snipe commented 3 months ago

Are you sure your cli version of PHP is the same as your web version? This is tested on 8.1.2.

Try running php -v in your command line.

oliverjnash commented 3 months ago

cli version is showing as 8.2.19 which should meet the composer requirements? Or is there something I'm missing?

oliverjnash commented 3 months ago

Just to add, the CLI version is changed along with the web version when changing the PHP version in Cpanel. So when I raised this yesterday we were testing with PHP 8.1. If I change it back to that now, the exact CLI version is 8.1.28

snipe commented 3 months ago

That should definitely work within the requirements.

Can you show me the output of running these commands via cli?

git pull
php composer.phar install --no-dev --prefer-source
php composer.phar dump-autoload
php artisan migrate
php artisan config:clear
php artisan route:clear
php artisan cache:clear
php artisan view:clear
oliverjnash commented 3 months ago

Sure!

git pull
remote: Enumerating objects: 186, done.
remote: Counting objects: 100% (186/186), done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 186 (delta 128), reused 169 (delta 114), pack-reused 0
Receiving objects: 100% (186/186), 46.34 KiB | 11.58 MiB/s, done.
Resolving deltas: 100% (128/128), completed with 1 local object.
From https://github.com/snipe/snipe-it
   30c1e1e86..25fcf523e  master     -> origin/master
   b0aff68c8..25fcf523e  develop    -> origin/develop
Updating 30c1e1e86..25fcf523e
Fast-forward
 .all-contributorsrc                            |  12 +++++++-
 .github/workflows/tests-mysql.yml              |   1 +
 CONTRIBUTORS.md                                |   3 +-
 app/Http/Controllers/Api/UsersController.php   |  41 ++++++++++++-------------
 app/Http/Controllers/Users/UsersController.php |  25 ++++++++++------
 app/Http/Requests/DeleteUserRequest.php        |  35 +++++++++++++---------
 app/Importer/AssetImporter.php                 |   4 ++-
 app/Models/Asset.php                           |   2 +-
 app/Models/Depreciable.php                     |  10 +++++--
 database/factories/UserFactory.php             |  10 +++++++
 tests/Feature/Users/Api/DeleteUserTest.php     |  74 +++++++++++++++++++++++++++++++++++++---------
 tests/Feature/Users/Api/RestoreUserTest.php    | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/Feature/Users/Api/ViewUserTest.php       |  38 ------------------------
 tests/Feature/Users/Ui/DeleteUserTest.php      |  63 +++++++++++++++++++++++++++++++++++----
 14 files changed, 316 insertions(+), 107 deletions(-)
 create mode 100644 tests/Feature/Users/Api/RestoreUserTest.php
php composer.phar install --no-dev --prefer-source
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html 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
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\S3ClientStub" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/S3ClientStub.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/S3ClientStub.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\PortableVisibilityConverter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/PortableVisibilityConverter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/PortableVisibilityConverter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3AdapterTest" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/AwsS3V3AdapterTest.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/AwsS3V3AdapterTest.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3Adapter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/AwsS3V3Adapter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/AwsS3V3Adapter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\VisibilityConverter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/VisibilityConverter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/VisibilityConverter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapterTest" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/LocalFilesystemAdapterTest.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/LocalFilesystemAdapterTest.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/LocalFilesystemAdapter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\FallbackMimeTypeDetector" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/FallbackMimeTypeDetector.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/FallbackMimeTypeDetector.php", the first will be used.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.

  arietimmerman/laravel-scim-server ............................................................................. DONE
  barryvdh/laravel-debugbar ..................................................................................... DONE
  barryvdh/laravel-dompdf ....................................................................................... DONE
  eduardokum/laravel-mail-auto-embed ............................................................................ DONE
  intervention/image ............................................................................................ DONE
  laravel-notification-channels/google-chat ..................................................................... DONE
  laravel-notification-channels/microsoft-teams ................................................................. DONE
  laravel/passport .............................................................................................. DONE
  laravel/slack-notification-channel ............................................................................ DONE
  laravel/socialite ............................................................................................. DONE
  laravel/tinker ................................................................................................ DONE
  laravel/ui .................................................................................................... DONE
  laravelcollective/html ........................................................................................ DONE
  livewire/livewire ............................................................................................. DONE
  nesbot/carbon ................................................................................................. DONE
  nunomaduro/collision .......................................................................................... DONE
  nunomaduro/termwind ........................................................................................... DONE
  pragmarx/google2fa-laravel .................................................................................... DONE
  spatie/laravel-backup ......................................................................................... DONE
  spatie/laravel-ignition ....................................................................................... DONE
  spatie/laravel-signal-aware-command ........................................................................... DONE
  unicodeveloper/laravel-password ............................................................................... DONE

> @php artisan vendor:publish --force --tag=livewire:assets --ansi

   INFO  Publishing [livewire:assets] assets.

  Copying directory [vendor/livewire/livewire/dist] to [public/vendor/livewire] ................................. DONE

89 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
php composer.phar dump-autoload
Generating optimized autoload files
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\S3ClientStub" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/S3ClientStub.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/S3ClientStub.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\PortableVisibilityConverter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/PortableVisibilityConverter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/PortableVisibilityConverter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3AdapterTest" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/AwsS3V3AdapterTest.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/AwsS3V3AdapterTest.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3Adapter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/AwsS3V3Adapter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/AwsS3V3Adapter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\VisibilityConverter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-aws-s3-v3/VisibilityConverter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/AwsS3V3/VisibilityConverter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapterTest" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/LocalFilesystemAdapterTest.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/LocalFilesystemAdapterTest.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapter" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/LocalFilesystemAdapter.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php", the first will be used.
Warning: Ambiguous class resolution, "League\Flysystem\Local\FallbackMimeTypeDetector" was found in both "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem-local/FallbackMimeTypeDetector.php" and "/home/tf0fafmwxias/public_html/assets.itg-uk.com/vendor/league/flysystem/src/Local/FallbackMimeTypeDetector.php", the first will be used.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.

  arietimmerman/laravel-scim-server ............................................................................. DONE
  barryvdh/laravel-debugbar ..................................................................................... DONE
  barryvdh/laravel-dompdf ....................................................................................... DONE
  eduardokum/laravel-mail-auto-embed ............................................................................ DONE
  intervention/image ............................................................................................ DONE
  laravel-notification-channels/google-chat ..................................................................... DONE
  laravel-notification-channels/microsoft-teams ................................................................. DONE
  laravel/passport .............................................................................................. DONE
  laravel/slack-notification-channel ............................................................................ DONE
  laravel/socialite ............................................................................................. DONE
  laravel/tinker ................................................................................................ DONE
  laravel/ui .................................................................................................... DONE
  laravelcollective/html ........................................................................................ DONE
  livewire/livewire ............................................................................................. DONE
  nesbot/carbon ................................................................................................. DONE
  nunomaduro/collision .......................................................................................... DONE
  nunomaduro/termwind ........................................................................................... DONE
  pragmarx/google2fa-laravel .................................................................................... DONE
  spatie/laravel-backup ......................................................................................... DONE
  spatie/laravel-ignition ....................................................................................... DONE
  spatie/laravel-signal-aware-command ........................................................................... DONE
  unicodeveloper/laravel-password ............................................................................... DONE

> @php artisan vendor:publish --force --tag=livewire:assets --ansi

   INFO  Publishing [livewire:assets] assets.

  Copying directory [vendor/livewire/livewire/dist] to [public/vendor/livewire] ................................. DONE

Generated optimized autoload files containing 8890 classes
php artisan migrate

                                               APPLICATION IN PRODUCTION.

 โ”Œ Are you sure you want to run this command? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚ Yes                                                          โ”‚
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

   INFO  Preparing database.

  Creating migration table ................................................................................. 13ms DONE

   INFO  Running migrations.

  2012_12_06_225921_migration_cartalyst_sentry_install_users ............................................... 30ms DONE
  2012_12_06_225929_migration_cartalyst_sentry_install_groups ............................................... 5ms DONE
  2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot ................................... 5ms DONE
  2012_12_06_225988_migration_cartalyst_sentry_install_throttle ............................................ 17ms DONE
  2013_03_23_193214_update_users_table ...................................................................... 9ms DONE
  2013_11_13_075318_create_models_table ..................................................................... 5ms DONE
  2013_11_13_075335_create_categories_table ................................................................. 6ms DONE
  2013_11_13_075347_create_manufacturers_table .............................................................. 7ms DONE
  2013_11_15_015858_add_user_id_to_categories ............................................................... 8ms DONE
  2013_11_15_112701_add_user_id_to_manufacturers ............................................................ 7ms DONE
  2013_11_15_190327_create_assets_table ..................................................................... 5ms DONE
  2013_11_15_190357_create_temp_licenses_table .............................................................. 0ms DONE
  2013_11_15_201848_add_license_name_to_licenses ............................................................ 0ms DONE
  2013_11_16_040323_create_depreciations_table .............................................................. 5ms DONE
  2013_11_16_042851_add_depreciation_id_to_models ........................................................... 6ms DONE
  2013_11_16_084923_add_user_id_to_models ................................................................... 7ms DONE
  2013_11_16_103258_create_locations_table .................................................................. 6ms DONE
  2013_11_16_103336_add_location_id_to_assets ............................................................... 7ms DONE
  2013_11_16_103407_add_checkedout_to_to_assets ............................................................. 6ms DONE
  2013_11_16_103425_create_history_table .................................................................... 0ms DONE
  2013_11_17_054359_drop_licenses_table ..................................................................... 3ms DONE
  2013_11_17_054526_add_physical_to_assets .................................................................. 7ms DONE
  2013_11_17_055126_create_settings_table ................................................................... 5ms DONE
  2013_11_17_062634_add_license_to_assets ................................................................... 0ms DONE
  2013_11_18_134332_add_contacts_to_users ................................................................... 6ms DONE
  2013_11_18_142847_add_info_to_locations ................................................................... 7ms DONE
  2013_11_18_152942_remove_location_id_from_asset ........................................................... 8ms DONE
  2013_11_18_164423_set_nullvalues_for_user ................................................................. 0ms DONE
  2013_11_19_013337_create_asset_logs_table ................................................................. 5ms DONE
  2013_11_19_061409_edit_added_on_asset_logs_table .......................................................... 0ms DONE
  2013_11_19_062250_edit_location_id_asset_logs_table ....................................................... 0ms DONE
  2013_11_20_055822_add_soft_delete_on_assets ............................................................... 8ms DONE
  2013_11_20_121404_add_soft_delete_on_locations ............................................................ 7ms DONE
  2013_11_20_123137_add_soft_delete_on_manufacturers ........................................................ 8ms DONE
  2013_11_20_123725_add_soft_delete_on_categories ........................................................... 7ms DONE
  2013_11_20_130248_create_status_labels .................................................................... 6ms DONE
  2013_11_20_130830_add_status_id_on_assets_table ........................................................... 8ms DONE
  2013_11_20_131544_add_status_type_on_status_labels ........................................................ 6ms DONE
  2013_11_20_134103_add_archived_to_assets .................................................................. 8ms DONE
  2013_11_21_002321_add_uploads_table ....................................................................... 7ms DONE
  2013_11_21_024531_remove_deployable_boolean_from_status_labels ............................................ 7ms DONE
  2013_11_22_075308_add_option_label_to_settings_table ...................................................... 0ms DONE
  2013_11_22_213400_edits_to_settings_table ................................................................. 6ms DONE
  2013_11_25_013244_recreate_licenses_table ................................................................. 8ms DONE
  2013_11_25_031458_create_license_seats_table .............................................................. 5ms DONE
  2013_11_25_032022_add_type_to_actionlog_table ............................................................. 7ms DONE
  2013_11_25_033008_delete_bad_licenses_table ............................................................... 4ms DONE
  2013_11_25_033131_create_new_licenses_table ............................................................... 7ms DONE
  2013_11_25_033534_add_licensed_to_licenses_table .......................................................... 8ms DONE
  2013_11_25_101308_add_warrantee_to_assets_table ........................................................... 9ms DONE
  2013_11_25_104343_alter_warranty_column_on_assets ........................................................ 36ms DONE
  2013_11_25_150450_drop_parent_from_categories ............................................................. 8ms DONE
  2013_11_25_151920_add_depreciate_to_assets ................................................................ 9ms DONE
  2013_11_25_152903_add_depreciate_to_licenses_table ....................................................... 13ms DONE
  2013_11_26_211820_drop_license_from_assets_table .......................................................... 0ms DONE
  2013_11_27_062510_add_note_to_asset_logs_table ............................................................ 7ms DONE
  2013_12_01_113426_add_filename_to_asset_log ............................................................... 7ms DONE
  2013_12_06_094618_add_nullable_to_licenses_table ......................................................... 21ms DONE
  2013_12_10_084038_add_eol_on_models_table ................................................................. 7ms DONE
  2013_12_12_055218_add_manager_to_users_table .............................................................. 8ms DONE
  2014_01_28_031200_add_qr_code_to_settings_table ........................................................... 7ms DONE
  2014_02_13_183016_add_qr_text_to_settings_table ........................................................... 7ms DONE
  2014_05_24_093839_alter_default_license_depreciation_id ................................................... 0ms DONE
  2014_05_27_231658_alter_default_values_licenses ........................................................... 0ms DONE
  2014_06_19_191508_add_asset_name_to_settings ............................................................. 10ms DONE
  2014_06_20_004847_make_asset_log_checkedout_to_nullable ................................................... 0ms DONE
  2014_06_20_005050_make_asset_log_purchasedate_to_nullable ................................................. 0ms DONE
  2014_06_24_003011_add_suppliers ........................................................................... 7ms DONE
  2014_06_24_010742_add_supplier_id_to_asset ................................................................ 7ms DONE
  2014_06_24_012839_add_zip_to_supplier ..................................................................... 7ms DONE
  2014_06_24_033908_add_url_to_supplier ..................................................................... 7ms DONE
  2014_07_08_054116_add_employee_id_to_users ................................................................ 7ms DONE
  2014_07_09_134316_add_requestable_to_assets ............................................................... 7ms DONE
  2014_07_17_085822_add_asset_to_software ................................................................... 6ms DONE
  2014_07_17_161625_make_asset_id_in_logs_nullable .......................................................... 0ms DONE
  2014_08_12_053504_alpha_0_4_2_release ..................................................................... 0ms DONE
  2014_08_17_083523_make_location_id_nullable ............................................................... 0ms DONE
  2014_10_16_200626_add_rtd_location_to_assets .............................................................. 7ms DONE
  2014_10_24_000417_alter_supplier_state_to_32 .............................................................. 0ms DONE
  2014_10_24_015641_add_display_checkout_date ............................................................... 7ms DONE
  2014_10_28_222654_add_avatar_field_to_users_table ......................................................... 8ms DONE
  2014_10_29_045924_add_image_field_to_models_table ......................................................... 7ms DONE
  2014_11_01_214955_add_eol_display_to_settings ............................................................. 7ms DONE
  2014_11_04_231416_update_group_field_for_reporting ........................................................ 6ms DONE
  2014_11_05_212408_add_fields_to_licenses ................................................................. 10ms DONE
  2014_11_07_021042_add_image_to_supplier ................................................................... 8ms DONE
  2014_11_20_203007_add_username_to_user .................................................................... 9ms DONE
  2014_11_20_223947_add_auto_to_settings .................................................................... 6ms DONE
  2014_11_20_224421_add_prefix_to_settings .................................................................. 6ms DONE
  2014_11_21_104401_change_licence_type ..................................................................... 0ms DONE
  2014_12_09_082500_add_fields_maintained_term_to_licenses .................................................. 6ms DONE
  2015_02_04_155757_increase_user_field_lengths ............................................................. 0ms DONE
  2015_02_07_013537_add_soft_deleted_to_log ................................................................ 18ms DONE
  2015_02_10_040958_fix_bad_assigned_to_ids ................................................................. 9ms DONE
  2015_02_10_053310_migrate_data_to_new_statuses ............................................................ 1ms DONE
  2015_02_11_044104_migrate_make_license_assigned_null ...................................................... 0ms DONE
  2015_02_11_104406_migrate_create_requests_table ........................................................... 5ms DONE
  2015_02_12_001312_add_mac_address_to_asset ............................................................... 13ms DONE
  2015_02_12_024100_change_license_notes_type .............................................................. 16ms DONE
  2015_02_17_231020_add_localonly_to_settings ............................................................... 6ms DONE
  2015_02_19_222322_add_logo_and_colors_to_settings ......................................................... 6ms DONE
  2015_02_24_072043_add_alerts_to_settings .................................................................. 6ms DONE
  2015_02_25_022931_add_eula_fields ........................................................................ 27ms DONE
  2015_02_25_204513_add_accessories_table .................................................................. 12ms DONE
  2015_02_26_091228_add_accessories_user_table ............................................................. 17ms DONE
  2015_02_26_115128_add_deleted_at_models .................................................................. 10ms DONE
  2015_02_26_233005_add_category_type ...................................................................... 10ms DONE
  2015_03_01_231912_update_accepted_at_to_acceptance_id .................................................... 10ms DONE
  2015_03_05_011929_add_qr_type_to_settings ................................................................. 8ms DONE
  2015_03_18_055327_add_note_to_user ........................................................................ 9ms DONE
  2015_04_29_234704_add_slack_to_settings ................................................................... 9ms DONE
  2015_05_04_085151_add_parent_id_to_locations_table ....................................................... 14ms DONE
  2015_05_22_124421_add_reassignable_to_licenses ........................................................... 13ms DONE
  2015_06_10_003314_fix_default_for_user_notes .............................................................. 0ms DONE
  2015_06_10_003554_create_consumables ..................................................................... 27ms DONE
  2015_06_15_183253_move_email_to_username .................................................................. 1ms DONE
  2015_06_23_070346_make_email_nullable .................................................................... 21ms DONE
  2015_06_26_213716_create_asset_maintenances_table ......................................................... 7ms DONE
  2015_07_04_212443_create_custom_fields_table .............................................................. 5ms DONE
  2015_07_09_014359_add_currency_to_settings_and_locations ................................................. 15ms DONE
  2015_07_21_122022_add_expected_checkin_date_to_asset_logs ................................................. 7ms DONE
  2015_07_24_093845_add_checkin_email_to_category_table .................................................... 11ms DONE
  2015_07_25_055415_remove_email_unique_constraint ......................................................... 19ms DONE
  2015_07_29_230054_add_thread_id_to_asset_logs_table ....................................................... 0ms DONE
  2015_07_31_015430_add_accepted_to_assets .................................................................. 9ms DONE
  2015_09_09_195301_add_custom_css_to_settings .............................................................. 7ms DONE
  2015_09_21_235926_create_custom_field_custom_fieldset ..................................................... 5ms DONE
  2015_09_22_000104_create_custom_fieldsets ................................................................. 5ms DONE
  2015_09_22_003321_add_fieldset_id_to_assets ............................................................... 7ms DONE
  2015_09_22_003413_migrate_mac_address .................................................................... 48ms DONE
  2015_09_28_003314_fix_default_purchase_order .............................................................. 5ms DONE
  2015_10_01_024551_add_accessory_consumable_price_info .................................................... 13ms DONE
  2015_10_12_192706_add_brand_to_settings ................................................................... 6ms DONE
  2015_10_22_003314_fix_defaults_accessories ................................................................ 9ms DONE
  2015_10_23_182625_add_checkout_time_and_expected_checkout_date_to_assets .................................. 7ms DONE
  2015_11_05_061015_create_companies_table ................................................................. 12ms DONE
  2015_11_05_061115_add_company_id_to_consumables_table ..................................................... 6ms DONE
  2015_11_05_183749_add_image_to_assets ..................................................................... 8ms DONE
  2015_11_06_092038_add_company_id_to_accessories_table ..................................................... 5ms DONE
  2015_11_06_100045_add_company_id_to_users_table ........................................................... 6ms DONE
  2015_11_06_134742_add_company_id_to_licenses_table ........................................................ 6ms DONE
  2015_11_08_035832_add_company_id_to_assets_table .......................................................... 7ms DONE
  2015_11_08_222305_add_ldap_fields_to_settings ............................................................. 9ms DONE
  2015_11_15_151803_add_full_multiple_companies_support_to_settings_table ................................... 6ms DONE
  2015_11_26_195528_import_ldap_settings .................................................................... 2ms DONE
  2015_11_30_191504_remove_fk_company_id .................................................................... 0ms DONE
  2015_12_21_193006_add_ldap_server_cert_ignore_to_settings_table ........................................... 7ms DONE
  2015_12_30_233509_add_timestamp_and_userId_to_custom_fields ............................................... 8ms DONE
  2015_12_30_233658_add_timestamp_and_userId_to_custom_fieldsets ............................................ 7ms DONE
  2016_01_28_041048_add_notes_to_models ..................................................................... 6ms DONE
  2016_02_19_070119_add_remember_token_to_users_table ....................................................... 8ms DONE
  2016_02_19_073625_create_password_resets_table ........................................................... 23ms DONE
  2016_03_02_193043_add_ldap_flag_to_users .................................................................. 7ms DONE
  2016_03_02_220517_update_ldap_filter_to_longer_field ..................................................... 18ms DONE
  2016_03_08_225351_create_components_table ................................................................ 18ms DONE
  2016_03_09_024038_add_min_stock_to_tables ................................................................ 17ms DONE
  2016_03_10_133849_add_locale_to_users ..................................................................... 7ms DONE
  2016_03_10_135519_add_locale_to_settings .................................................................. 7ms DONE
  2016_03_11_185621_add_label_settings_to_settings .......................................................... 7ms DONE
  2016_03_22_125911_fix_custom_fields_regexes ............................................................... 3ms DONE
  2016_04_28_141554_add_show_to_users ....................................................................... 7ms DONE
  2016_05_16_164733_add_model_mfg_to_consumable ............................................................. 6ms DONE
  2016_05_19_180351_add_alt_barcode_settings ................................................................ 7ms DONE
  2016_05_19_191146_add_alter_interval ...................................................................... 7ms DONE
  2016_05_19_192226_add_inventory_threshold ................................................................. 6ms DONE
  2016_05_20_024859_remove_option_keys_from_settings_table ................................................. 10ms DONE
  2016_05_20_143758_remove_option_value_from_settings_table ................................................ 10ms DONE
  2016_06_01_000001_create_oauth_auth_codes_table .......................................................... 15ms DONE
  2016_06_01_000002_create_oauth_access_tokens_table ....................................................... 13ms DONE
  2016_06_01_000003_create_oauth_refresh_tokens_table ....................................................... 6ms DONE
  2016_06_01_000004_create_oauth_clients_table ............................................................. 12ms DONE
  2016_06_01_000005_create_oauth_personal_access_clients_table .............................................. 6ms DONE
  2016_06_01_140218_add_email_domain_and_format_to_settings ................................................. 6ms DONE
  2016_06_22_160725_add_user_id_to_maintenances ............................................................. 6ms DONE
  2016_07_13_150015_add_is_ad_to_settings ................................................................... 9ms DONE
  2016_07_14_153609_add_ad_domain_to_settings ............................................................... 7ms DONE
  2016_07_22_003348_fix_custom_fields_regex_stuff ........................................................... 2ms DONE
  2016_07_22_054850_one_more_mac_addr_fix ................................................................... 3ms DONE
  2016_07_22_143045_add_port_to_ldap_settings .............................................................. 12ms DONE
  2016_07_22_153432_add_tls_to_ldap_settings ............................................................... 10ms DONE
  2016_07_27_211034_add_zerofill_to_settings ............................................................... 11ms DONE
  2016_08_02_124944_add_color_to_statuslabel ............................................................... 10ms DONE
  2016_08_04_134500_add_disallow_ldap_pw_sync_to_settings .................................................. 11ms DONE
  2016_08_09_002225_add_manufacturer_to_licenses ............................................................ 9ms DONE
  2016_08_12_121613_add_manufacturer_to_accessories_table .................................................. 10ms DONE
  2016_08_23_143353_add_new_fields_to_custom_fields ......................................................... 9ms DONE
  2016_08_23_145619_add_show_in_nav_to_status_labels ........................................................ 9ms DONE
  2016_08_30_084634_make_purchase_cost_nullable ............................................................. 8ms DONE
  2016_09_01_141051_add_requestable_to_asset_model .......................................................... 8ms DONE
  2016_09_02_001448_create_checkout_requests_table ......................................................... 17ms DONE
  2016_09_04_180400_create_actionlog_table ................................................................. 18ms DONE
  2016_09_04_182149_migrate_asset_log_to_action_log ......................................................... 1ms DONE
  2016_09_19_235935_fix_fieldtype_for_target_type ........................................................... 6ms DONE
  2016_09_23_140722_fix_modelno_in_consumables_to_string ................................................... 20ms DONE
  2016_09_28_231359_add_company_to_logs .................................................................... 12ms DONE
  2016_10_14_130709_fix_order_number_to_varchar ............................................................ 29ms DONE
  2016_10_16_015024_rename_modelno_to_model_number ......................................................... 21ms DONE
  2016_10_16_015211_rename_consumable_modelno_to_model_number .............................................. 16ms DONE
  2016_10_16_143235_rename_model_note_to_notes ............................................................. 15ms DONE
  2016_10_16_165052_rename_component_total_qty_to_qty ...................................................... 15ms DONE
  2016_10_19_145520_fix_order_number_in_components_to_string ................................................ 5ms DONE
  2016_10_27_151715_add_serial_to_components ................................................................ 6ms DONE
  2016_10_27_213251_increase_serial_field_capacity ......................................................... 16ms DONE
  2016_10_29_002724_enable_2fa_fields ...................................................................... 14ms DONE
  2016_10_29_082408_add_signature_to_acceptance ............................................................ 14ms DONE
  2016_11_01_030818_fix_forgotten_filename_in_action_logs ................................................... 0ms DONE
  2016_11_13_020954_rename_component_serial_number_to_serial ............................................... 17ms DONE
  2016_11_16_172119_increase_purchase_cost_size ........................................................... 112ms DONE
  2016_11_17_161317_longer_state_field_in_location ......................................................... 13ms DONE
  2016_11_17_193706_add_model_number_to_accessories ......................................................... 6ms DONE
  2016_11_24_160405_add_missing_target_type_to_logs_table ................................................... 0ms DONE
  2016_12_07_173720_increase_size_of_state_in_suppliers .................................................... 13ms DONE
  2016_12_19_004212_adjust_locale_length_to_10 ............................................................. 13ms DONE
  2016_12_19_133936_extend_phone_lengths_in_supplier_and_elsewhere ......................................... 17ms DONE
  2016_12_27_212631_make_asset_assigned_to_polymorphic ...................................................... 8ms DONE
  2017_01_09_040429_create_locations_ldap_query_field ....................................................... 6ms DONE
  2017_01_14_002418_create_imports_table .................................................................... 5ms DONE
  2017_01_25_063357_fix_utf8_custom_field_column_names ..................................................... 50ms DONE
  2017_03_03_154632_add_time_date_display_to_settings ....................................................... 8ms DONE
  2017_03_10_210807_add_fields_to_manufacturer .............................................................. 6ms DONE
  2017_05_08_195520_increase_size_of_field_values_in_custom_fields ......................................... 15ms DONE
  2017_05_22_204422_create_departments ..................................................................... 11ms DONE
  2017_05_22_233509_add_manager_to_locations_table .......................................................... 6ms DONE
  2017_06_14_122059_add_next_autoincrement_to_settings ..................................................... 10ms DONE
  2017_06_18_151753_add_header_and_first_row_to_importer_table .............................................. 6ms DONE
  2017_07_07_191533_add_login_text .......................................................................... 9ms DONE
  2017_07_25_130710_add_thumbsize_to_settings .............................................................. 11ms DONE
  2017_08_03_160105_set_asset_archived_to_zero_default ..................................................... 12ms DONE
  2017_08_22_180636_add_secure_password_options ............................................................. 7ms DONE
  2017_08_25_074822_add_auditing_tables ..................................................................... 6ms DONE
  2017_08_25_101435_add_auditing_to_settings ................................................................ 9ms DONE
  2017_09_18_225619_fix_assigned_type_not_being_nulled ...................................................... 4ms DONE
  2017_10_03_015503_drop_foreign_keys ....................................................................... 2ms DONE
  2017_10_10_123504_allow_nullable_depreciation_id_in_models ............................................... 14ms DONE
  2017_10_17_133709_add_display_url_to_settings ............................................................. 7ms DONE
  2017_10_19_120002_add_custom_forgot_password_url .......................................................... 8ms DONE
  2017_10_19_130406_add_image_and_supplier_to_accessories ................................................... 8ms DONE
  2017_10_20_234129_add_location_indices_to_assets ......................................................... 19ms DONE
  2017_10_25_202930_add_images_uploads_to_locations_manufacturers_etc ...................................... 50ms DONE
  2017_10_27_180947_denorm_asset_locations .................................................................. 8ms DONE
  2017_10_27_192423_migrate_denormed_asset_locations ....................................................... 12ms DONE
  2017_10_30_182938_add_address_to_user ..................................................................... 9ms DONE
  2017_11_08_025918_add_alert_menu_setting ................................................................. 10ms DONE
  2017_11_08_123942_labels_display_company_name ............................................................. 9ms DONE
  2017_12_12_010457_normalize_asset_last_audit_date ........................................................ 12ms DONE
  2017_12_12_033618_add_actionlog_meta ...................................................................... 8ms DONE
  2017_12_26_170856_re_normalize_last_audit ................................................................. 3ms DONE
  2018_01_17_184354_add_archived_in_list_setting ........................................................... 11ms DONE
  2018_01_19_203121_add_dashboard_message_to_settings ...................................................... 11ms DONE
  2018_01_24_062633_add_footer_settings_to_settings ........................................................ 10ms DONE
  2018_01_24_093426_add_modellist_preferenc ................................................................ 10ms DONE
  2018_02_22_160436_add_remote_user_settings ............................................................... 13ms DONE
  2018_03_03_011032_add_theme_to_settings .................................................................. 12ms DONE
  2018_03_06_054937_add_default_flag_on_statuslabels ........................................................ 8ms DONE
  2018_03_23_212048_add_display_in_email_to_custom_fields ................................................... 7ms DONE
  2018_03_24_030738_add_show_images_in_email_setting ....................................................... 10ms DONE
  2018_03_24_050108_add_cc_alerts .......................................................................... 10ms DONE
  2018_03_29_053618_add_canceled_at_and_fulfilled_at_in_requests ............................................ 7ms DONE
  2018_03_29_070121_add_drop_unique_requests ............................................................... 14ms DONE
  2018_03_29_070511_add_new_index_requestable .............................................................. 10ms DONE
  2018_04_02_150700_labels_display_model_name ............................................................... 9ms DONE
  2018_04_16_133902_create_custom_field_default_values_table ................................................ 5ms DONE
  2018_05_04_073223_add_category_to_licenses ................................................................ 6ms DONE
  2018_05_04_075235_add_update_license_category ............................................................. 6ms DONE
  2018_05_08_031515_add_gdpr_privacy_footer ................................................................. 8ms DONE
  2018_05_14_215229_add_indexes ............................................................................ 41ms DONE
  2018_05_14_223646_add_indexes_to_assets .................................................................. 74ms DONE
  2018_05_14_233638_denorm_counters_on_assets ............................................................... 7ms DONE
  2018_05_16_153409_add_first_counter_totals_to_assets ...................................................... 5ms DONE
  2018_06_21_134622_add_version_footer ...................................................................... 8ms DONE
  2018_07_05_215440_add_unique_serial_option_to_settings .................................................... 8ms DONE
  2018_07_17_005911_create_login_attempts_table ............................................................. 4ms DONE
  2018_07_24_154348_add_logo_to_print_assets ................................................................ 7ms DONE
  2018_07_28_023826_create_checkout_acceptances_table ...................................................... 14ms DONE
  2018_08_20_204842_add_depreciation_option_to_settings ..................................................... 7ms DONE
  2018_09_10_082212_create_checkout_acceptances_for_unaccepted_assets ....................................... 1ms DONE
  2018_10_18_191228_add_kits_licenses_table ................................................................. 5ms DONE
  2018_10_19_153910_add_kits_table .......................................................................... 5ms DONE
  2018_10_19_154013_add_kits_models_table ................................................................... 6ms DONE
  2018_12_05_211936_add_favicon_to_settings ................................................................. 8ms DONE
  2018_12_05_212119_add_email_logo_to_settings .............................................................. 9ms DONE
  2019_02_07_185953_add_kits_consumables_table .............................................................. 6ms DONE
  2019_02_07_190030_add_kits_accessories_table .............................................................. 6ms DONE
  2019_02_12_182750_add_actiondate_to_actionlog ............................................................. 7ms DONE
  2019_02_14_154310_change_auto_increment_prefix_to_nullable ................................................ 9ms DONE
  2019_02_16_143518_auto_increment_back_to_string ........................................................... 8ms DONE
  2019_02_17_205048_add_label_logo_to_settings .............................................................. 9ms DONE
  2019_02_20_234421_make_serial_nullable .................................................................... 5ms DONE
  2019_02_21_224703_make_fields_nullable_for_integrity ..................................................... 41ms DONE
  2019_04_06_060145_add_user_skin_setting ................................................................... 7ms DONE
  2019_04_06_205355_add_setting_allow_user_skin ............................................................. 7ms DONE
  2019_06_12_184327_rename_groups_table ..................................................................... 2ms DONE
  2019_07_23_140906_add_show_assigned_assets_to_settings .................................................... 8ms DONE
  2019_08_20_084049_add_custom_remote_user_header ........................................................... 9ms DONE
  2019_12_04_223111_passport_upgrade ........................................................................ 7ms DONE
  2020_02_04_172100_add_ad_append_domain_settings .......................................................... 12ms DONE
  2020_04_29_222305_add_saml_fields_to_settings ............................................................. 9ms DONE
  2020_08_11_200712_add_saml_key_rollover ................................................................... 9ms DONE
  2020_10_22_233743_move_accessory_checkout_note_to_join_table .............................................. 9ms DONE
  2020_10_23_161736_fix_zero_values_for_locations ........................................................... 3ms DONE
  2020_11_18_214827_widen_license_serial_field ............................................................. 18ms DONE
  2020_12_14_233815_add_digit_separator_to_settings ........................................................ 11ms DONE
  2020_12_18_090026_swap_target_type_index_order ........................................................... 29ms DONE
  2020_12_21_153235_update_min_password ..................................................................... 1ms DONE
  2020_12_21_210105_fix_bad_ldap_server_url_for_v5 .......................................................... 1ms DONE
  2021_02_05_172502_add_provider_to_oauth_table ............................................................ 10ms DONE
  2021_03_18_184102_adds_several_ldap_fields ............................................................... 12ms DONE
  2021_04_07_001811_add_ldap_dept .......................................................................... 11ms DONE
  2021_04_14_180125_add_ids_to_tables ...................................................................... 15ms DONE
  2021_06_07_155421_add_serial_number_indexes ............................................................... 8ms DONE
  2021_06_07_155436_add_company_id_indexes ................................................................. 67ms DONE
  2021_07_28_031345_add_client_side_l_d_a_p_cert_to_settings ................................................ 7ms DONE
  2021_07_28_040554_add_client_side_l_d_a_p_key_to_settings ................................................. 7ms DONE
  2021_08_11_005206_add_depreciation_minimum_value .......................................................... 6ms DONE
  2021_08_24_124354_make_ldap_client_certs_nullable ........................................................ 11ms DONE
  2021_09_20_183216_change_default_label_to_nullable ........................................................ 6ms DONE
  2021_12_27_151849_change_supplier_address_length ......................................................... 13ms DONE
  2022_01_10_182548_add_license_id_index_to_license_seats ................................................... 7ms DONE
  2022_02_03_214958_blank_out_ldap_active_flag .............................................................. 1ms DONE
  2022_02_16_152431_add_unique_constraint_to_custom_field ................................................... 6ms DONE
  2022_03_03_225655_add_notes_to_accessories ................................................................ 5ms DONE
  2022_03_03_225754_add_notes_to_components ................................................................. 5ms DONE
  2022_03_03_225824_add_notes_to_consumables ................................................................ 5ms DONE
  2022_03_04_080836_add_remote_to_user ...................................................................... 5ms DONE
  2022_03_09_001334_add_eula_to_checkout_acceptance ......................................................... 7ms DONE
  2022_03_10_175740_add_eula_to_action_logs ................................................................. 5ms DONE
  2022_03_21_162724_adds_ldap_manager ....................................................................... 7ms DONE
  2022_04_05_135340_add_primary_key_to_custom_fields_pivot .................................................. 1ms DONE
  2022_05_16_235350_remove_stored_eula_field ................................................................ 7ms DONE
  2022_06_23_164407_add_user_id_to_users .................................................................... 8ms DONE
  2022_06_28_234539_add_username_index_to_users ............................................................. 8ms DONE
  2022_07_07_010406_add_indexes_to_license_seats ........................................................... 16ms DONE
  2022_08_10_141328_add_notes_denorm_to_consumables_users .................................................. 13ms DONE
  2022_08_25_213308_adds_ldap_default_group_to_settings_table ............................................... 8ms DONE
  2022_09_29_040231_add_chart_type_to_settings .............................................................. 7ms DONE
  2022_10_05_163044_add_start_termination_date_to_users ..................................................... 7ms DONE
  2022_10_25_193823_add_externalid_to_users ................................................................. 7ms DONE
  2022_10_25_215520_add_label2_settings ..................................................................... 6ms DONE
  2022_11_07_134348_add_display_to_user_in_custom_fields .................................................... 5ms DONE
  2022_11_15_232525_adds_should_autoassign_bool_to_users_table .............................................. 5ms DONE
  2022_12_20_171851_fix_nullable_migration_for_settings .................................................... 21ms DONE
  2023_01_18_122534_add_byod_to_assets ...................................................................... 7ms DONE
  2023_01_21_225350_add_eol_date_on_assets_table ........................................................... 11ms DONE
  2023_01_23_232933_add_vip_to_users ........................................................................ 7ms DONE
  2023_02_12_224353_fix_unescaped_customfields_format ....................................................... 1ms DONE
  2023_02_28_173527_adds_webhook_option_to_settings_table .................................................. 83ms DONE
  2023_03_21_215218_update_slack_setting .................................................................... 1ms DONE
  2023_04_12_135822_add_supplier_to_components ............................................................. 27ms DONE
  2023_04_25_085912_add_autoadd_to_customfields ............................................................. 6ms DONE
  2023_04_25_181817_adds_ldap_location_to_settings_table .................................................... 8ms DONE
  2023_04_26_160235_add_warranty_url_to_manufacturers ....................................................... 7ms DONE
  2023_05_08_132921_increase_state_to_more_than_3 .......................................................... 25ms DONE
  2023_05_10_001836_add_google_auth_to_settings ............................................................. 7ms DONE
  2023_07_05_092237_change_settings_table_increase_saml_idp_metadata_size .................................. 20ms DONE
  2023_07_06_092507_add_phone_fax_to_locations ............................................................. 18ms DONE
  2023_07_13_052204_denormalized_eol_and_add_column_for_explicit_date_to_assets ............................. 4ms DONE
  2023_07_14_004221_add_show_in_list_view_to_custom_fields .................................................. 5ms DONE
  2023_08_01_174150_change_webhook_settings_variable_type .................................................. 25ms DONE
  2023_08_13_172600_add_email_to_companies .................................................................. 8ms DONE
  2023_08_17_202638_add_last_checkin_to_assets .............................................................. 9ms DONE
  2023_08_21_064609_add_name_ordering_to_settings ........................................................... 8ms DONE
  2023_08_21_181742_add_min_amt_to_models_table ............................................................. 6ms DONE
  2023_09_13_200913_fix_asset_model_min_qty_nullability .................................................... 19ms DONE
  2023_10_25_064324_add_show_in_requestable_to_custom_fields ................................................ 9ms DONE
  2023_12_14_032522_add_remote_ip_and_action_source_to_action_logs ......................................... 10ms DONE
  2023_12_15_024643_add_indexes_to_new_activity_report_fields .............................................. 21ms DONE
  2023_12_19_081112_fix_language_dirs ....................................................................... 2ms DONE
  2024_01_24_145544_create_saml_nonce_table ................................................................ 31ms DONE
  2024_02_28_080016_add_created_by_to_permission_groups ..................................................... 8ms DONE
  2024_02_28_093807_add_min_qty_to_licenses ................................................................. 8ms DONE
  2024_03_18_164714_add_note_to_checkout_acceptance_table ................................................... 8ms DONE
  2024_03_18_221612_update_legacy_locale ................................................................... 34ms DONE
  2024_05_27_143554_add_parent_id_index_to_locations ........................................................ 9ms DONE
php artisan config:clear

   INFO  Configuration cache cleared successfully.
 php artisan route:clear

   INFO  Route cache cleared successfully.
php artisan cache:clear

   INFO  Application cache cleared successfully.
php artisan view:clear

   INFO  Compiled views cleared successfully.
snipe commented 3 months ago

Looks like composer worked that time then? Are you upgraded now?

oliverjnash commented 3 months ago

Unfortunately not. It's still showing the error 'Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.2".' when navigating to the web GUI. This is a fresh install too so it should be loading the pre-flight page.

snipe commented 3 months ago

Can you show me a screenshot? I'm not even sure what that would look like, although admittedly we don't always check the QuickStart as often as we should

oliverjnash commented 3 months ago

I'm glad you asked - I was going to attach one but didn't want you to think I was stating the obvious ๐Ÿ˜‚. It's a bloody strange one that's for sure!

image

That's literally the only thing in the browser window.

snipe commented 3 months ago

Aha - that's generated by Composer.

git pull
php composer.phar install --no-dev --prefer-source --ignore-platform-reqs
php composer.phar dump-autoload
php artisan migrate
php artisan config:clear
php artisan route:clear
php artisan cache:clear
php artisan view:clear
snipe commented 3 months ago

Oh, what version of composer are you running? You might also try composer self-update. It could be that composer itself needs to be updated.

snipe commented 3 months ago

(What's weirder is that if the platform requirements weren't met, it's expect the composer install to be the thing that yells at you, not this.)

oliverjnash commented 3 months ago

Oh, what version of composer are you running? You might also try composer self-update. It could be that composer itself needs to be updated.

 composer -v
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 2.4.4 2022-10-27 14:39:29

Although that's what the host is using. I followed the local install steps so the project version is the latest:

php composer.phar -v
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 2.7.7 2024-06-10 22:11:12
snipe commented 3 months ago

Okay, is it possible your php-fpm (or whatever it is you're using for the web - not cli - PHP is older than 8.1.2?) That's the only thing left I can think of. That file gets autoloader with the web app itself, so it's not looking at cli, it's looking at your apache module or php-fpm version, which can be different.

oliverjnash commented 3 months ago

You're a bloody star. I added a phpinfo to the public directory and sure enough it was on 8.0.30 (our host has just merged and migrated their servers over to GoDaddy...they're shite so it appears they've removed the option to change this in CPanel).

If anyone else has this issue, I added:

AddHandler application/x-httpd-alt-php82___lsphp .php

to the .htaccess file in the /snipe/public folder and this has forced the correct version.

Now the joys of restoring all the data from our previous install ๐Ÿ™ƒ

Thanks for all your help with this <3

snipe commented 3 months ago

Hah - excellent, so glad you're sorted. You should just be able to use the backup tool on the old install to generate a backup and then upload it into the new version.

https://snipe-it.readme.io/docs/backups

Snipe-IT Documentation
Backup & Restore
Snipe-IT comes with GUI-based and command line based backup and restore utilities. You can generate or download a backup in <button aria-label="Copy Code" class="rdmd-code-copy fa"></button>Admin > Backups through the web interface:... or you can use the command line tool:<button a...
snipe commented 3 months ago

(GoDaddy is THE WORST btw. Well, no, Site5 is the actual worst, but they're still pretty terrible.)

snipe commented 3 months ago

I'll mark this as resolved for now, but I'll keep an eye on it in case you need any more help with the backup stuff.

oliverjnash commented 3 months ago

Sadly, I forgot that the inbuilt backup tool exists so thought I was being extra careful by taking a full root directory and db backup before clearing it...stupid I know but that's what sitting here at 4AM troubleshooting does to you.

Will it work if I restore the uploads directory, .env and uploads directory manually?

oliverjnash commented 3 months ago

(GoDaddy is THE WORST btw. Well, no, Site5 is the actual worst, but they're still pretty terrible.)

Oh tell me about it. We moved away from them years ago but sadly they seem to be buying everyone up now.

snipe commented 3 months ago

Yah, that link shows you what you need to include. Database backup, public uploads dir, your storage/private uploads dir and your OAuth keys in that storage dir. Zip that up and your restore tool should work (as long as you don't have db table prefixes - check that first.)

You should probably also move your APP_KEY from the old env, but likely leave the other new settings in your new env alone.

oliverjnash commented 3 months ago

Great, I'll try that now

snipe commented 3 months ago

It's 2:40AM here (๐Ÿ‡ต๐Ÿ‡น), so depending on how it works out, I might have to get back to you tomorrow if you need any help with the backup.

snipe commented 3 months ago

(If you don't want to risk the restore tool, you can always manually copy those uploaded files, OAuth keys, and then import your database via Cpanel. That works just as well, just make sure you run php artisan migrate afterwards.)

oliverjnash commented 3 months ago

No worries, I'm UK based so same here! I'll be sure to post an update here and let you know how it goes. Thanks again for all your help ๐Ÿป

oliverjnash commented 3 months ago

Looks like the in-built restore tool has worked perfectly ๐Ÿ†

Thanks again. I owe you a beer and some when I next make it to Lisbon!

snipe commented 3 months ago

Excellent - glad you're all set! (I'm more of a vinho verde lady myself, but I can do beer just fine. :D)

DasRedy commented 3 months ago

iยดll hitchhike this comment section, as i ran into the same problem after the update.

php -v showed me the new php8.1 cli after the php update, but the web interface showed me the composer dependecie error. I had to disable php7.4 and enable 8.1 with sudo a2dismod php7.4 and sudo a2enmod php8.1and restart apache2 web service.

Was an easy fix for me, maybe it also works for someone else.

Pkumar22in commented 2 months ago

Hi, I have the same issue as narrated by @oliverjnash but neither editing the .htaccess file working for me nor disabling PHP version. https://assets-uat.newglobe.education/ It's on Ubuntu 22.0

@snipe

hamabyte commented 1 week ago

Although I ran into the exact same issue as @oliverjnash after updating from php8.0 to php8.1, though the .htaccess addition did not solve my issue, after seeing that phpinfo was still reporting at 8.0.xx, @DasRedy's remedy helped as well! Thank you all for the great documentation ๐Ÿฅณ