Closed LizardWizardGB closed 7 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.
The stream or file "/var/www/html/snipeit/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
Your laravel log is not writable by the web server. Fix the permissions and you should be fine. https://snipe-it.readme.io/docs/debugging-permissions
Snipe-IT Documentation❗️This article refers to web server file system permissions onlyIt 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 times ...
Thank you, @snipe. Fixing the permissions, solved the issue.
Debug mode
Describe the bug
Whenever I change the language, I get "Server Error 500", when trying to access Snipe-IT.
If a user changes their language, they are "locked out" of Snipe-IT, because all they get when logging in, is "server error 500". This happened with my only user, so I had to change the language on my user, directly in the database.
Reproduction steps
Expected behavior
Language should change for the user.
Screenshots
No response
Snipe-IT Version
v6.3.3 - build 12903 (master)
Operating System
Ubuntu 22.04
Web Server
Apache
PHP Version
8.1.2-1ubuntu2.14
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
Additional context
This is a fresh install, done with install.sh. The installation is using Cloudflare Tunnel.
Everything else in Snipe-IT is working, except for Purge (/admin/purge), which also gives a server error 500, regardless of language.
I've also tried changing the language to something else, on my user, directly in the database: UPDATE users SET locale = 'da-DK' WHERE id = 1; This didn't work either.
I've tried installing da_DK locale on the server itself.