-
-
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
Custom Asset Report not working #14984
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. |
I’m genuinely not sure why you’d be seeing this. Debugbar should be loaded if you ran composer install. @marcusmoore i know you and I were poking at some debugbar stuff recently. Anything pop out to you? |
I'm not sure either. I think we solved that issue... @fabriziofinos can you paste the output of |
Hello @marcusmoore here's the output
|
This is interesting...the end of your output shows
But you were able to get to a place where the app can run. You mention being on v7.0.5 but did you originally install v7.0.3 before upgrading? v7.0.3 included a bug that would show the original error message you encountered ( |
Yes i did start con v7.0.3 and read about that someone had the same issue and updating made it work so i update with git pull and php upgrade.php I didn't gave me any errors so i thought that was completed just fine, there is a way to fix it? |
Is it possible you ran the command as different users? The error I mentioned above could be caused by permission issues. |
Hi @marcusmoore i hope you had a good weekend. So i tried to run the command with other users and with the "snipeitapp" user i get another output:
AND NOW THE REPORTS WORK!!! Thank you so much for the help! |
That looks better 😄 |
Debug mode
Describe the bug
Hello, i need some assitance with this issue. This is a fresh install of snipeIT, i followed the instructions on the web page (THIS) added a few assets, configured LDAP Sync and everything works fine except de report part
When i try yo generate an asset reports it shows me the next error
500 | Server Error
I enabled the debug mode and checked the logs under /var/www/html/snipeit/storage/logs/laravel.log and when i press the button "Generate" it generate the next log:
I read something about the > [2024-06-27 10:58:51] production.ERROR: Error: Class "Debugbar" not found in /var/www/html/snipeit/app/Http/Controllers/ReportsController.php:425 line, but i didn't understood how to fix it
I would appreciate some help, thank you!
Reproduction steps
1.Open SnipeIT
2.Go to Reports --> Custom Asset Report
3.Click on "Generate"
4.Get the error code
...
Expected behavior
Download a .csv file
Screenshots
No response
Snipe-IT Version
v7.0.5 build 14092
Operating System
Ubuntu 24.04 LTS
Web Server
apache
PHP Version
8.3.6
Operating System
Windows 11
Browser
Brave/Chrome
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: