SnipeIT install - anyone have a working guide?
-
The topic says it all, I'm having a hell of a time getting this to setup properly.
Even following snipeit's guide isn't proving helpful as it appears to be missing critical steps.
-
Yeah none of the installation instructions seem to work. I've run every version of instructions I could find here on ML, the developers website and directly from their github.
I had this working about 2 weeks ago and now nothing. I think something was changed.
-
Their install script still works fine for me, just created a new install with it.
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
-
@Romo wtf . . .
I did the same thing and it didn't work.
-
@Romo said in SnipeIT install - anyone have a working guide?:
Their install script still works fine for me, just created a new install with it.
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
@Romo what OS are you using?
@DustinB3403 which one are you using?
-
@JaredBusch Centos 7 epel-release
-
@JaredBusch CentOS 7
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
@JaredBusch Centos 7 epel-release
Might be a newb question to ask, but did you
yum update
? -
@NerdyDad Yes.
-
@DustinB3403 is the install script showing you any error?
Check the scripts log/var/log/snipeit-install.log
-
Ok, it appears that I've got an install started here. The installer isn't happy with the php version included with the CentOS7 default repository. I used @JaredBusch's nextcloud instructions to get php71 installed: https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi
cd /opt git clone https://github.com/snipe/snipe-it
Install composer (make sure to be a regular user and that the snipe-it directory is owned by the user account used to install composer)
curl -sS https://getcomposer.org/installer | php php composer.phar install --no-dev --prefer-source /opt/snipe-it/install.sh
The install is still running, but no errors now. You can probably use PHP 5.6, which you'd need to specify php56 when installing instead of PHP 7.1.
-
@travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).
#Install PHP and other needed stuff. echo "## Installing PHP and other needed stuff"; PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
-
The installer finished up with no problems, but I've got this when I goto the web page:
![alt text]( image url)
Should've told me that during the install Looking through logs will have to wait.
-
@Romo said in SnipeIT install - anyone have a working guide?:
@travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).
#Install PHP and other needed stuff. echo "## Installing PHP and other needed stuff"; PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
Not exactly.
That installer is installing PHP 5.6 modules specifically.
-
@Romo said in SnipeIT install - anyone have a working guide?:
Their install script still works fine for me, just created a new install with it.
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
Did you have to do anything else besides the above steps? I know that I ran through that process and it failed to work. Will check the logs shortly, building a clean installation.
-
@Romo Yep, it works. I was making it way harder than it needs to be.
-
@DustinB3403 I cloned a vanilla Centos 7 minimal vm, ran yum update, installed wget, downloaded the script and ran the script.
That got me to a working SnipeIT installation which I just used to validate my production SnipeIT vm backups and they are working fine.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.shThe install script adds the IUS repo for PHP.
-
script worked perfectly.
Just did this from a CentOS 7 Minimal r1611 ISO on my Hyper-V lab.
-
Trying in my lab right now and see what occurs, if anything.