-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
I'm trying to install snipe-it on a shared hosting and it's driving me crazy. #16137
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 don't think this is actually a Snipe-IT issue, it seems more likely a configuration issue, perhaps with your control panel. Some info from Plesk that might be useful: https://www.plesk.com/kb/support/a-website-hosted-in-plesk-is-not-accessible-open_basedir-restriction-in-effect/ And I found something for aaHost - https://www.aapanel.com/forum/d/3551-require-open-basedir-restriction-in-effect
|
Thank you for your answer! Turning off The Anti-XSS attack toggle seemed to have done the trick. But now it just throws an 404 Not found Error... what? I created an index.html file in the public folder and it works just fine so we know at leas that is working. I also created a PHP info file to see if PHP was working correctly and it seems like it is: Again.... I have several WordPress sites running with no issues on the server.... so I'm sure PHP isn't the issue here. This is 100% not a snipe-it issue however I feel like this is the most appropriate place to post this... lemme know if it's not and I'll look for help somewhere else. |
- Version of Snipe-IT you're running.
7.1.16
- What OS and web server you're running Snipe-IT on
- What method you used to install Snipe-IT
Manual Installation
- If you're getting an error in your browser, include that error.
- Include any additional information you can find in storage/logs and your webserver's logs.
Error log from Nginx:
PHP is saying that I doesn't have permission to reach the requested file. However there are no restriction set on which files it can reach. I have several word press installations running on the server and they all work with no issues.
Here's a snippet from the php config file:
It took me and hour just to get it to display anything. A manual installation combined with the non-standard setup of the web server, and I cannot figure out what I'm doing wrong.
It's simple on paper: Git clone, set up the .env file, run composer, and you're golden. Well apparently not for me...
Anyways, any guidance is appreciated...
If you need the Public URL let me know and I'll share it.
The text was updated successfully, but these errors were encountered: