-
-
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
(docker) Returning a 500 error when adding or modifying an asset #11238
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. |
Hi, |
Let me check. If it's a permission issue, how should I assign it? (ex: 755) |
Returning a 500 error when adding or modifying an asset after update from 5.4.3 to 6.0.2 |
[2022-06-03 12:34:29] production.ERROR: Exception: The /var/www/html/snipeit/bootstrap/cache directory must be present and writable. in /var/www/html/snipeit/vendor/livewire/livewire/src/LivewireComponentsFinder.php:59 Next Facade\Ignition\Exceptions\ViewException: The /var/www/html/snipeit/bootstrap/cache directory must be present and writable. (View: /var/www/html/snipeit/resources/views/models/edit.blade.php) in /var/www/html/snipeit/vendor/livewire/livewire/src/LivewireComponentsFinder.php:59 [previous exception] [object] (Exception(code: 0): The /var/www/html/snipeit/bootstrap/cache directory must be present and writable. at /var/www/html/snipeit/vendor/livewire/livewire/src/LivewireComponentsFinder.php:59) |
@IvanROU again, permissions problem. |
chmod 755 -R /var/www/html/snipeit/bootstrap/cache should be solve the problem |
777 that's work |
Debug mode
Describe the bug
After changing the asset tag, I hit save but it returned a 500 error. This happened after the 6.0.2 update.
I'm a newbie to snipe-IT and I've never configured Snipe-IT with docker, so I'm looking for a solution. please tell me how to solve
Failed to enable debug mode as I am not a server administrator.
You must have a good reason to access admin rights.
Reproduction steps
5.4.4 -> 6.0.2 upgrade
New container creation, security update complete (Other than that I haven't touched anything.)
asset tag changing
broken
Expected behavior
change normally
Screenshots
Snipe-IT Version
6.0.2
Operating System
docker
Web Server
docker
PHP Version
7.4.26
Operating System
windows 10
Browser
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: