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

not able to open on the browser the snipe it page pre-flight

Open thekingofboys opened this issue 9 years ago • 12 comments

this is the snipeit folders image

image

but when i go to browser and try to access it doesnt work i use this link to make the easy installation. https://community.spiceworks.com/how_to/132545-install-snipe-it-asset-management-on-ubuntu-14-04v can someone tells me where did i go wrong

Expected Behavior (or desired behavior if a feature request)

(what you expect to happen goes here)


Actual Behavior

(what actually happens goes here)


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running
  • What OS and web server you're running Snipe-IT on
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • 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 reproduceable on the demo.
  • Include any additional information you can find in app/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

thekingofboys avatar Apr 03 '17 14:04 thekingofboys

Can you post a screenshot of the browser when you try and load Snipe-IT?

morphentropic avatar Apr 03 '17 14:04 morphentropic

when i put the apache default path to here its give me the error that is perfect fine image in browser image

but when i change to the public folder image

i have the nothing image

thekingofboys avatar Apr 04 '17 06:04 thekingofboys

This is what my /etc/apache2/sites-available/000-default.conf looks like:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
<Directory /var/www/snipeit/public>
Require all granted
AllowOverride All
</Directory>
DocumentRoot /var/www/snipeit/public
ServerName mydomain.com
ErrorLog /var/log/apache2/snipeIT.error.log
CustomLog /var/log/apache2/access.log combined
</VirtualHost>

Can you post your /var/www/snipeit/.env file?

morphentropic avatar Apr 04 '17 07:04 morphentropic

That's an apache level 500 error, which means a misconfiguration in your httpd conf. Can you show us the contents of the Apache error.log?

snipe avatar Apr 13 '17 22:04 snipe

I'm having an exactly same issue. Regardless of the configuration changes in apache and file locations, I'm getting either an error that the DocumentRoot is set incorrectly, or the HTTP 500 error.

Using default installed apache2 from ubuntu server 17.04

SnipeIT located in /var/www/html/snipeit/ The Directory and DocumentRoot path in snipeit.conf: /var/www/html/snipeit/public The Directory and DocumentRoot path in 000-default.conf: /var/www/html/snipeit/public

Getting error 500 whenever I try to open SnipeIT by typing in either just the IP of the VM holding SnipeIT. Same for trying to open http://<VM_IP>/index.php

Any ideas what might be done better? Thanks.

EDIT: installed from snipe-it provided script, this is supposed to be the first-first run.

kojaq avatar Jun 19 '17 10:06 kojaq

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jan 20 '18 10:01 stale[bot]

Same problem for me ... URL is redirected to /setup but pre-flight dos not show up.

Metal-Frog avatar Sep 11 '18 10:09 Metal-Frog

I've been trying to get this working for a good while with a few setups but eventually agreed that I must be delayed and went with a different solution. Pity, as its decent software.

On Tue 11 Sep 2018 11:23 Tom [email protected] wrote:

Same problem for me ... URL is redirected to /setup but pre-flight dos not show up.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/3475#issuecomment-420224424, or mute the thread https://github.com/notifications/unsubscribe-auth/AcLB98Xd77_EbpoX7CC9AG0MjLrGWMieks5uZ48jgaJpZM4Mxmg4 .

kojaq avatar Sep 11 '18 15:09 kojaq

@kojaq I'm not 100% sure what the purpose of this comment is. You've offered no useful feedback or debugging information, and basically just commented to - I guess - make us feel bad because Apache is hard?

It is decent software, and we work really hard on it. And we try to help, even when the problem is not our software.

snipe avatar Sep 12 '18 22:09 snipe

Has anyone an idea what I can do to narrow the problem (URL is redirected to /setup but pre-flight dos not show up, server error 500)? The laraval.log is empty.

Metal-Frog avatar Sep 13 '18 07:09 Metal-Frog

@Metal-Frog A 500 error could be caused by nearly endless things.

  • What kind of 500 is it? (Do you get a "Whoops" page or a default internal service error page?)
  • What's in your server logs when you try to access the /setup page?

Also, what web server are you using? (Next time you should probably create a new issue, since this one is closed. Can be helpful so that we can get all of the info we ask for in the ticket template.)

Also make sure the storage directory and all subdirectories are writable by the web server.

snipe avatar Sep 13 '18 08:09 snipe

Thanks for your support. I will open an new issue.

Metal-Frog avatar Sep 13 '18 10:09 Metal-Frog