snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.95k stars 3.16k forks source link

Compliment and Ticket of Gratitude #5397

Closed gushauptfleisch closed 6 years ago

gushauptfleisch commented 6 years ago

Expected Behavior (or desired behavior if a feature request)

Simple running install.sh installer takes care and plays "mother hen" - log in to home page - start working. (what you expect to happen goes here)


Actual Behavior

Good Day Snipe/SnipeIT

Followed instructions much blank pages, ERROR 500 and "Doh, etc etc" messages. Loads of googling, githubbing, cursing, uninstalling , flushing, removing, purging, apt-getting, laravelling, then finally realising that firstly I had the php updated but not enabled (a2dismod5 && a2enmod php7.1) and also that the php version (cli) was incorrect and also the install.sh does not actually complete the migrate and install unless you run it with elevated rights.

after much editing of the apache.conf file, sites-enabled, and multiple iterations of .htaccess, ufw, and apparmor this was the final clincher for me

sudo a2dismod php5 && sudo a2dismod php5.6 && sudo a2enmod php7.1 && sudo service apache2 restart

Just thought I would (after a few evenings pain) tell you a great thank you for a REALLY useful piece of kit and that there is someone out there who appreciates all your hard work!

(what actually happens goes here)


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

PHP Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /var/www/snipeit/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 444

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

snipe commented 6 years ago

install.sh does not actually complete the migrate and install unless you run it with elevated rights

Yeah, the installer has to install PHP, etc, so it needs sudo or root. There's no way around that.

a great thank you for a REALLY useful piece of kit and that there is someone out there who appreciates all your hard work!

Thanks so much for the kind words!