Installation Issue
Hi All,
I'm trying to install snipe-it on to a Windows 2012 server. I've been following the instructions but when I try to install Composer into the C:\inetpub\wwwroot\snipe-it\ directory, I'm getting the following error:
-
Installing d11wtq/boris (v1.0.8) Downloading: connection... Failed to download d11wtq/boris from dist: The "https://api.github.com/repos d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e" file could not b downloaded (HTTP/1.1 404 Not Found) Now trying to download from source
-
Installing d11wtq/boris (v1.0.8) Cloning 125dd4e5752639af7678a22ea597115646d89c6e
[RuntimeException] Failed to clone [email protected]:d11wtq/boris.git, git was not found, check t hat it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.
Could somebody please offer some advice as to what is happening?
Many thanks, Stuart
The repo seems to have moved to https://github.com/borisrepl/boris, though I don't know enough about Composer to know what to do with the compose.lock config file to fix that.
I just spoke to the author of Boris, and he said it should be fixed.
Hi, I followed every single step on the installation on IIS, but I just receive at the end a black page on my http://localhost Route to /inetpub/wwwroot/snipe-it/public/ assigned. But no instructions on how to add sample data to the database previously created on the mysql server.
Or response from the app.. :(
Please tell us what's in your logs. We need more information in order to help you.
Did you run composer install? If so, did you see any errors? Did you run php artisan app:install? If so, did you see any errors?
Think about the information you would need to solve an end-user's problem. We need the same kinds of info to help you.
this is what composed install on the snipe-it folder shows me : Command: composer install
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for intervention/image dev-master -> satisfiable by i ntervention/image[dev-master]. - intervention/image dev-master requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
C:\inetpub\wwwroot\snipe-it>
Please see the Common Issues page. http://snipeitapp.com/documentation/common-issues/
As the error message states, you're missing the fileinfo extension.
thanks, the composed was successfully installed but executing the 'line php artisan app:install' gives me no result.

Open C:\inetpub\wwwroot\snipe-it in Windows Explorer Right Click and select Composer Install. This will install the dependencies. Once completed
- the dependencies where installed.
-did right click on the folder, did use composer here
-It opens that cmd window & I type php artisan app:install

Sorry, if I'm doing it wrong can you explain me a little bit more. Please.
Do you have anything new in your logs?

Hey Snipe,
Thanks for looking into this but I'm still getting the same error when running the composer install:
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
-
Installing d11wtq/boris (v1.0.8) Downloading: connection... Failed to download d11wtq/boris from dist: The "https://api.github.com/repos /d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e" file could not b e downloaded (HTTP/1.1 404 Not Found) Now trying to download from source
-
Installing d11wtq/boris (v1.0.8) Cloning 125dd4e5752639af7678a22ea597115646d89c6e
[RuntimeException] Failed to clone [email protected]:d11wtq/boris.git, git was not found, check t hat it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.
Many thanks, Stuart
Try running composer clear-cache and re-running the install. Composer may be caching the vendor location, even though the entry on Packagist was updated by the REPL author.
Yeah same thing for me it worked for me on my ubuntu server but in IIS got the same thing
C:\inetpub\wwwroot\snipe-it>composer clear-cache Clearing cache (cache-dir): C:\Users\admin\AppData\Local\Composer Clearing cache (cache-files-dir): C:\Users\admin\AppData\Local\Composer\files Clearing cache (cache-repo-dir): C:\Users\admin\AppData\Local\Composer\repo Cache directory does not exist (cache-vcs-dir): All caches cleared.
C:\inetpub\wwwroot\snipe-it>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
-
Installing d11wtq/boris (v1.0.8) Downloading: connection... Failed to download d11wtq/boris from dist: The "https://api.github.com/repos /d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e" file could not b e downloaded (HTTP/1.1 404 Not Found) Now trying to download from source
-
Installing d11wtq/boris (v1.0.8) Cloning 125dd4e5752639af7678a22ea597115646d89c6e
[RuntimeException] Failed to clone [email protected]:d11wtq/boris.git, git was not found, check t hat it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.
It doesn't look like it really cleared the cache, since it's saying the cache was not found. I honestly don't know if there's a different way to clear the composer cache on IIS. I would just install git so you can download the package via the redirect. It's dumb that you should have to do this, but not sure what else to suggest, since composer clear-cache is the solve, but it doesn't seem to be working for you.
Can you tell me if there's anything in c:\users\YOU\.composer\cache?
(Or C:\Users\YOU\AppData\Local\Composer\files)
You can also try running composer config cache-dir to see if it will tell you where the cache is.
ok, I got two folders
-Files -Repo .htaccess
On Thu, Mar 12, 2015 at 1:42 AM, snipe [email protected] wrote:
Still not coming through. It's showing as text.
— Reply to this email directly or view it on GitHub https://github.com/snipe/snipe-it/issues/612#issuecomment-78427021.
Thank you, Roberto Novo Cruz
CARECLOUD I.T Specialist
That's the output of what, exactly? Can you try composer config cache-dir so we can make sure we're looking at the right place?