Open donotos opened 9 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.
@uberbrady This looks like a docker permission error for the log file - can you take a look?
I'm a new Snipe-IT user, first time install.
Had this issue also.
Can confirm it is premissions related, as using brute force (e.g. docker exec snipeit chmod -R 777 /var/html/storage
and restarting resolved it (not knowing what the permissions should be since it's a first install, obviously I'd find this out and correct it).
But the odd thing:
I'm running it as http://fqdn on port 80 since I'm just at the testing stage.
In my env I had (by mistake):
APP_URL=FQDN
I corrected it to
APP_URL=http://FQDN
Removed and ran it again - no permissions error.
If I remove it, change the env file to APP_URL=FQDN
without http and run it - permissions error again.
So maybe permissions aren't being set correctly based on the format of the APP_URL, one way or another. Hope this might help.
@apmurdoch i think that’s a red herring. APP_URL needs to include the host name and protocol (http:// or https://). The 500 you’re getting is likely because it was trying to write the debug warning about the url to the error log and couldn’t because of permissions
Hah! Yeah makes sense. At least I can move on to my next dumb mistake.
Hah! Yeah makes sense. At least I can move on to my next dumb mistake.
Welcome to our world ;)
Debug mode
Describe the bug
After upgrading from 6.2.3 to 6.3.0 i get 500 error
Reproduction steps
Expected behavior
upgraded to 6.3.0 and working
Screenshots
Snipe-IT Version
6.3.0
Operating System
Debian 12
Web Server
Apache
PHP Version
8.1
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
it's a docker-compose install. it works again after downgrading back to 6.2.3 I tried "php artisan migrate" while the command work it does not get better.
version: "3" services: mysql: image: mariadb:latest container_name: snipe-it_db restart: always environment:
Debug mode error log: log.txt