Issues Installing Snipe-IT on CentOS 7
-
Trying now on Ubuntu
-
You tried with setenforce 0 or you tried manually creating the directories?
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
Trying now on Ubuntu
Why. . ? We know the installation works just fine on CentOS 7
-
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
That’s good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
-
@bnrstnr Correct.
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
That’s good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
And then published your script for the community to use?
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
That’s good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
I have a mostly working version designed to be a pull request to the main git. I need to commit my most recent changes and test again after SpiceWorld before I submit the pull request.
-
maybe a stupid question, but did you install epel-release and update all packages before you ran the install script?
-
@bnrstnr said in Issues Installting Snipe-IT on CentOS 7:
maybe a stupid question, but did you install epel-release and update all packages before you did this?
Only a stupid question because the script does that stuff as has been stated.
-
@bnrstnr Yes, makes no difference.
-
@jaredbusch Well he's stating the script does it all for you but it doesn't work, yet I've done it manually twice now and it worked flawlessly both times.... apparently my iso of centos minimal is more awesomer than his idk
-
Ubuntu gives me all the same errors, must be a firewall/proxy issues.... (That's the only thing left...)
-
Before running the script disable setenforce then try running the script to see if the issue persist.
-
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
Before running the script disable setenforce then try running the script to see if the issue persist.
That doesn't explain why it doesn't work on Ubuntu too.
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
Before running the script disable setenforce then try running the script to see if the issue persist.
That doesn't explain why it doesn't work
on Ubuntu toofor @aaronstuder.FTFY
-
@dustinb3403 I have, same result
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 I have, same result
Well you can always install Snipe-IT manually.
-
@bnrstnr said in Issues Installting Snipe-IT on CentOS 7:
@jaredbusch Well he's stating the script does it all for you but it doesn't work, yet I've done it manually twice now and it worked flawlessly both times.... apparently my iso of centos minimal is more awesomer than his idk
And to verify, I just checked the script as it exists on github right now.
It does not make the directories, so you are correct that @aaronstuder needs to do that first.
It does install EPEL.
It is also stupid that the CentOS7 section of the snipeit.sh script installs
wget
when the install.sh script uses it. so it would have had to be installed already.So the current correct instructions from a clean CentOS 7 install should be
yum -y install wget mkdir -p /var/www/html; cd /var/www/html/ firewall-cmd --zone=public --add-port=http/tcp --permanent firewall-cmd --reload wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh && chmod 744 install.sh && ./install.sh
-
@jaredbusch THANKS!
I'll give it a shot again.
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
@jaredbusch THANKS!
I'll give it a shot again.
when it fails, the log exists here
/var/log/snipeit-install.log
assuming git is failing, you should see why there.