Open struett1 opened 8 months ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
That's not really an error message though, that's just code. Please check your app logs and tell us what they say when you reproduce the error.
I think this is what you mean? This is when I try to go to admin settings > integrations ERRORLOG [14:24:18] LOG.error: Exception: The /var/www/snipeit/bootstrap/cache directory must be present and writable. in /var/www/snipeit/vendor/livewire/livewire/src/LivewireComponentsFinder.php:59 Stack trace:
Next Facade\Ignition\Exceptions\ViewException: The /var/www/snipeit/bootstrap/cache directory must be present and writable. (View: /var/www/snipeit/resources/views/settings/slack.blade.php) in /var/www/snipeit/vendor/livewire/livewire/src/LivewireComponentsFinder.php:59 Stack trace:
Exception: The /var/www/snipeit/bootstrap/cache directory must be present and writable
I know you said the directory is present and writable, but your web server doesn't think that's true. You'll want to check the group ownership and write/create permissions on that directory.
This is what I see when I run php upgrade.php.
Current permissions on the bootstrap directory
What am I missing?
Friendly bump
My guess would be the group membership or setgid is not set up correctly. Apache cannot write new files the bootstrap/cache
directory. It's a bit out of scope for this forum though. What are the permissions on the bootstrap/cache
directory?
Permissions for bootstrap/cache
Friendly bump
Bump
Bumping again. Please advise on a fix if possible
Bump. Same issue
Debug mode
Describe the bug
Getting the 500 server error when I try to create a new category or select Integrations from the admin settings. The /var/www/snipeit/bootstrap/cache directory is already present and writable.
Reproduction steps
For integrations 1.Go to Admin settings 2.Click Integrations 3.500 server errror
For Categories
...
Expected behavior
I should be able to create categories without issue as well as set up any kind of Slack integration if needed.
Screenshots
No response
Snipe-IT Version
v6.3.3 build 12903 (g0f63fa23e)
Operating System
CentOS 7
Web Server
Apache
PHP Version
8.0.30
Operating System
macOS
Browser
Chrome
Version
macOS 14.3.1 / Chrome 123.0.6312.59
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
Tried the solution from #13714, but the issue persisted.