-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 Error After Update #15924
Comments
👋 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. |
In the future, please do not attach log files here. They're a pain to open, and we don't like to encourage folks to download files from strangers :) laravel.log
What's strange here is the mention of a directory.
What was the output when you ran the upgrader? |
I attached that as well in the original post
(message edited to remove identifying info)
|
Also via attachment, so not as helpful. Upgrade output
Nothing stands out - that upgrade looks pretty clean. When you |
/var/www/html/snipeit/ Does not exist. I have /var/www/html
Are there any other logs that would be helpful?
…On Wed, Dec 4, 2024 at 4:01 PM snipe ***@***.***> wrote:
Also via attachment, so not as helpful.
Upgrade output
--------------------------------------------------------
WELCOME TO THE SNIPE-IT UPGRADER!
--------------------------------------------------------
This script will attempt to:
- validate some very basic .env file settings
- check your PHP version and extension requirements
- check directory permissions
- do a git pull to bring you to the latest version
- run composer install to get your vendors up to date
- run migrations to get your schema up to date
- clear out old cache settings
Launching using branch: master
Found PHP requirements, will check for PHP > 8.1.0 and < 8.4.0
Proceed with upgrade? [y/N]: y
--------------------------------------------------------
STEP 1: Checking .env file:
- Your .env is located at /home/test/snipeit/.env
--------------------------------------------------------
√ Your APP_KEY is not blank.
√ Your APP_URL is not null or blank. It is set to http://192.168.1.20
√ Your APP_URL is set to http://192.168.1.20 and starts with the protocol (https:// or http://)
√ Your APP_URL (http://192.168.1.20) does not have a trailing slash.
--------------------------------------------------------
STEP 2: Checking PHP requirements: (Required PHP >=8.1.0 - <8.4.0)
--------------------------------------------------------
√ Current PHP version: (8.1.2-1ubuntu2.19) is at least 8.1.0 and less than 8.4.0! Continuing...
FYI: The php.ini used by this PHP is: /etc/php/8.1/cli/php.ini
Checking Required PHP extensions...
√ bcmath is installed!
√ curl is installed!
√ exif is installed!
√ fileinfo is installed!
√ gd is installed!
√ json is installed!
√ ldap is installed!
√ mbstring is installed!
√ mysqli is installed!
√ openssl is installed!
√ PDO is installed!
√ sodium is installed!
√ tokenizer is installed!
√ xml is installed!
√ zip is installed!
--------------------------------------------------------
STEP 3: Checking directory permissions:
--------------------------------------------------------
√ /home/test/snipeit/bootstrap/cache is writable
√ /home/test/snipeit/storage is writable
√ /home/test/snipeit/storage/logs is writable
√ /home/test/snipeit/storage/logs/laravel.log is writable
√ /home/test/snipeit/storage/framework is writable
√ /home/test/snipeit/storage/framework/cache is writable
√ /home/test/snipeit/storage/framework/sessions is writable
√ /home/test/snipeit/storage/framework/views is writable
√ /home/test/snipeit/storage/app is writable
√ /home/test/snipeit/storage/app/backups is writable
√ /home/test/snipeit/storage/app/backup-temp is writable
√ /home/test/snipeit/storage/private_uploads is writable
√ /home/test/snipeit/public/uploads is writable
--------------------------------------------------------
STEP 4: Backing up database:
--------------------------------------------------------
-- Starting backup...
Dumping database snipeit...
Determining files to backup...
Zipping 60 files and directories...
Created zip containing 60 files and directories. Size is 286.78 KB
Copying zip to disk named backup...
Successfully copied zip to disk named backup.
Backup completed!
--------------------------------------------------------
STEP 5: Putting application into maintenance mode:
--------------------------------------------------------
--
INFO Application is now in maintenance mode.
--------------------------------------------------------
STEP 6: Pulling latest from Git (master branch):
--------------------------------------------------------
Git is installed.
Already on 'master'
-- Saved working directory and index state WIP on master: 43d66a8 Merge pull request #15918 from Godmartinz/mail_name_fix
-- M composer.lock
M public/vendor/livewire/livewire.esm.js
M public/vendor/livewire/livewire.esm.js.map
M public/vendor/livewire/livewire.js
M public/vendor/livewire/livewire.min.js
M public/vendor/livewire/livewire.min.js.map
M public/vendor/livewire/manifest.json
Your branch is up to date with 'origin/master'.
-- Already up to date.
--------------------------------------------------------
STEP 7: Cleaning up old cached files:
--------------------------------------------------------
√ No bootstrap/cache/compiled.php, so nothing to delete.
√ Deleting bootstrap/cache/services.php. It is no longer used.
√ No bootstrap/cache/config.php, so nothing to delete.
√ No vendor/symfony/translation/TranslatorInterface.php, so nothing to delete.
--
INFO Configuration cache cleared successfully.
--
INFO Application cache cleared successfully.
--
INFO Route cache cleared successfully.
--
INFO Compiled views cleared successfully.
--------------------------------------------------------
STEP 8: Updating composer dependencies:
(This may take a moment.)
--------------------------------------------------------
-- Running the app in production mode.
√ Local composer.phar detected, so we'll use that.
-- Updating local composer.phar
You are already using the latest available Composer version 2.8.3 (stable channel).
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 25 updates, 70 removals
- Downloading symfony/deprecation-contracts (v3.5.0)
- Downloading voku/portable-ascii (2.0.1)
- Downloading symfony/routing (v6.4.13)
- Downloading symfony/service-contracts (v3.5.0)
- Downloading symfony/event-dispatcher-contracts (v3.5.0)
- Downloading symfony/http-foundation (v6.4.15)
- Downloading symfony/http-kernel (v6.4.15)
- Downloading nunomaduro/termwind (v1.16.0)
- Downloading symfony/translation-contracts (v3.5.0)
- Downloading laravel/serializable-closure (v1.3.6)
- Downloading laravel/framework (v10.48.23)
- Downloading barryvdh/laravel-debugbar (v3.14.6)
- Downloading laravel/helpers (v1.7.0)
- Downloading firebase/php-jwt (v6.10.1)
- Downloading psy/psysh (v0.12.4)
- Downloading laravel/ui (v4.5.2)
- Downloading aws/aws-sdk-php (3.326.0)
- Downloading livewire/livewire (v3.5.12)
- Downloading robrichards/xmlseclibs (3.1.1)
- Downloading phpspec/prophecy (v1.19.0)
- Downloading spatie/backtrace (1.6.2)
- Downloading spatie/flare-client-php (1.8.0)
- Downloading spatie/laravel-package-tools (1.16.5)
- Downloading spatie/db-dumper (3.7.0)
- Downloading spatie/laravel-ignition (2.8.0)
0/25 [>---------------------------] 0%
3/25 [===>------------------------] 12%
8/25 [========>-------------------] 32%
14/25 [===============>------------] 56%
18/25 [====================>-------] 72%
20/25 [======================>-----] 80%
23/25 [=========================>--] 92%
25/25 [============================] 100%
- Removing vimeo/psalm (5.26.1)
- Removing theseer/tokenizer (1.2.3)
- Removing symfony/var-exporter (v6.4.13)
- Removing symfony/stopwatch (v6.4.13)
- Removing symfony/polyfill-php81 (v1.31.0)
- Removing symfony/options-resolver (v6.4.16)
- Removing symfony/http-client-contracts (v3.5.1)
- Removing symfony/http-client (v6.4.16)
- Removing symfony/filesystem (v6.4.13)
- Removing symfony/dom-crawler (v4.4.45)
- Removing symfony/cache-contracts (v3.5.1)
- Removing symfony/cache (v6.4.16)
- Removing squizlabs/php_codesniffer (3.11.1)
- Removing spatie/array-to-xml (3.3.0)
- Removing slevomat/coding-standard (8.15.0)
- Removing sebastian/version (4.0.1)
- Removing sebastian/type (4.0.0)
- Removing sebastian/object-reflector (3.0.0)
- Removing sebastian/object-enumerator (5.0.0)
- Removing sebastian/lines-of-code (2.0.2)
- Removing sebastian/global-state (6.0.2)
- Removing sebastian/environment (6.1.0)
- Removing sebastian/complexity (3.2.0)
- Removing sebastian/code-unit-reverse-lookup (3.0.0)
- Removing sebastian/code-unit (2.0.0)
- Removing sebastian/cli-parser (2.0.1)
- Removing react/stream (v1.4.0)
- Removing react/socket (v1.16.0)
- Removing react/promise (v3.2.0)
- Removing react/event-loop (v1.5.0)
- Removing react/dns (v1.13.0)
- Removing react/child-process (v0.6.5)
- Removing react/cache (v1.2.0)
- Removing phpunit/phpunit (10.5.38)
- Removing phpunit/php-timer (6.0.0)
- Removing phpunit/php-text-template (3.0.1)
- Removing phpunit/php-invoker (4.0.0)
- Removing phpunit/php-file-iterator (4.1.0)
- Removing phpunit/php-code-coverage (10.1.16)
- Removing phpstan/phpstan (1.12.12)
- Removing phpmyadmin/sql-parser (5.10.1)
- Removing php-parallel-lint/php-parallel-lint (v1.4.0)
- Removing php-mock/php-mock-phpunit (2.10.0)
- Removing php-mock/php-mock-integration (2.3.0)
- Removing php-mock/php-mock (2.5.0)
- Removing phar-io/version (3.2.1)
- Removing phar-io/manifest (2.0.4)
- Removing nunomaduro/phpinsights (v2.12.0)
- Removing netresearch/jsonmapper (v4.5.0)
- Removing myclabs/deep-copy (1.12.1)
- Removing mockery/mockery (1.6.12)
- Removing league/container (4.2.4)
- Removing larastan/larastan (v2.9.12)
- Removing justinrainbow/json-schema (5.3.0)
- Removing hamcrest/hamcrest-php (v2.0.1)
- Removing friendsofphp/php-cs-fixer (v3.65.0)
- Removing fidry/cpu-core-counter (1.2.0)
- Removing felixfbecker/language-server-protocol (v1.5.3)
- Removing felixfbecker/advanced-json-rpc (v3.2.1)
- Removing fakerphp/faker (v1.24.1)
- Removing evenement/evenement (v3.0.2)
- Removing dnoegel/php-xdg-base-dir (v0.1.1)
- Removing dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
- Removing composer/xdebug-handler (3.0.5)
- Removing composer/semver (3.4.3)
- Removing composer/pcre (3.3.2)
- Removing cmgmyr/phploc (8.0.4)
- Removing clue/ndjson-react (v1.3.0)
- Removing amphp/byte-stream (v1.8.2)
- Removing amphp/amp (v2.6.4)
- Downgrading symfony/deprecation-contracts (v3.5.1 => v3.5.0): Extracting archive
- Downgrading voku/portable-ascii (2.0.3 => 2.0.1): Extracting archive
- Downgrading symfony/routing (v6.4.16 => v6.4.13): Extracting archive
- Downgrading symfony/service-contracts (v3.5.1 => v3.5.0): Extracting archive
- Downgrading symfony/event-dispatcher-contracts (v3.5.1 => v3.5.0): Extracting archive
- Downgrading symfony/http-foundation (v6.4.16 => v6.4.15): Extracting archive
- Downgrading symfony/http-kernel (v6.4.16 => v6.4.15): Extracting archive
- Downgrading nunomaduro/termwind (v1.17.0 => v1.16.0): Extracting archive
- Downgrading symfony/translation-contracts (v3.5.1 => v3.5.0): Extracting archive
- Downgrading laravel/serializable-closure (v1.3.7 => v1.3.6): Extracting archive
- Downgrading laravel/framework (v10.48.25 => v10.48.23): Extracting archive
- Downgrading barryvdh/laravel-debugbar (v3.14.9 => v3.14.6): Extracting archive
- Downgrading laravel/helpers (v1.7.1 => v1.7.0): Extracting archive
- Downgrading firebase/php-jwt (v6.10.2 => v6.10.1): Extracting archive
- Downgrading psy/psysh (v0.12.5 => v0.12.4): Extracting archive
- Downgrading laravel/ui (v4.6.0 => v4.5.2): Extracting archive
- Downgrading aws/aws-sdk-php (3.333.0 => 3.326.0): Extracting archive
- Downgrading livewire/livewire (v3.5.16 => v3.5.12): Extracting archive
- Downgrading robrichards/xmlseclibs (3.1.3 => 3.1.1): Extracting archive
- Downgrading phpspec/prophecy (v1.20.0 => v1.19.0): Extracting archive
- Downgrading spatie/backtrace (1.7.1 => 1.6.2): Extracting archive
- Downgrading spatie/flare-client-php (1.10.0 => 1.8.0): Extracting archive
- Downgrading spatie/laravel-package-tools (1.16.6 => 1.16.5): Extracting archive
- Downgrading spatie/db-dumper (3.7.1 => 3.7.0): Extracting archive
- Downgrading spatie/laravel-ignition (2.9.0 => 2.8.0): Extracting archive
0/86 [>---------------------------] 0%
9/86 [==>-------------------------] 10%
18/86 [=====>----------------------] 20%
27/86 [========>-------------------] 31%
35/86 [===========>----------------] 40%
44/86 [==============>-------------] 51%
52/86 [================>-----------] 60%
61/86 [===================>--------] 70%
71/86 [=======================>----] 82%
81/86 [==========================>-] 94%
85/86 [===========================>] 98%
86/86 [============================] 100%
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
> @php artisan vendor:publish --force --tag=livewire:assets --ansi
88 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
> @php artisan vendor:publish --force --tag=livewire:assets --ansi
Generating optimized autoload files
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
osa-eg/laravel-teams-notification ..................................... DONE
pragmarx/google2fa-laravel ............................................ DONE
spatie/laravel-backup ................................................. DONE
spatie/laravel-ignition ............................................... DONE
spatie/laravel-signal-aware-command ................................... DONE
unicodeveloper/laravel-password ....................................... DONE
INFO Publishing [livewire:assets] assets.
Copying directory [vendor/livewire/livewire/dist] to [public/vendor/livewire] DONE
Generated optimized autoload files containing 8898 classes
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
osa-eg/laravel-teams-notification ..................................... DONE
pragmarx/google2fa-laravel ............................................ DONE
spatie/laravel-backup ................................................. DONE
spatie/laravel-ignition ............................................... DONE
spatie/laravel-signal-aware-command ................................... DONE
unicodeveloper/laravel-password ....................................... DONE
INFO Publishing [livewire:assets] assets.
Copying directory [vendor/livewire/livewire/dist] to [public/vendor/livewire] DONE
--------------------------------------------------------
STEP 9: Migrating database:
--------------------------------------------------------
INFO Nothing to migrate.
--------------------------------------------------------
STEP 10: Checking for OAuth keys:
--------------------------------------------------------
√ OAuth keys detected. Skipping passport install.
--------------------------------------------------------
STEP 11: Taking application out of maintenance mode:
--------------------------------------------------------
--
INFO Application is now live.
---------------------- FINISHED! -----------------------
All done! Clear your browser cookies and re-login to use
your upgraded Snipe-IT!
--------------------------------------------------------
Nothing stands out - that upgrade looks pretty clean.
When you ls -al /var/www/html/snipeit/, what do you see?
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3O4J5VC5RRCXUEQTL32D53UFAVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJYGY2DSMRRGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
In your original post, you said you ran Where is your Snipe-IT directory? Looks like maybe |
Thank you for bringing this to my attention. I did not catch the error when
I ran it the first time incorrectly. I ran the line of code as you
specified. Unfortunately, this did not fix the problem.
***@***.***:~$ ls -al /home/test/snipeit
total 4476
drwxrwxr-x 19 www-data www-data 4096 Dec 4 18:35 .
drwxr-x--- 7 test test 4096 Dec 4 15:00 ..
-rw-rw-r-- 1 www-data www-data 87107 Dec 3 21:09 .all-contributorsrc
drwxrwxr-x 4 www-data www-data 4096 Sep 12 2023 ansible
drwxrwxr-x 22 www-data www-data 4096 Dec 3 21:09 app
-rw-rw-r-- 1 www-data www-data 5786 Dec 3 21:09 app.json
-rw-rw-r-- 1 www-data www-data 1646 Sep 12 2023 artisan
drwxrwxr-x 3 www-data www-data 4096 Sep 12 2023 bootstrap
-rw-rw-r-- 1 www-data www-data 3228 Sep 12 2023 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 www-data www-data 3953 Dec 3 21:09 composer.json
-rw-rw-r-- 1 www-data www-data 612560 Dec 4 18:22 composer.lock
-rwxr-xr-x 1 www-data www-data 3056636 Dec 4 14:47 composer.phar
drwxrwxr-x 2 www-data www-data 4096 Dec 3 21:09 config
-rw-rw-r-- 1 www-data www-data 0 Sep 12 2023 _config.yml
-rw-rw-r-- 1 www-data www-data 317 Sep 12 2023 CONTRIBUTING.md
-rw-rw-r-- 1 www-data www-data 78837 Dec 3 21:09 CONTRIBUTORS.md
-rw-rw-r-- 1 www-data www-data 289 Dec 3 21:09 crowdin.yml
drwxrwxr-x 5 www-data www-data 4096 Sep 12 2023 database
-rw-rw-r-- 1 www-data www-data 951 Dec 3 21:09 dev.docker-compose.yml
drwxrwxr-x 2 www-data www-data 4096 Dec 3 21:09 docker
-rw-rw-r-- 1 www-data www-data 859 Dec 3 21:09 docker-compose.yml
-rw-rw-r-- 1 www-data www-data 4408 Dec 3 21:09 Dockerfile
-rw-rw-r-- 1 www-data www-data 2671 Dec 3 21:09 Dockerfile.alpine
-rw-rw-r-- 1 www-data www-data 3555 Dec 3 21:09 Dockerfile.fpm-alpine
-rw-rw-r-- 1 www-data www-data 156 Sep 12 2023 .dockerignore
-rw-rw-r-- 1 www-data www-data 5232 Dec 4 18:12 .env
-rw-rw-r-- 1 www-data www-data 4695 Dec 3 21:09 .env.dev.docker
-rw-rw-r-- 1 www-data www-data 4845 Dec 3 21:09 .env.docker
-rw-rw-r-- 1 www-data www-data 2779 Dec 3 21:09 .env.dusk.example
-rw-rw-r-- 1 www-data www-data 5520 Dec 3 21:09 .env.example
-rw-rw-r-- 1 www-data www-data 1024 Dec 3 21:09 .env.testing-ci
-rw-rw-r-- 1 www-data www-data 511 Dec 3 21:09 .env.testing.example
-rw-rw-r-- 1 www-data www-data 549 Dec 3 21:09 .env.tests
-rw-rw-r-- 1 www-data www-data 504 Dec 3 21:09 .env.unit-tests
drwxrwxr-x 8 www-data www-data 4096 Dec 4 18:22 .git
-rwxrwxr-x 1 www-data www-data 53 Sep 12 2023 .gitattributes
drwxrwxr-x 4 www-data www-data 4096 Dec 3 21:09 .github
-rwxrwxr-x 1 www-data www-data 1352 Dec 3 21:09 .gitignore
drwxrwxr-x 2 www-data www-data 4096 Sep 12 2023 heroku
-rw-rw-r-- 1 www-data www-data 446 Sep 12 2023 .htaccess
-rwxrwxr-x 1 www-data www-data 371 Sep 12 2023 install.sh
-rwxrwxr-x 1 www-data www-data 34519 Sep 12 2023 LICENSE
-rw-rw-r-- 1 www-data www-data 9 Dec 3 21:09 .nvmrc
-rw-rw-r-- 1 www-data www-data 2001 Dec 3 21:09 package.json
-rw-rw-r-- 1 www-data www-data 356942 Dec 3 21:09 package-lock.json
-rw-rw-r-- 1 www-data www-data 2376 Sep 12 2023 phpmd.xml
-rw-rw-r-- 1 www-data www-data 210 Sep 12 2023 phpstan.neon.dist
-rw-rw-r-- 1 www-data www-data 265 Sep 12 2023 phpstan.neon.example
-rw-rw-r-- 1 www-data www-data 1174 Dec 3 21:09 phpunit.xml
-rw-rw-r-- 1 www-data www-data 57 Sep 12 2023 Procfile
-rw-rw-r-- 1 www-data www-data 573 Sep 12 2023 psalm.xml
drwxrwxr-x 9 www-data www-data 4096 Dec 3 21:09 public
-rw-rw-r-- 1 www-data www-data 8858 Dec 3 21:09 README.md
drwxrwxr-x 6 www-data www-data 4096 Sep 12 2023 resources
drwxrwxr-x 3 www-data www-data 4096 Dec 3 21:09 routes
drwxrwxr-x 2 www-data www-data 4096 Dec 3 21:09 sample_csvs
-rw-rw-r-- 1 www-data www-data 1083 Sep 12 2023 SECURITY.md
-rw-rw-r-- 1 www-data www-data 567 Sep 12 2023 server.php
-rwxrwxr-x 1 www-data www-data 31798 Dec 3 21:09 snipeit.sh
drwxrwxr-x 7 www-data www-data 4096 Dec 4 15:00 storage
drwxrwxr-x 2 www-data www-data 4096 Sep 12 2023 stubs
-rw-rw-r-- 1 www-data www-data 1923 Dec 3 21:09 TESTING.md
drwxrwxr-x 6 www-data www-data 4096 Dec 3 21:09 tests
-rw-rw-r-- 1 www-data www-data 22216 Dec 3 21:09 upgrade.php
-rw-rw-r-- 1 www-data www-data 550 Dec 3 21:09
.upgrade_requirements.json
-rw-rw-r-- 1 www-data www-data 4586 Sep 12 2023 Vagrantfile
drwxrwxr-x 73 www-data www-data 4096 Dec 4 18:22 vendor
-rw-rw-r-- 1 www-data www-data 6060 Dec 3 21:09 webpack.mix.js
…On Thu, Dec 5, 2024 at 7:56 AM snipe ***@***.***> wrote:
In your original post, you said you ran chown -R www-data:www-data
/var/www/html/snipeit/ - if that directory doesn't exist, how would that
have command have completed?
Where is your Snipe-IT directory? Looks like maybe /home/test/snipeit? I
think you'd want to chown -R www-data:www-data /home/test/snipeit, in
which case please show me the output of ls -al /home/test/snipeit.
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3MAZD7F7EERQCZNL432EBLQ7AVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRQGM4TMNRYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
Can you show me the output of that please? |
( |
***@***.***:~$ ls -al /home/test/snipeit/storage
total 36
drwxrwxr-x 7 www-data www-data 4096 Dec 4 15:00 .
drwxrwxr-x 19 www-data www-data 4096 Dec 4 18:35 ..
drwxrwxr-x 4 www-data www-data 4096 Dec 4 14:27 app
drwxrwxr-x 2 www-data www-data 4096 Sep 12 2023 debugbar
drwxrwxr-x 5 www-data www-data 4096 Dec 4 18:22 framework
drwxrwxr-x 2 www-data www-data 4096 Dec 4 14:26 logs
-rw-rw-r-- 1 www-data www-data 3322 Dec 4 15:00 oauth-private.key
-rw-rw-r-- 1 www-data www-data 812 Dec 4 15:00 oauth-public.key
drwxrwxr-x 13 www-data www-data 4096 Sep 12 2023 private_uploads
…On Mon, Dec 9, 2024 at 6:31 AM snipe ***@***.***> wrote:
(ls -al just means list all with details including hidden files)
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3M5GCGIHYNAOYDUG3L2EWER5AVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXG44TQNBVGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
It's still super-weird that it says that your oauth-private.key is supposed to be a directory - can you redact out any private information - passwords, API keys, stuff like that - from your |
***@***.***:~/snipeit$ cat .env
# --------------------------------------------
# REQUIRED: BASIC APP SETTINGS
# --------------------------------------------
APP_ENV=production
APP_DEBUG=true
APP_KEY=base64:XXXXXXXXXXXXXXXXXXXXXXXXXX
APP_URL=http://192.168.1.20
APP_TIMEZONE='America/Chicago'
APP_LOCALE=en
MAX_RESULTS=500
# --------------------------------------------
# REQUIRED: UPLOADED FILE STORAGE SETTINGS
# --------------------------------------------
PRIVATE_FILESYSTEM_DISK=local
PUBLIC_FILESYSTEM_DISK=local_public
#PRIVATE_FILESYSTEM_DISK=s3_private
#PUBLIC_FILESYSTEM_DISK=s3_public
# --------------------------------------------
# REQUIRED: DATABASE SETTINGS
# --------------------------------------------
DB_CONNECTION=XXXXXXX
DB_HOST=127.0.0.1
DB_PORT=XXXXXX
DB_DATABASE=XXXXXXX
DB_USERNAME=XXXXXXX
DB_PASSWORD=XXXXXXX
DB_PREFIX=null
DB_DUMP_PATH='/usr/bin'
DB_CHARSET=utf8mb4
DB_COLLATION=utf8mb4_unicode_ci
# --------------------------------------------
# OPTIONAL: SSL DATABASE SETTINGS
# --------------------------------------------
DB_SSL=false
DB_SSL_IS_PAAS=false
DB_SSL_KEY_PATH=null
DB_SSL_CERT_PATH=null
DB_SSL_CA_PATH=null
DB_SSL_CIPHER=null
# --------------------------------------------
# REQUIRED: OUTGOING MAIL SERVER SETTINGS
# --------------------------------------------
Deleted for privacy
# --------------------------------------------
# REQUIRED: IMAGE LIBRARY
# This should be gd or imagick
# --------------------------------------------
IMAGE_LIB=imagick
# --------------------------------------------
# OPTIONAL: BACKUP SETTINGS
# --------------------------------------------
MAIL_BACKUP_NOTIFICATION_DRIVER=null
MAIL_BACKUP_NOTIFICATION_ADDRESS=null
BACKUP_ENV=true
ALLOW_BACKUP_DELETE=false
ALLOW_DATA_PURGE=false
# --------------------------------------------
# OPTIONAL: SESSION SETTINGS
# --------------------------------------------
SESSION_DRIVER=file
SESSION_LIFETIME=12000
EXPIRE_ON_CLOSE=false
ENCRYPT=false
COOKIE_NAME=snipeit_session
COOKIE_DOMAIN=null
SECURE_COOKIES=false
API_TOKEN_EXPIRATION_YEARS=15
BS_TABLE_STORAGE=cookieStorage
# --------------------------------------------
# OPTIONAL: SECURITY HEADER SETTINGS
# --------------------------------------------
#APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1
ALLOW_IFRAMING=false
REFERRER_POLICY=same-origin
ENABLE_CSP=false
CORS_ALLOWED_ORIGINS=null
ENABLE_HSTS=false
# --------------------------------------------
# OPTIONAL: CACHE SETTINGS
# --------------------------------------------
CACHE_DRIVER=file
QUEUE_DRIVER=sync
CACHE_PREFIX=snipeit
# --------------------------------------------
# OPTIONAL: REDIS SETTINGS
# --------------------------------------------
REDIS_HOST=null
REDIS_PASSWORD=XXXXXX
REDIS_PORT=null
# --------------------------------------------
# OPTIONAL: MEMCACHED SETTINGS
# --------------------------------------------
MEMCACHED_HOST=null
MEMCACHED_PORT=null
# --------------------------------------------
# OPTIONAL: PUBLIC S3 Settings
# --------------------------------------------
PUBLIC_AWS_SECRET_ACCESS_KEY=null
PUBLIC_AWS_ACCESS_KEY_ID=null
PUBLIC_AWS_DEFAULT_REGION=null
PUBLIC_AWS_BUCKET=null
PUBLIC_AWS_URL=null
PUBLIC_AWS_BUCKET_ROOT=null
# --------------------------------------------
# OPTIONAL: PRIVATE S3 Settings
# --------------------------------------------
PRIVATE_AWS_ACCESS_KEY_ID=null
PRIVATE_AWS_SECRET_ACCESS_KEY=null
PRIVATE_AWS_DEFAULT_REGION=null
PRIVATE_AWS_BUCKET=null
PRIVATE_AWS_URL=null
PRIVATE_AWS_BUCKET_ROOT=null
# --------------------------------------------
# OPTIONAL: AWS Settings
# --------------------------------------------
AWS_ACCESS_KEY_ID=null
AWS_SECRET_ACCESS_KEY=null
AWS_DEFAULT_REGION=null
# --------------------------------------------
# OPTIONAL: LOGIN THROTTLING
# --------------------------------------------
LOGIN_MAX_ATTEMPTS=5
LOGIN_LOCKOUT_DURATION=60
LOGIN_AUTOCOMPLETE=false
# --------------------------------------------
# OPTIONAL: FORGOTTEN PASSWORD SETTINGS
# --------------------------------------------
RESET_PASSWORD_LINK_EXPIRES=15
PASSWORD_CONFIRM_TIMEOUT=10800
PASSWORD_RESET_MAX_ATTEMPTS_PER_MIN=50
# --------------------------------------------
# OPTIONAL: MISC
# --------------------------------------------
LOG_CHANNEL=single
LOG_MAX_DAYS=10
APP_LOCKED=false
APP_CIPHER=AES-256-CBC
APP_FORCE_TLS=false
APP_ALLOW_INSECURE_HOSTS=false
GOOGLE_MAPS_API=
LDAP_MEM_LIM=500M
LDAP_TIME_LIM=600
IMPORT_TIME_LIMIT=600
IMPORT_MEMORY_LIMIT=500M
REPORT_TIME_LIMIT=12000
REQUIRE_SAML=false
API_THROTTLE_PER_MINUTE=120
CSV_ESCAPE_FORMULAS=true
# --------------------------------------------
# OPTIONAL: HASHING
# --------------------------------------------
HASHING_DRIVER='bcrypt'
BCRYPT_ROUNDS=10
ARGON_MEMORY=1024
ARGON_THREADS=2
ARGON_TIME=2
# --------------------------------------------
# OPTIONAL: SCIM
# --------------------------------------------
SCIM_TRACE=false
SCIM_STANDARDS_COMPLIANCE=false
…On Mon, Dec 9, 2024 at 1:39 PM Brady Wetherington ***@***.***> wrote:
It's still super-weird that it says that your oauth-private.key is
supposed to be a directory - can you redact out any private information -
passwords, API keys, stuff like that - from your .env file and paste it
up here? Maybe there'll be something weird in there, or something?
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3ODEQ7R23UHHV5O46L2EXWYDAVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRZGIZTAOJVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
Everything in here looks just fine. Your permissions look good. So I'm running out of things to try. The main thing to note is that a 500 should cause a report to show up in your laravel.log file. Something should be in there, telling you why you 500'ed. If that file is writable by your PHP process, of course. The only thing left I can think of - as a sort of 'hail mary' - is to try the various 'clear' strategies here: https://snipe-it.readme.io/docs/common-issues#quick-tip-handy-commands Barring that, I'm wondering if www-data is the correct user, after all. Do a
|
Okay, I think I found the issue. I assume during the install of snipe-it I
installed it twice in two locations. One in home/test/snipe-it the other in
/var/www/snipe-it. Here is the laravel.log of the /var path. I plan to
delete the /home/test/snipe-it director if you don't think that would hurt
anything. Error 500 started when I ran php upgrade.php on the
home/test/snipe-it path. I ran an php upgrade.php on the /var/www/snipe-it
path and the problem persists.
there is more above this line but I cut it for brevity.
[2024-12-05 08:03:34] production.ERROR: PDOException: SQLSTATE[42S02]: Base
table or view not found: 1146 Table 'snipeit.accessories_users' doesn't
exist in
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368
Stack trace:
#0
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(368):
PDO->prepare()
#1
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(705):
Illuminate\Database\Connection->Illuminate\Database\{closure}()
#2
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(672):
Illuminate\Database\Connection->runQueryCallback()
#3
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(376):
Illuminate\Database\Connection->run()
#4
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2414):
Illuminate\Database\Connection->select()
#5
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2402):
Illuminate\Database\Query\Builder->runSelect()
#6
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2936):
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#7
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2403):
Illuminate\Database\Query\Builder->onceWithColumns()
#8
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(625):
Illuminate\Database\Query\Builder->get()
#9
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(609):
Illuminate\Database\Eloquent\Builder->getModels()
#10 /var/www/snipe-it/app/Helpers/Helper.php(644):
Illuminate\Database\Eloquent\Builder->get()
#11
/var/www/snipe-it/storage/framework/views/c255c6eec153a928ec1f90acbe96601cbe180c32.php(282):
App\Helpers\Helper::checkLowInventory()
#12
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#13
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#14
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#15
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#16
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#17
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#18
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#19
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#20
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#21
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#22
/var/www/snipe-it/storage/framework/views/a008be51af022898c35be91d68e8122f98d50ad7.php(477):
Illuminate\View\View->render()
#23
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#24
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#25
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#26
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#27
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#28
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#29
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#30
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#31
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#32
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#33
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(69):
Illuminate\View\View->render()
#34
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(35):
Illuminate\Http\Response->setContent()
#35
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820):
Illuminate\Http\Response->__construct()
#36
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789):
Illuminate\Routing\Router::toResponse()
#37
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\Routing\Router->prepareResponse()
#38
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#39
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#40
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\AuthenticateSession->handle()
#41
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Auth\Middleware\Authenticate->handle()
#43 /var/www/snipe-it/app/Http/Middleware/AssetCountForSidebar.php(62):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\AssetCountForSidebar->handle()
#45
/var/www/snipe-it/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Laravel\Passport\Http\Middleware\CreateFreshApiToken->handle()
#47 /var/www/snipe-it/app/Http/Middleware/CheckForTwoFactor.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForTwoFactor->handle()
#49 /var/www/snipe-it/app/Http/Middleware/CheckUserIsActivated.php(47):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckUserIsActivated->handle()
#51 /var/www/snipe-it/app/Http/Middleware/CheckLocale.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckLocale->handle()
#53
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#55
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#57
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#58
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\EncryptCookies->handle()
#59
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#60
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723):
Illuminate\Pipeline\Pipeline->then()
#61
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698):
Illuminate\Routing\Router->runRouteWithinStack()
#62
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
Illuminate\Routing\Router->runRoute()
#63
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651):
Illuminate\Routing\Router->dispatchToRoute()
#64
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167):
Illuminate\Routing\Router->dispatch()
#65
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#66
/var/www/snipe-it/vendor/livewire/livewire/src/DisableBrowserCache.php(19):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#67
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Livewire\DisableBrowserCache->handle()
#68
/var/www/snipe-it/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#69
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
#70 /var/www/snipe-it/vendor/fruitcake/laravel-cors/src/HandleCors.php(38):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#71
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fruitcake\Cors\HandleCors->handle()
#72 /var/www/snipe-it/app/Http/Middleware/PreventBackHistory.php(23):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#73
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\PreventBackHistory->handle()
#74 /var/www/snipe-it/app/Http/Middleware/SecurityHeaders.php(26):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#75
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\SecurityHeaders->handle()
#76
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#77
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31):
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#78
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#79 /var/www/snipe-it/app/Http/Middleware/CheckForDebug.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#80
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForDebug->handle()
#81 /var/www/snipe-it/app/Http/Middleware/CheckForSetup.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#82
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForSetup->handle()
#83 /var/www/snipe-it/vendor/fideloper/proxy/src/TrustProxies.php(57):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fideloper\Proxy\TrustProxies->handle()
#85
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#86
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#87
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#88
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#89
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\StartSession->handle()
#90
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#91
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#92 /var/www/snipe-it/app/Http/Middleware/NoSessionStore.php(28):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#93
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\NoSessionStore->handle()
#94
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#95
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142):
Illuminate\Pipeline\Pipeline->then()
#96
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111):
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#97 /var/www/snipe-it/public/index.php(52):
Illuminate\Foundation\Http\Kernel->handle()
#98 {main}
Next Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or
view not found: 1146 Table 'snipeit.accessories_users' doesn't exist (SQL:
select `accessories`.*, (select count(*) from `users` inner join
`accessories_users` on `users`.`id` = `accessories_users`.`assigned_to`
where `accessories`.`id` = `accessories_users`.`accessory_id`) as
`users_count` from `accessories` where `min_amt` is not null and
`accessories`.`deleted_at` is null) in
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712
Stack trace:
#0
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(672):
Illuminate\Database\Connection->runQueryCallback()
#1
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(376):
Illuminate\Database\Connection->run()
#2
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2414):
Illuminate\Database\Connection->select()
#3
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2402):
Illuminate\Database\Query\Builder->runSelect()
#4
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2936):
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#5
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2403):
Illuminate\Database\Query\Builder->onceWithColumns()
#6
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(625):
Illuminate\Database\Query\Builder->get()
#7
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(609):
Illuminate\Database\Eloquent\Builder->getModels()
#8 /var/www/snipe-it/app/Helpers/Helper.php(644):
Illuminate\Database\Eloquent\Builder->get()
#9
/var/www/snipe-it/storage/framework/views/c255c6eec153a928ec1f90acbe96601cbe180c32.php(282):
App\Helpers\Helper::checkLowInventory()
#10
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#11
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#12
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#13
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#14
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#15
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#16
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#17
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#18
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#19
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#20
/var/www/snipe-it/storage/framework/views/a008be51af022898c35be91d68e8122f98d50ad7.php(477):
Illuminate\View\View->render()
#21
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#22
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#23
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#24
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#25
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#26
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#27
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#28
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#29
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#30
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#31
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(69):
Illuminate\View\View->render()
#32
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(35):
Illuminate\Http\Response->setContent()
#33
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820):
Illuminate\Http\Response->__construct()
#34
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789):
Illuminate\Routing\Router::toResponse()
#35
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\Routing\Router->prepareResponse()
#36
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#37
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#38
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\AuthenticateSession->handle()
#39
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#40
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Auth\Middleware\Authenticate->handle()
#41 /var/www/snipe-it/app/Http/Middleware/AssetCountForSidebar.php(62):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\AssetCountForSidebar->handle()
#43
/var/www/snipe-it/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Laravel\Passport\Http\Middleware\CreateFreshApiToken->handle()
#45 /var/www/snipe-it/app/Http/Middleware/CheckForTwoFactor.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForTwoFactor->handle()
#47 /var/www/snipe-it/app/Http/Middleware/CheckUserIsActivated.php(47):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckUserIsActivated->handle()
#49 /var/www/snipe-it/app/Http/Middleware/CheckLocale.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckLocale->handle()
#51
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#53
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#55
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\EncryptCookies->handle()
#57
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#58
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723):
Illuminate\Pipeline\Pipeline->then()
#59
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698):
Illuminate\Routing\Router->runRouteWithinStack()
#60
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
Illuminate\Routing\Router->runRoute()
#61
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651):
Illuminate\Routing\Router->dispatchToRoute()
#62
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167):
Illuminate\Routing\Router->dispatch()
#63
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#64
/var/www/snipe-it/vendor/livewire/livewire/src/DisableBrowserCache.php(19):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#65
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Livewire\DisableBrowserCache->handle()
#66
/var/www/snipe-it/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#67
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
#68 /var/www/snipe-it/vendor/fruitcake/laravel-cors/src/HandleCors.php(38):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#69
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fruitcake\Cors\HandleCors->handle()
#70 /var/www/snipe-it/app/Http/Middleware/PreventBackHistory.php(23):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#71
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\PreventBackHistory->handle()
#72 /var/www/snipe-it/app/Http/Middleware/SecurityHeaders.php(26):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#73
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\SecurityHeaders->handle()
#74
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#75
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31):
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#76
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#77 /var/www/snipe-it/app/Http/Middleware/CheckForDebug.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#78
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForDebug->handle()
#79 /var/www/snipe-it/app/Http/Middleware/CheckForSetup.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#80
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForSetup->handle()
#81 /var/www/snipe-it/vendor/fideloper/proxy/src/TrustProxies.php(57):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#82
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fideloper\Proxy\TrustProxies->handle()
#83
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#85
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#86
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#87
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\StartSession->handle()
#88
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#89
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#90 /var/www/snipe-it/app/Http/Middleware/NoSessionStore.php(28):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#91
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\NoSessionStore->handle()
#92
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#93
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142):
Illuminate\Pipeline\Pipeline->then()
#94
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111):
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#95 /var/www/snipe-it/public/index.php(52):
Illuminate\Foundation\Http\Kernel->handle()
#96 {main}
Next Facade\Ignition\Exceptions\ViewException: SQLSTATE[42S02]: Base table
or view not found: 1146 Table 'snipeit.accessories_users' doesn't exist
(SQL: select `accessories`.*, (select count(*) from `users` inner join
`accessories_users` on `users`.`id` = `accessories_users`.`assigned_to`
where `accessories`.`id` = `accessories_users`.`accessory_id`) as
`users_count` from `accessories` where `min_amt` is not null and
`accessories`.`deleted_at` is null) (View:
/var/www/snipe-it/resources/views/layouts/default.blade.php) in
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712
Stack trace:
#0
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(672):
Illuminate\Database\Connection->runQueryCallback()
#1
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(376):
Illuminate\Database\Connection->run()
#2
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2414):
Illuminate\Database\Connection->select()
#3
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2402):
Illuminate\Database\Query\Builder->runSelect()
#4
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2936):
Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#5
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2403):
Illuminate\Database\Query\Builder->onceWithColumns()
#6
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(625):
Illuminate\Database\Query\Builder->get()
#7
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(609):
Illuminate\Database\Eloquent\Builder->getModels()
#8 /var/www/snipe-it/app/Helpers/Helper.php(644):
Illuminate\Database\Eloquent\Builder->get()
#9 /var/www/snipe-it/resources/views/layouts/default.blade.php(282):
App\Helpers\Helper::checkLowInventory()
#10
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#11
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#12
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#13
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#14
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#15
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#16
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#17
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#18
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#19
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#20 /var/www/snipe-it/resources/views/dashboard.blade.php(477):
Illuminate\View\View->render()
#21
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#22
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
#23
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\Filesystem\Filesystem->getRequire()
#24
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\View\Engines\PhpEngine->evaluatePath()
#25
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\CompilerEngineForIgnition->evaluatePath()
#26
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\View\Engines\CompilerEngine->get()
#27
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\Ignition\Views\Engines\CompilerEngine->get()
#28
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\CompilerEngineForIgnition->get()
#29
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\View\View->getContents()
#30
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\View\View->renderContents()
#31
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(69):
Illuminate\View\View->render()
#32
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(35):
Illuminate\Http\Response->setContent()
#33
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820):
Illuminate\Http\Response->__construct()
#34
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789):
Illuminate\Routing\Router::toResponse()
#35
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\Routing\Router->prepareResponse()
#36
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#37
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#38
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\AuthenticateSession->handle()
#39
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#40
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Auth\Middleware\Authenticate->handle()
#41 /var/www/snipe-it/app/Http/Middleware/AssetCountForSidebar.php(62):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\AssetCountForSidebar->handle()
#43
/var/www/snipe-it/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Laravel\Passport\Http\Middleware\CreateFreshApiToken->handle()
#45 /var/www/snipe-it/app/Http/Middleware/CheckForTwoFactor.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForTwoFactor->handle()
#47 /var/www/snipe-it/app/Http/Middleware/CheckUserIsActivated.php(47):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckUserIsActivated->handle()
#49 /var/www/snipe-it/app/Http/Middleware/CheckLocale.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckLocale->handle()
#51
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#53
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#55
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Cookie\Middleware\EncryptCookies->handle()
#57
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#58
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723):
Illuminate\Pipeline\Pipeline->then()
#59
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698):
Illuminate\Routing\Router->runRouteWithinStack()
#60
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
Illuminate\Routing\Router->runRoute()
#61
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651):
Illuminate\Routing\Router->dispatchToRoute()
#62
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167):
Illuminate\Routing\Router->dispatch()
#63
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#64
/var/www/snipe-it/vendor/livewire/livewire/src/DisableBrowserCache.php(19):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#65
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Livewire\DisableBrowserCache->handle()
#66
/var/www/snipe-it/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#67
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
#68 /var/www/snipe-it/vendor/fruitcake/laravel-cors/src/HandleCors.php(38):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#69
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fruitcake\Cors\HandleCors->handle()
#70 /var/www/snipe-it/app/Http/Middleware/PreventBackHistory.php(23):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#71
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\PreventBackHistory->handle()
#72 /var/www/snipe-it/app/Http/Middleware/SecurityHeaders.php(26):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#73
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\SecurityHeaders->handle()
#74
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#75
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31):
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#76
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#77 /var/www/snipe-it/app/Http/Middleware/CheckForDebug.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#78
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForDebug->handle()
#79 /var/www/snipe-it/app/Http/Middleware/CheckForSetup.php(25):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#80
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\CheckForSetup->handle()
#81 /var/www/snipe-it/vendor/fideloper/proxy/src/TrustProxies.php(57):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#82
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fideloper\Proxy\TrustProxies->handle()
#83
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#85
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#86
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#87
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Session\Middleware\StartSession->handle()
#88
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#89
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#90 /var/www/snipe-it/app/Http/Middleware/NoSessionStore.php(28):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#91
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\Http\Middleware\NoSessionStore->handle()
#92
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#93
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142):
Illuminate\Pipeline\Pipeline->then()
#94
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111):
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#95 /var/www/snipe-it/public/index.php(52):
Illuminate\Foundation\Http\Kernel->handle()
#96 {main}
[2024-12-05 08:03:34] production.ERROR: SQLSTATE[42S02]: Base table or view
not found: 1146 Table 'snipeit.accessories_users' doesn't exist (SQL:
select `accessories`.*, (select count(*) from `users` inner join
`accessories_users` on `users`.`id` = `accessories_users`.`assigned_to`
where `accessories`.`id` = `accessories_users`.`accessory_id`) as
`users_count` from `accessories` where `min_amt` is not null and
`accessories`.`deleted_at` is null) (View:
/var/www/snipe-it/resources/views/layouts/default.blade.php)
{"view":{"view":"/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php","data":[]},"userId":1,"exception":"[object]
(Facade\\Ignition\\Exceptions\\ViewException(code: 0): SQLSTATE[42S02]:
Base table or view not found: 1146 Table 'snipeit.accessories_users'
doesn't exist (SQL: select `accessories`.*, (select count(*) from `users`
inner join `accessories_users` on `users`.`id` =
`accessories_users`.`assigned_to` where `accessories`.`id` =
`accessories_users`.`accessory_id`) as `users_count` from `accessories`
where `min_amt` is not null and `accessories`.`deleted_at` is null) (View:
/var/www/snipe-it/resources/views/layouts/default.blade.php) at
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712)
[stacktrace]
#0
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(672):
Illuminate\\Database\\Connection->runQueryCallback()
#1
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(376):
Illuminate\\Database\\Connection->run()
#2
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2414):
Illuminate\\Database\\Connection->select()
#3
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2402):
Illuminate\\Database\\Query\\Builder->runSelect()
#4
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2936):
Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}()
#5
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2403):
Illuminate\\Database\\Query\\Builder->onceWithColumns()
#6
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(625):
Illuminate\\Database\\Query\\Builder->get()
#7
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(609):
Illuminate\\Database\\Eloquent\\Builder->getModels()
#8 /var/www/snipe-it/app/Helpers/Helper.php(644):
Illuminate\\Database\\Eloquent\\Builder->get()
#9 /var/www/snipe-it/resources/views/layouts/default.blade.php(282):
App\\Helpers\\Helper::checkLowInventory()
#10
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#11
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\\Filesystem\\Filesystem->getRequire()
#13
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\\CompilerEngineForIgnition->evaluatePath()
#15
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\\View\\Engines\\CompilerEngine->get()
#16
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\\Ignition\\Views\\Engines\\CompilerEngine->get()
#17
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\\CompilerEngineForIgnition->get()
#18
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\\View\\View->getContents()
#19
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\\View\\View->renderContents()
#20 /var/www/snipe-it/resources/views/dashboard.blade.php(477):
Illuminate\\View\\View->render()
#21
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#22
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#23
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\\Filesystem\\Filesystem->getRequire()
#24
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#25
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\\CompilerEngineForIgnition->evaluatePath()
#26
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\\View\\Engines\\CompilerEngine->get()
#27
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\\Ignition\\Views\\Engines\\CompilerEngine->get()
#28
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\\CompilerEngineForIgnition->get()
#29
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\\View\\View->getContents()
#30
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\\View\\View->renderContents()
#31
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(69):
Illuminate\\View\\View->render()
#32
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(35):
Illuminate\\Http\\Response->setContent()
#33
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820):
Illuminate\\Http\\Response->__construct()
#34
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789):
Illuminate\\Routing\\Router::toResponse()
#35
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\\Routing\\Router->prepareResponse()
#36
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#37
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Session\\Middleware\\AuthenticateSession->handle()
#39
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Auth\\Middleware\\Authenticate->handle()
#41 /var/www/snipe-it/app/Http/Middleware/AssetCountForSidebar.php(62):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\AssetCountForSidebar->handle()
#43
/var/www/snipe-it/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Laravel\\Passport\\Http\\Middleware\\CreateFreshApiToken->handle()
#45 /var/www/snipe-it/app/Http/Middleware/CheckForTwoFactor.php(59):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#46
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\CheckForTwoFactor->handle()
#47 /var/www/snipe-it/app/Http/Middleware/CheckUserIsActivated.php(47):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#48
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\CheckUserIsActivated->handle()
#49 /var/www/snipe-it/app/Http/Middleware/CheckLocale.php(37):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#50
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\CheckLocale->handle()
#51
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#52
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#53
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#54
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#55
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#56
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#57
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723):
Illuminate\\Pipeline\\Pipeline->then()
#59
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698):
Illuminate\\Routing\\Router->runRouteWithinStack()
#60
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
Illuminate\\Routing\\Router->runRoute()
#61
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651):
Illuminate\\Routing\\Router->dispatchToRoute()
#62
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167):
Illuminate\\Routing\\Router->dispatch()
#63
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#64
/var/www/snipe-it/vendor/livewire/livewire/src/DisableBrowserCache.php(19):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#65
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Livewire\\DisableBrowserCache->handle()
#66
/var/www/snipe-it/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(59):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#67
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle()
#68 /var/www/snipe-it/vendor/fruitcake/laravel-cors/src/HandleCors.php(38):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#69
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fruitcake\\Cors\\HandleCors->handle()
#70 /var/www/snipe-it/app/Http/Middleware/PreventBackHistory.php(23):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#71
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\PreventBackHistory->handle()
#72 /var/www/snipe-it/app/Http/Middleware/SecurityHeaders.php(26):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#73
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\SecurityHeaders->handle()
#74
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#75
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#76
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#77 /var/www/snipe-it/app/Http/Middleware/CheckForDebug.php(25):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#78
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\CheckForDebug->handle()
#79 /var/www/snipe-it/app/Http/Middleware/CheckForSetup.php(25):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#80
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\CheckForSetup->handle()
#81 /var/www/snipe-it/vendor/fideloper/proxy/src/TrustProxies.php(57):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#82
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fideloper\\Proxy\\TrustProxies->handle()
#83
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#84
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#85
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#86
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#87
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Session\\Middleware\\StartSession->handle()
#88
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#89
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#90 /var/www/snipe-it/app/Http/Middleware/NoSessionStore.php(28):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#91
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
App\\Http\\Middleware\\NoSessionStore->handle()
#92
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#93
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142):
Illuminate\\Pipeline\\Pipeline->then()
#94
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111):
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#95 /var/www/snipe-it/public/index.php(52):
Illuminate\\Foundation\\Http\\Kernel->handle()
#96 {main}
[previous exception] [object] (Illuminate\\Database\\QueryException(code:
42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table
'snipeit.accessories_users' doesn't exist (SQL: select `accessories`.*,
(select count(*) from `users` inner join `accessories_users` on
`users`.`id` = `accessories_users`.`assigned_to` where `accessories`.`id` =
`accessories_users`.`accessory_id`) as `users_count` from `accessories`
where `min_amt` is not null and `accessories`.`deleted_at` is null) at
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712)
[stacktrace]
#0
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(672):
Illuminate\\Database\\Connection->runQueryCallback()
#1
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Connection.php(376):
Illuminate\\Database\\Connection->run()
#2
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2414):
Illuminate\\Database\\Connection->select()
#3
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2402):
Illuminate\\Database\\Query\\Builder->runSelect()
#4
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2936):
Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}()
#5
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2403):
Illuminate\\Database\\Query\\Builder->onceWithColumns()
#6
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(625):
Illuminate\\Database\\Query\\Builder->get()
#7
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(609):
Illuminate\\Database\\Eloquent\\Builder->getModels()
#8 /var/www/snipe-it/app/Helpers/Helper.php(644):
Illuminate\\Database\\Eloquent\\Builder->get()
#9
/var/www/snipe-it/storage/framework/views/c255c6eec153a928ec1f90acbe96601cbe180c32.php(282):
App\\Helpers\\Helper::checkLowInventory()
#10
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#11
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#12
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\\Filesystem\\Filesystem->getRequire()
#13
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#14
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\\CompilerEngineForIgnition->evaluatePath()
#15
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\\View\\Engines\\CompilerEngine->get()
#16
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\\Ignition\\Views\\Engines\\CompilerEngine->get()
#17
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\\CompilerEngineForIgnition->get()
#18
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\\View\\View->getContents()
#19
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\\View\\View->renderContents()
#20
/var/www/snipe-it/storage/framework/views/a008be51af022898c35be91d68e8122f98d50ad7.php(477):
Illuminate\\View\\View->render()
#21
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(107):
require('...')
#22
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(108):
Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()
#23
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(58):
Illuminate\\Filesystem\\Filesystem->getRequire()
#24
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(69):
Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#25
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61):
Livewire\\CompilerEngineForIgnition->evaluatePath()
#26
/var/www/snipe-it/vendor/facade/ignition/src/Views/Engines/CompilerEngine.php(37):
Illuminate\\View\\Engines\\CompilerEngine->get()
#27
/var/www/snipe-it/vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php(35):
Facade\\Ignition\\Views\\Engines\\CompilerEngine->get()
#28
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(139):
Livewire\\CompilerEngineForIgnition->get()
#29
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(122):
Illuminate\\View\\View->getContents()
#30
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/View/View.php(91):
Illuminate\\View\\View->renderContents()
#31
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(69):
Illuminate\\View\\View->render()
#32
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Http/Response.php(35):
Illuminate\\Http\\Response->setContent()
#33
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(820):
Illuminate\\Http\\Response->__construct()
#34
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(789):
Illuminate\\Routing\\Router::toResponse()
#35
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\\Routing\\Router->prepareResponse()
#36
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#37
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38
/var/www/snipe-it/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Session\\Middleware\\AuthenticateSession->handle()
#39
/var/www/snipe-it/vendor/laravel
|
That looks like some migrations didn't run. Try |
I did.
***@***.***:/var/www/snipe-it$ php artisan migrate
**************************************
* Application In Production! *
**************************************
Do you really wish to run this command? (yes/no) [no]:
yes
Nothing to migrate.
…On Wed, Dec 11, 2024 at 12:39 PM snipe ***@***.***> wrote:
That looks like some migrations didn't run. Try php artisan migrate
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3KALJ4HVUU7EDWTXTD2FCBHZAVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZWHAZTKNBXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
The only way that table wouldn't exist is if the migrations didn't run though. |
I am seeing this error when running the upgrader in the /var/www/snipe-it
director
…--------------------------------------------------------
The following directories/files do not seem writable:
--------------------------------------------------------
✘ PERMISSIONS ERROR: /var/www/snipe-it/bootstrap/cache is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/logs is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/logs/laravel.log is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/framework is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/framework/cache is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/framework/sessions is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/framework/views is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/app is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/app/backups is NOT writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/app/backup-temp is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/storage/private_uploads is NOT
writable
✘ PERMISSIONS ERROR: /var/www/snipe-it/public/uploads is NOT writable
--------------------- !! ERROR !! ----------------------
Please check the permissions on the directories above and re-run this
script.
------------------------- :( ---------------------------
On Wed, Dec 11, 2024 at 1:23 PM snipe ***@***.***> wrote:
The only way that table wouldn't exist is if the migrations didn't run
though.
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3KSCVO5OFY3LRUE5AT2FCGJXAVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZWHEYTONJTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
You'll need to fix those errors and try the upgrader again. |
Problem solved, Thank you so much for your help. Here are the steps that
solved my problem
1. Identify the working directory of snipe-it
I had accidentally installed snipe-it twice which made the upgrade process
confusing. It also caused problems since some of the upgrade process run on
the incorrect directory caused the server to throw the 500 error.
2. Change the owner of the directory to the user that you are running the
upgrade with
sudo chown -R <current user> /<snipe-it directory>
3. Run the upgrade again.
If this does not work for you try also following the troubleshooting steps
mentioned at the beginning of this forum post. It may be a matter of
running the troubleshooting steps in a particular order.
One thing I don't feel comfortable with is the permissions of the /storage
and /public folders. What should their permissions be?
…On Wed, Dec 11, 2024 at 4:09 PM snipe ***@***.***> wrote:
You'll need to fix those errors and try the upgrader again.
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3JY3S6NHNY6DJ3R5XD2FCZ25AVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGMYDCNZTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
I had a feeling the two installs might have been confusing things. Permissions of the https://snipe-it.readme.io/docs/debugging-permissions#fixing-it
|
Thanks again for all of your help!
…On Thu, Dec 12, 2024 at 9:44 AM snipe ***@***.***> wrote:
I had a feeling the two installs might have been confusing things.
Permissions of the storage directory and and subdirectories *as well as*
the public/uploads directory and all subdirectories will need to be
writable by the user the web server runs as.
https://snipe-it.readme.io/docs/debugging-permissions#fixing-it
<https://camo.githubusercontent.com/36f9ad6e91a74ff64cfb482a014804124e880edd3d536aea5c278ef5c68bbaef/68747470733a2f2f66696c65732e726561646d652e696f2f653964383930652d736d616c6c2d7374616e64616c6f6e652d7472616e73706172656e742d3430302e706e67>
Snipe-IT Documentation
*Debugging Server Permissions
<https://snipe-it.readme.io/docs/debugging-permissions#fixing-it>*
❗️ This article refers to web server file system permissions only: It does
not address Snipe-IT application permissions. One of the most common issues
folks newer to running web servers run into is how to manage the
Linux/Windows/etc owners and groups of the Snipe-IT filesystem. As we
mention many t...
—
Reply to this email directly, view it on GitHub
<#15924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJA6X3PF6FUHDRVKQP2E67T2FGVNNAVCNFSM6AAAAABTA27D2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZZGMZDKMBRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Mark MacLean
IT Director
Ovilla Christian School
972.617.1177
ovillachristian.org <https://www.ovillachristian.org>
<http://ovillachristianschool.org>
|
No problem - glad you're sorted! |
Debug mode
Describe the bug
When accessing the server I receive a 500 error.
I have tried...
Attached is my Laravel.log
laravel.log
Reproduction steps
...
Expected behavior
No error on login
Screenshots
No response
Snipe-IT Version
v7.1.15 (I assume since I ran upgrade.php)
Operating System
Ubuntu
Web Server
Apache
PHP Version
8.1.2-1ubuntu2.19
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: