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

New Install - Web Page is not available

Open xian1267 opened this issue 10 years ago • 63 comments

New to all this, Installed on Windows Server 2008, followed instructions and feel I did those correctly.

I did come across installing composer installer, not sure if I need that, however when I tried to install the program, it prompted for the location of php.exe which I did not have or could not find it.

I am not sure if this is the reason the program wont run.

Please any help would be great.

snipeit error

image

xian1267 avatar Jan 22 '16 20:01 xian1267

You need PHP and Composer to run Snipe-IT. Did you install PHP and the PHP Manager from WebPI?

ddreier avatar Jan 22 '16 21:01 ddreier

No, I have the composer downloaded, where do I find the PHP download?

xian1267 avatar Jan 22 '16 21:01 xian1267

The easiest way is to use the Web Platform Installer (It's already in IIS, under the Management section).

ddreier avatar Jan 22 '16 21:01 ddreier

image

Ok, both are now installed and error as above. I feel like I am closer now to getting this fixed

xian1267 avatar Jan 22 '16 21:01 xian1267

Under URL Rewrite, you need to disable the rule that redirects to HTTPS. It's usually the first rule, and it's the only rule that will explicitly have the text "https" in it.

ddreier avatar Jan 22 '16 21:01 ddreier

image

New error screen, hopefully getting closer

xian1267 avatar Jan 22 '16 21:01 xian1267

You probably need to go to the Default Document section in IIS and make index.php first.

ddreier avatar Jan 22 '16 21:01 ddreier

image

Still same windows as above

xian1267 avatar Jan 22 '16 21:01 xian1267

What happens if you go to http://cncserver/snipe-it/index.php?

ddreier avatar Jan 22 '16 21:01 ddreier

Actually, hang on. What do the Basic Settings look like for the Snipe IT website?

ddreier avatar Jan 22 '16 21:01 ddreier

where do I find the basic settings?

xian1267 avatar Jan 22 '16 21:01 xian1267

image

This is what I get trying to go to the site from another PC

xian1267 avatar Jan 22 '16 21:01 xian1267

Right click on the site, Basic Settings.

And, you appear to be missing index.php. That's a problem. Show the contents of C:\inetpub\wwwroot\snipe-it.

ddreier avatar Jan 22 '16 21:01 ddreier

image

xian1267 avatar Jan 22 '16 21:01 xian1267

image

xian1267 avatar Jan 22 '16 21:01 xian1267

Try http://cncserver/snipe-it/public. If that works (and it's how you want to access Snipe-IT), you'll have to set up a virtual directory under the Default Web Site that points to C:\inetpub\wwwroot\snipe-it\public.

ddreier avatar Jan 22 '16 21:01 ddreier

image

I am sorry this is a pain, I appreciate your help.

xian1267 avatar Jan 22 '16 21:01 xian1267

Is that last image from the server itself? I need to know what the actual error code is. Also, check C:\inetpub\wwwroot\snipe-it\storage\logs for the latest message in the latest log file.

ddreier avatar Jan 22 '16 22:01 ddreier

image

Storage was not under snipe-it/ it was under snipe-it/app/storage Yes that was the last image from server when going to the http://cncserver/snipe-it/public

xian1267 avatar Jan 22 '16 22:01 xian1267

Try setting debug to true in snipe-it\app\settings\production\app.php. Also, make sure that the folder permissions are set up as described in http://docs.snipeitapp.com/installation/server/windows.html.

ddreier avatar Jan 22 '16 22:01 ddreier