-
-
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
Pre-flight not loaded, 403 instead when installing on plesk #15233
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 think you'll probably have to tweak your mod security settings |
Thanks! I temporarily turn mod security off (just for page reload) and now I got a 500 error and this: file database.sqlite does not exists (not sure when it should be created) additional errors
|
You're need to create the sqlite file if that's what you're going to try to use. You should note that we don't officially support sqlite though, so you may run into some weird issues. |
So when I want MySQL (MariaDB) I made an mistake in .env file? When I generate an app key, all infos from .env file is gone (now there is sqlite and I dont know why), I dont know how this works, if it was tranfasered to other conf files or if it is not intended behavior. I am almost sure I used MySQL in file originaly :/ Should I try to change this file again or do whole instalation again from skretch? |
The only thing we do when you generate that key is change the actual app key itself, we don't reset any of your other settings. |
Looks like some built-in tool in plesk totaly changed .env file, after I changed it back (preserved only app key), it now worsk even with Mod security on. Thanks! |
Excellent - glad to hear you're sorted! |
Debug mode
Describe the bug
When trying to install Snipe-it to a webserver running plask webhosting service (I am admin so I cat set and allow all possible parameters, not restricted by any webhosting company), I am stucked after succesfully install dependencies I also generate key succesfully.
I strugle with last step - Pre-Flight & Setup. When trying to access page, I get an error:
Tryied advices from Installation/Upgrading Issues like cleaning cache etc...
Log from plesk is attached.
Web root is set to ./public folder (almost sure this is set up correctly).
Reproduction steps
...
Expected behavior
Pre-flight show instead so 403 and additionally 500 error.
Screenshots
Snipe-IT Version
7.0.10
Operating System
Alma linux 9.4
Web Server
Apache (can go to nginx)
PHP Version
8.2.21
Operating System
Windows 11
Browser
Firefox
Version
128.0.3
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response
The text was updated successfully, but these errors were encountered: