-
-
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
Trouble during install #2168
Comments
That's a permissions issue. Usually happens when your web directory is owned by root. |
Hello, thank you for your response.. i have just run a fresh install and i got the following error at the end of the install [Illuminate\Database\QueryException] [PDOException] |
Resolved it what i did was i re-ran install.sh from and when asked to autocreate database username and password , i chose to manually set them up and then everything started working fine. |
Hello,
I am trying to install snipe-it. I am at the stage of the composer.
I am in /var/www/snipe-it and i have run curl -sS https://getcomposer.org/installer | php
I get the following error.
myusername@smart-snipe:/var/www/snipeit$ curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
PHP Warning: file_put_contents(/home/myusername/.composer/keys.dev.pub): failed to open stream: Permission denied in - on line 466
PHP Warning: file_put_contents(/home/myusername/.composer/keys.tags.pub): failed to open stream: Permission denied in - on line 483
Downloading 1.1.2...
Could not create file /var/www/snipeit/composer.phar: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
Downloading 1.1.2...
Could not create file /var/www/snipeit/composer.phar: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
Downloading 1.1.2...
Could not create file /var/www/snipeit/composer.phar: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/snipeit/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
The download failed repeatedly, aborting.
Please provide answers to these questions before posting your bug report:
any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: