-
-
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
Snipe-IT version 6.4.2 to 7.0.12 Migrate Issue #15743
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. |
This usually means something in your migrations got donked up, which sometimes happens if there's output from a migration but the log file couldn't be written to, for example. Try running this via command line SQL:
then run migrations again and tell me what it says. |
Since you provide SQL command update migration successfully completed but Accessory category info details didn't showing. After upgrade snipeit 7.0.12 Debug mode Logs details: [2024-11-01 12:37:32] production.ERROR: Attempt to read property "id" on null {"userId":2152,"exception":"[object] (ErrorException(code: 0): Attempt to read property "id" on null at /www/wwwroot/Testsession/Snipe-it/snipe-it-7.0.12/app/Http/Transformers/AccessoriesTransformer.php:90)#5 /www/wwwroot/Testsession/Snipe-it/snipe-it-7.0.12/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction() |
Since issue not resolved, kindly share your guidelines. |
Run upgrade.php again and bring yourself up to latest and/or tell me what's on line 90 of the AccessoriesTransformer. |
Debug mode
Describe the bug
We are using Snipe-IT version 6.4.2, and we are trying to upgrade to version 7.0.12, but the migration file (2024_07_26_143301_add_checkout_for_all_types_to_accessories) is not executing
Reproduction steps
to
accessories_checkout after migrating sub accessories item list is not showingExpected behavior
attached logs file
laravel.log
Screenshots
No response
Snipe-IT Version
6.4.2
Operating System
ubuntu 20.4
Web Server
Apache
PHP Version
8.3.7
Operating System
Windows 11
Browser
Chrome
Version
130.0.6723.70
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response
The text was updated successfully, but these errors were encountered: