Closed fabriziofinos closed 4 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.
I’m genuinely not sure why you’d be seeing this. Debugbar should be loaded if you ran composer install.
@marcusmoore i know you and I were poking at some debugbar stuff recently. Anything pop out to you?
I'm not sure either. I think we solved that issue...
@fabriziofinos can you paste the output of composer install
please?
Hello @marcusmoore here's the output
ubuntu@ip-10-0-3-122:/var/www/html/snipeit$ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 76 installs, 63 updates, 0 removals
- Syncing symfony/deprecation-contracts (v3.5.0) into cache
- Syncing psr/http-factory (1.1.0) into cache
- Syncing symfony/polyfill-mbstring (v1.30.0) into cache
- Syncing symfony/polyfill-php80 (v1.30.0) into cache
- Syncing symfony/polyfill-ctype (v1.30.0) into cache
- Syncing symfony/var-dumper (v6.4.8) into cache
- Syncing symfony/polyfill-uuid (v1.30.0) into cache
- Syncing symfony/uid (v6.4.8) into cache
- Syncing symfony/routing (v6.4.8) into cache
- Syncing symfony/process (v6.4.8) into cache
- Syncing symfony/polyfill-php72 (v1.30.0) into cache
- Syncing symfony/polyfill-intl-normalizer (v1.30.0) into cache
- Syncing symfony/polyfill-intl-idn (v1.30.0) into cache
- Syncing symfony/mime (v6.4.8) into cache
- Syncing symfony/service-contracts (v3.5.0) into cache
- Syncing symfony/event-dispatcher-contracts (v3.5.0) into cache
- Syncing symfony/event-dispatcher (v6.4.8) into cache
- Syncing symfony/mailer (v6.4.8) into cache
- Syncing symfony/polyfill-php83 (v1.30.0) into cache
- Syncing symfony/http-foundation (v6.4.8) into cache
- Syncing symfony/error-handler (v6.4.8) into cache
- Syncing symfony/http-kernel (v6.4.8) into cache
- Syncing symfony/finder (v6.4.8) into cache
- Syncing symfony/polyfill-intl-grapheme (v1.30.0) into cache
- Syncing symfony/string (v6.4.8) into cache
- Syncing symfony/console (v6.4.8) into cache
- Syncing brick/math (0.12.1) into cache
- Syncing ramsey/uuid (4.7.6) into cache
- Syncing symfony/translation-contracts (v3.5.0) into cache
- Syncing symfony/translation (v6.4.8) into cache
- Syncing nesbot/carbon (2.72.5) into cache
- Syncing monolog/monolog (3.6.0) into cache
- Syncing league/flysystem (3.28.0) into cache
- Syncing league/flysystem-local (3.28.0) into cache
- Syncing laravel/framework (v10.48.14) into cache
- Syncing laravel/prompts (v0.1.24) into cache
- Syncing aws/aws-crt-php (v1.2.5) into cache
- Syncing phenx/php-svg-lib (0.5.4) into cache
- Syncing masterminds/html5 (2.9.0) into cache
- Syncing dompdf/dompdf (v2.0.8) into cache
- Syncing barryvdh/laravel-dompdf (v2.2.0) into cache
- Downloading react/event-loop (v1.5.0)
- Syncing doctrine/event-manager (2.0.1) into cache
- Syncing doctrine/dbal (3.8.6) into cache
- Syncing paragonie/constant_time_encoding (v2.7.0) into cache
- Syncing phpseclib/phpseclib (3.0.38) into cache
- Syncing lcobucci/jwt (5.3.0) into cache
- Syncing firebase/php-jwt (v6.10.1) into cache
- Syncing laravel/socialite (v5.15.0) into cache
- Syncing psy/psysh (v0.12.4) into cache
- Syncing laravel/ui (v4.5.2) into cache
- Syncing league/csv (9.16.0) into cache
- Syncing aws/aws-sdk-php (3.314.6) into cache
- Syncing league/flysystem-aws-s3-v3 (3.28.0) into cache
- Downloading symfony/var-exporter (v6.4.8)
- Syncing phpstan/phpdoc-parser (1.29.1) into cache
- Downloading slevomat/coding-standard (8.15.0)
- Downloading php-parallel-lint/php-parallel-lint (v1.4.0)
- Downloading league/container (4.2.2)
- Downloading justinrainbow/json-schema (v5.2.13)
- Downloading symfony/stopwatch (v6.4.8)
- Downloading symfony/polyfill-php81 (v1.30.0)
- Downloading symfony/options-resolver (v6.4.8)
- Downloading symfony/filesystem (v6.4.8)
- Downloading react/promise (v3.2.0)
- Downloading react/cache (v1.2.0)
- Downloading react/dns (v1.13.0)
- Downloading react/socket (v1.15.0)
- Downloading react/child-process (v0.6.5)
- Downloading composer/xdebug-handler (3.0.5)
- Downloading composer/semver (3.4.0)
- Downloading friendsofphp/php-cs-fixer (v3.59.3)
- Downloading cmgmyr/phploc (8.0.3)
- Downloading nunomaduro/phpinsights (v2.11.0)
- Syncing onelogin/php-saml (3.7.0) into cache
- Syncing paragonie/sodium_compat (v1.21.1) into cache
- Downloading php-mock/php-mock (2.5.0)
- Downloading php-mock/php-mock-integration (2.3.0)
- Downloading php-mock/php-mock-phpunit (2.10.0)
- Syncing phpdocumentor/reflection-docblock (5.4.1) into cache
- Downloading spatie/error-solutions (1.0.1)
- Syncing spatie/backtrace (1.6.1) into cache
- Syncing spatie/flare-client-php (1.7.0) into cache
- Syncing spatie/db-dumper (3.6.0) into cache
- Syncing spatie/laravel-backup (8.8.1) into cache
- Syncing spatie/ignition (1.15.0) into cache
- Syncing spatie/laravel-ignition (2.8.0) into cache
- Downloading symfony/dom-crawler (v4.4.45)
- Downloading spatie/array-to-xml (3.3.0)
- Downloading netresearch/jsonmapper (v4.4.1)
- Downloading felixfbecker/language-server-protocol (v1.5.2)
- Downloading felixfbecker/advanced-json-rpc (v3.2.1)
- Downloading dnoegel/php-xdg-base-dir (v0.1.1)
- Downloading amphp/amp (v2.6.4)
- Downloading amphp/byte-stream (v1.8.2)
- Downloading vimeo/psalm (5.25.0)
- Installing squizlabs/php_codesniffer (3.10.1): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
In GitDownloader.php line 248:
Failed to execute git show-ref --head -d
fatal: detected dubious ownership in repository at '/var/www/html/snipeit/vendor/symfony/deprecation-contracts' To add an exception for this directory, call:
git config --global --add safe.directory /var/www/html/snipeit/vendor/symfony/deprecation-contracts
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [
...] ubuntu@ip-10-0-3-122:/var/www/html/snipeit$
This is interesting...the end of your output shows
In GitDownloader.php line 248:
Failed to execute git show-ref --head -d
fatal: detected dubious ownership in repository at '/var/www/html/snipeit/vendor/symfony/deprecation-contracts'
To add an exception for this directory, call:
But you were able to get to a place where the app can run.
You mention being on v7.0.5 but did you originally install v7.0.3 before upgrading? v7.0.3 included a bug that would show the original error message you encountered (production.ERROR: Error: Class "Debugbar" not found...
). If you did start on v7.0.3 then I'm thinking the upgrade to v7.0.5 didn't complete as expected considering the output mentioned above.
Yes i did start con v7.0.3 and read about that someone had the same issue and updating made it work so i update with git pull and php upgrade.php
I didn't gave me any errors so i thought that was completed just fine, there is a way to fix it?
Is it possible you ran the command as different users? The error I mentioned above could be caused by permission issues.
Hi @marcusmoore i hope you had a good weekend. So i tried to run the command with other users and with the "snipeitapp" user i get another output:
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 74 installs, 36 updates, 0 removals
- Syncing ramsey/uuid (4.7.6) into cache
- Syncing symfony/translation-contracts (v3.5.0) into cache
- Syncing symfony/translation (v6.4.8) into cache
- Syncing nesbot/carbon (2.72.5) into cache
- Syncing monolog/monolog (3.6.0) into cache
- Syncing league/flysystem (3.28.0) into cache
- Syncing league/flysystem-local (3.28.0) into cache
- Syncing laravel/framework (v10.48.14) into cache
- Syncing laravel/prompts (v0.1.24) into cache
- Syncing aws/aws-crt-php (v1.2.5) into cache
- Downloading maximebf/debugbar (v1.22.3)
- Downloading barryvdh/laravel-debugbar (v3.13.5)
- Syncing phenx/php-svg-lib (0.5.4) into cache
- Syncing masterminds/html5 (2.9.0) into cache
- Syncing dompdf/dompdf (v2.0.8) into cache
- Syncing barryvdh/laravel-dompdf (v2.2.0) into cache
- Downloading sebastian/environment (5.1.5)
- Downloading sebastian/version (3.0.2)
- Downloading sebastian/type (3.2.1)
- Downloading sebastian/resource-operations (3.0.4)
- Downloading sebastian/object-reflector (2.0.4)
- Downloading sebastian/object-enumerator (4.0.4)
- Downloading sebastian/global-state (5.0.7)
- Downloading sebastian/code-unit (1.0.8)
- Downloading sebastian/cli-parser (1.0.2)
- Downloading phpunit/php-timer (5.0.3)
- Downloading phpunit/php-text-template (2.0.4)
- Downloading phpunit/php-invoker (3.1.1)
- Downloading phpunit/php-file-iterator (3.0.6)
- Downloading theseer/tokenizer (1.2.3)
- Downloading sebastian/lines-of-code (1.0.4)
- Downloading sebastian/complexity (2.0.3)
- Downloading sebastian/code-unit-reverse-lookup (2.0.3)
- Downloading phpunit/php-code-coverage (9.2.31)
- Downloading phar-io/version (3.2.1)
- Downloading phar-io/manifest (2.0.4)
- Downloading myclabs/deep-copy (1.12.0)
- Downloading phpunit/phpunit (9.6.19)
- Downloading jean85/pretty-package-versions (2.0.6)
- Downloading fidry/cpu-core-counter (1.1.0)
- Downloading brianium/paratest (v6.11.1)
- Downloading react/event-loop (v1.5.0)
- Downloading evenement/evenement (v3.0.2)
- Downloading react/stream (v1.4.0)
- Downloading clue/ndjson-react (v1.3.0)
- Downloading composer/pcre (3.1.4)
- Syncing doctrine/event-manager (2.0.1) into cache
- Syncing doctrine/dbal (3.8.6) into cache
- Downloading fakerphp/faker (v1.23.1)
- Downloading phpstan/phpstan (1.11.5)
- Downloading phpmyadmin/sql-parser (5.9.0)
- Downloading larastan/larastan (v2.9.7)
- Syncing paragonie/constant_time_encoding (v2.7.0) into cache
- Syncing phpseclib/phpseclib (3.0.38) into cache
- Syncing lcobucci/jwt (5.3.0) into cache
- Syncing firebase/php-jwt (v6.10.1) into cache
- Syncing laravel/socialite (v5.15.0) into cache
- Syncing psy/psysh (v0.12.4) into cache
- Syncing laravel/ui (v4.5.2) into cache
- Syncing league/csv (9.16.0) into cache
- Syncing aws/aws-sdk-php (3.314.6) into cache
- Syncing league/flysystem-aws-s3-v3 (3.28.0) into cache
- Downloading hamcrest/hamcrest-php (v2.0.1)
- Downloading mockery/mockery (1.6.12)
- Downloading symfony/http-client-contracts (v3.5.0)
- Downloading symfony/http-client (v6.4.8)
- Downloading symfony/var-exporter (v6.4.8)
- Downloading symfony/cache-contracts (v3.5.0)
- Downloading symfony/cache (v6.4.8)
- Syncing phpstan/phpdoc-parser (1.29.1) into cache
- Downloading slevomat/coding-standard (8.15.0)
- Downloading php-parallel-lint/php-parallel-lint (v1.4.0)
- Downloading league/container (4.2.2)
- Downloading justinrainbow/json-schema (v5.2.13)
- Downloading symfony/stopwatch (v6.4.8)
- Downloading symfony/polyfill-php81 (v1.30.0)
- Downloading symfony/options-resolver (v6.4.8)
- Downloading symfony/filesystem (v6.4.8)
- Downloading react/promise (v3.2.0)
- Downloading react/cache (v1.2.0)
- Downloading react/dns (v1.13.0)
- Downloading react/socket (v1.15.0)
- Downloading react/child-process (v0.6.5)
- Downloading composer/xdebug-handler (3.0.5)
- Downloading composer/semver (3.4.0)
- Downloading friendsofphp/php-cs-fixer (v3.59.3)
- Downloading cmgmyr/phploc (8.0.3)
- Downloading nunomaduro/phpinsights (v2.11.0)
- Syncing onelogin/php-saml (3.7.0) into cache
- Syncing paragonie/sodium_compat (v1.21.1) into cache
- Downloading php-mock/php-mock (2.5.0)
- Downloading php-mock/php-mock-integration (2.3.0)
- Downloading php-mock/php-mock-phpunit (2.10.0)
- Syncing phpdocumentor/reflection-docblock (5.4.1) into cache
- Downloading spatie/error-solutions (1.0.1)
- Syncing spatie/backtrace (1.6.1) into cache
- Syncing spatie/flare-client-php (1.7.0) into cache
- Syncing spatie/db-dumper (3.6.0) into cache
- Syncing spatie/laravel-backup (8.8.1) into cache
- Syncing spatie/ignition (1.15.0) into cache
- Syncing spatie/laravel-ignition (2.8.0) into cache
- Downloading symfony/dom-crawler (v4.4.45)
- Downloading spatie/array-to-xml (3.3.0)
- Downloading netresearch/jsonmapper (v4.4.1)
- Downloading felixfbecker/language-server-protocol (v1.5.2)
- Downloading felixfbecker/advanced-json-rpc (v3.2.1)
- Downloading dnoegel/php-xdg-base-dir (v0.1.1)
- Downloading amphp/amp (v2.6.4)
- Downloading amphp/byte-stream (v1.8.2)
- Downloading vimeo/psalm (5.25.0)
- Upgrading ramsey/uuid (4.7.5 => 4.7.6): Checking out 91039bc1fa from cache
- Upgrading symfony/translation-contracts (v3.4.1 => v3.5.0): Checking out b9d2189887 from cache
- Upgrading symfony/translation (v6.4.4 => v6.4.8): Checking out a002933b13 from cache nesbot/carbon has modified files: M bin/carbon Discard changes [y,n,v,d,s,?]? y
- Upgrading nesbot/carbon (2.72.3 => 2.72.5): Checking out afd46589c2 from cache
- Upgrading monolog/monolog (3.5.0 => 3.6.0): Checking out 4b18b21a55 from cache
- Upgrading league/flysystem (3.26.0 => 3.28.0): Checking out e611adab2b from cache
- Upgrading league/flysystem-local (3.25.1 => 3.28.0): Checking out 13f22ea8be from cache
- Upgrading laravel/framework (v10.48.4 => v10.48.14): Checking out 27cb4736bb from cache
- Upgrading laravel/prompts (v0.1.17 => v0.1.24): Checking out 409b0b4305 from cache
- Upgrading aws/aws-crt-php (v1.2.4 => v1.2.5): Checking out 0ea1f04ec5 from cache
- Installing maximebf/debugbar (v1.22.3): Extracting archive
- Installing barryvdh/laravel-debugbar (v3.13.5): Extracting archive
- Upgrading phenx/php-svg-lib (0.5.3 => 0.5.4): Checking out 46b25da816 from cache
- Upgrading masterminds/html5 (2.8.1 => 2.9.0): Checking out f5ac2c0b0a from cache
- Upgrading dompdf/dompdf (v2.0.4 => v2.0.8): Checking out c202475746 from cache
- Upgrading barryvdh/laravel-dompdf (v2.1.1 => v2.2.0): Checking out c96f90c976 from cache
- 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.4): 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/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 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.12.0): Extracting archive
- Installing phpunit/phpunit (9.6.19): Extracting archive
- Installing jean85/pretty-package-versions (2.0.6): Extracting archive
- Installing fidry/cpu-core-counter (1.1.0): Extracting archive
- Installing brianium/paratest (v6.11.1): Extracting archive
- Installing react/event-loop (v1.5.0): Extracting archive
- Installing evenement/evenement (v3.0.2): Extracting archive
- Installing react/stream (v1.4.0): Extracting archive
- Installing clue/ndjson-react (v1.3.0): Extracting archive
- Installing composer/pcre (3.1.4): Extracting archive
- Upgrading doctrine/event-manager (2.0.0 => 2.0.1): Checking out b680156fa3 from cache
- Upgrading doctrine/dbal (3.8.3 => 3.8.6): Checking out b7411825cf from cache
- Installing fakerphp/faker (v1.23.1): Extracting archive
- Installing phpstan/phpstan (1.11.5): Extracting archive
- Installing phpmyadmin/sql-parser (5.9.0): Extracting archive
- Installing larastan/larastan (v2.9.7): Extracting archive
- Upgrading paragonie/constant_time_encoding (v2.6.3 => v2.7.0): Checking out 52a0d99e69 from cache
- Upgrading phpseclib/phpseclib (3.0.37 => 3.0.38): Checking out b18b8788e5 from cache
- Upgrading lcobucci/jwt (4.3.0 => 5.3.0): Checking out 08071d8d2c from cache
- Upgrading firebase/php-jwt (v6.10.0 => v6.10.1): Checking out 500501c2ce from cache
- Upgrading laravel/socialite (v5.12.1 => v5.15.0): Checking out c8234bfb28 from cache
- Upgrading psy/psysh (v0.12.3 => v0.12.4): Checking out 2fd717afa0 from cache
- Upgrading laravel/ui (v4.5.1 => v4.5.2): Checking out c75396f632 from cache
- Upgrading league/csv (9.15.0 => 9.16.0): Checking out 998280c6c3 from cache
- Upgrading aws/aws-sdk-php (3.303.1 => 3.314.6): Checking out d04da330b0 from cache
- Upgrading league/flysystem-aws-s3-v3 (3.26.0 => 3.28.0): Checking out 22071ef160 from cache
- Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
- Installing mockery/mockery (1.6.12): Extracting archive
- Installing symfony/http-client-contracts (v3.5.0): Extracting archive
- Installing symfony/http-client (v6.4.8): Extracting archive
- Installing symfony/var-exporter (v6.4.8): Extracting archive
- Installing symfony/cache-contracts (v3.5.0): Extracting archive
- Installing symfony/cache (v6.4.8): Extracting archive
- Upgrading phpstan/phpdoc-parser (1.27.0 => 1.29.1): Checking out fcaefacf2d from cache
- Installing slevomat/coding-standard (8.15.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
- Installing league/container (4.2.2): Extracting archive
- Installing justinrainbow/json-schema (v5.2.13): Extracting archive
- Installing symfony/stopwatch (v6.4.8): Extracting archive
- Installing symfony/polyfill-php81 (v1.30.0): Extracting archive
- Installing symfony/options-resolver (v6.4.8): Extracting archive
- Installing symfony/filesystem (v6.4.8): Extracting archive
- Installing react/promise (v3.2.0): Extracting archive
- Installing react/cache (v1.2.0): Extracting archive
- Installing react/dns (v1.13.0): Extracting archive
- Installing react/socket (v1.15.0): Extracting archive
- Installing react/child-process (v0.6.5): Extracting archive
- Installing composer/xdebug-handler (3.0.5): Extracting archive
- Installing composer/semver (3.4.0): Extracting archive
- Installing friendsofphp/php-cs-fixer (v3.59.3): Extracting archive
- Installing cmgmyr/phploc (8.0.3): Extracting archive
- Installing nunomaduro/phpinsights (v2.11.0): Extracting archive
- Upgrading onelogin/php-saml (3.6.1 => 3.7.0): Checking out 91c1a3b3e2 from cache
- Upgrading paragonie/sodium_compat (v1.20.0 => v1.21.1): Checking out bb312875dc from cache
- 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
- Upgrading phpdocumentor/reflection-docblock (5.3.0 => 5.4.1): Checking out 9d07b3f7fd from cache
- Installing spatie/error-solutions (1.0.1): Extracting archive
- Upgrading spatie/backtrace (1.5.3 => 1.6.1): Checking out 8373b9d516 from cache
- Upgrading spatie/flare-client-php (1.4.4 => 1.7.0): Checking out 097040ff51 from cache
- Upgrading spatie/db-dumper (3.4.3 => 3.6.0): Checking out faca505683 from cache
- Upgrading spatie/laravel-backup (8.6.0 => 8.8.1): Checking out a9c2d2f726 from cache
- Upgrading spatie/ignition (1.13.1 => 1.15.0): Checking out e3a68e1373 from cache
- Upgrading spatie/laravel-ignition (2.5.1 => 2.8.0): Checking out 3c067b75bf from cache
- Installing symfony/dom-crawler (v4.4.45): Extracting archive
- Installing spatie/array-to-xml (3.3.0): 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.4): Extracting archive
- Installing amphp/byte-stream (v1.8.2): Extracting archive
Installing vimeo/psalm (5.25.0): Extracting archive Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead. Generating optimized autoload files Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\S3ClientStub" was found in both "/var/www/html/snipeit/vendor/league/flysystem-aws-s3-v3/S3ClientStub.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/AwsS3V3/S3ClientStub.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3Adapter" was found in both "/var/www/html/snipeit/vendor/league/flysystem-aws-s3-v3/AwsS3V3Adapter.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/AwsS3V3/AwsS3V3Adapter.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\AwsS3V3AdapterTest" was found in both "/var/www/html/snipeit/vendor/league/flysystem-aws-s3-v3/AwsS3V3AdapterTest.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/AwsS3V3/AwsS3V3AdapterTest.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\PortableVisibilityConverter" was found in both "/var/www/html/snipeit/vendor/league/flysystem-aws-s3-v3/PortableVisibilityConverter.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/AwsS3V3/PortableVisibilityConverter.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\AwsS3V3\VisibilityConverter" was found in both "/var/www/html/snipeit/vendor/league/flysystem-aws-s3-v3/VisibilityConverter.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/AwsS3V3/VisibilityConverter.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\Local\FallbackMimeTypeDetector" was found in both "/var/www/html/snipeit/vendor/league/flysystem-local/FallbackMimeTypeDetector.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/Local/FallbackMimeTypeDetector.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapterTest" was found in both "/var/www/html/snipeit/vendor/league/flysystem-local/LocalFilesystemAdapterTest.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/Local/LocalFilesystemAdapterTest.php", the first will be used. Warning: Ambiguous class resolution, "League\Flysystem\Local\LocalFilesystemAdapter" was found in both "/var/www/html/snipeit/vendor/league/flysystem-local/LocalFilesystemAdapter.php" and "/var/www/html/snipeit/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.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/phpinsights ...................................................................................................................... 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
148 packages you are using are looking for funding. Use the
composer fund
command to find out more! Failed to set PHP CodeSniffer installed_paths Config snipeitapp@ip-10-0-3-122:/var/www/html/snipeit$
AND NOW THE REPORTS WORK!!!
Thank you so much for the help!
That looks better 😄 Glad you got it working 👍🏾
Debug mode
Describe the bug
Hello, i need some assitance with this issue. This is a fresh install of snipeIT, i followed the instructions on the web page (THIS) added a few assets, configured LDAP Sync and everything works fine except de report part
When i try yo generate an asset reports it shows me the next error
500 | Server Error
I enabled the debug mode and checked the logs under /var/www/html/snipeit/storage/logs/laravel.log and when i press the button "Generate" it generate the next log:
I read something about the > [2024-06-27 10:58:51] production.ERROR: Error: Class "Debugbar" not found in /var/www/html/snipeit/app/Http/Controllers/ReportsController.php:425 line, but i didn't understood how to fix it
I would appreciate some help, thank you!
Reproduction steps
1.Open SnipeIT 2.Go to Reports --> Custom Asset Report 3.Click on "Generate" 4.Get the error code ...
Expected behavior
Download a .csv file
Screenshots
No response
Snipe-IT Version
v7.0.5 build 14092
Operating System
Ubuntu 24.04 LTS
Web Server
apache
PHP Version
8.3.6
Operating System
Windows 11
Browser
Brave/Chrome
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response