snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Installation problem.

Open sreejoo opened this issue 12 years ago • 4 comments

Hi team,

I followed the readme file to setup the application. But i am getting an error in the step 2.4) Application Settings.

In this step I am trying to generate the encryption key by using the below command

" php artisan key:generate --env=local"

But i got an error , its depicted below

PHP Warning: require(/root/downloads/snipe-it/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /root/downloads/snipe-it/bootstrap/autoload.php on line 17 PHP Fatal error: require(): Failed opening required '/root/downloads/snipe-it/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /root/downloads/snipe-it/bootstrap/autoload.php on line 17

and I checked there is no vendor folder in my download. Can you please help to move forward from this step.

Thanks in advance Sreejoo

sreejoo avatar Apr 09 '14 08:04 sreejoo

Hi @sreejoo - can you tell me what the permissions on your directory structure looks like?

snipe avatar Apr 09 '14 08:04 snipe

The file permission details given below

snipe-it file permission

Thanks in advance sreejooo

sreejoo avatar Apr 11 '14 09:04 sreejoo

Please change the permissions of the install directory to one that can be writable by apache. You should never run a web app as root. Ever. Ever ever.

snipe avatar Apr 11 '14 10:04 snipe

Did this resolve your issue?

snipe avatar Apr 29 '14 21:04 snipe