-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Freash install from Installer gives permission error. #9724
Comments
I'm seeing the same error on a clean docker container with blank volume and database, pulling from snipe/snipe-it:latest I've noticed that if I start the container with empty database, it creates a load of database content as it runs the initial migrations, but the web content errors as above when you try to go to the page to run the initial setup wizard. If I stop and start the container again with that initial database content present, it works. Not sure whether that helps your problem with a native install (try restarting apache after reaching that point?). Or if it helps someone with diagnosing the issue - or if the issues are different with native and docker installs, just resulting in the same error? |
Also using the latest image from docker hub I was seeing permissions-related errors in my apache2 log and could not get the setup web page to load. Running the chain of commands from the Quick Tip: Handy Commands made it so I could load and complete my setup. Those commands were:
|
Expected Behavior (or desired behavior if a feature request)
Dear All,
I freshly installed Ubuntu 20.04.02. after update and upgrade, I tried the Installer of Snipe-IT:
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.sh
Everything goes smoothly and when I tried to open the setup from browser, I encountered with error:
ErrorException (E_WARNING)
file_put_contents(/var/www/html/snipeit/storage/framework/cache/cf/90/cf906e7195218453e4ff6f1bdcdc6b2d9f6cae71): failed to open stream: Permission denied
I didin't do anything. Only fresh install update and installing Snipe-IT. I think there is a problem with the installer.
How can I give permission to who ?
Actual Behavior
has to enter to setup screen
Please confirm you have done the following before posting your bug report:
Provide answers to these questions:
Is this a fresh install or an upgrade? Fresh
Version of Snipe-IT you're running Latest that installer installs.
Version of PHP you're running Installer installed that
Version of MySQL/MariaDB you're running Installer installed that
What OS and web server you're running Snipe-IT on Ubuntu 20.04.02
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Install.sh
WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error Addded
What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
If a stacktrace is provided in the error, include that too.
Any errors that appear in your browser's error console.
Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
Include any additional information you can find in
storage/logs
and your webserver's logs.Include what you've done so far in the installation, and if you got any error messages along the way.
Indicate whether or not you've manually edited any data directly in the database
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help
The text was updated successfully, but these errors were encountered: