ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Issues Installing Snipe-IT on CentOS 7

    Scheduled Pinned Locked Moved IT Discussion
    centos 7snipe-itinstallationinstall
    100 Posts 7 Posters 14.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage @bnrstnr
      last edited by

      @bnrstnr Correct.

      1 Reply Last reply Reply Quote 0
      • A
        Alex Sage @black3dynamite
        last edited by

        @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? đŸ™‚

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @black3dynamite
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • B
            bnrstnr
            last edited by bnrstnr

            maybe a stupid question, but did you install epel-release and update all packages before you ran the install script?

            JaredBuschJ A 2 Replies Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @bnrstnr
              last edited by

              @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.

              B 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @bnrstnr
                last edited by

                @bnrstnr Yes, makes no difference.

                1 Reply Last reply Reply Quote 0
                • B
                  bnrstnr @JaredBusch
                  last edited by bnrstnr

                  @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

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • A
                    Alex Sage
                    last edited by Alex Sage

                    Ubuntu gives me all the same errors, must be a firewall/proxy issues.... (That's the only thing left...)

                    1 Reply Last reply Reply Quote 1
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      Before running the script disable setenforce then try running the script to see if the issue persist.

                      black3dynamiteB A 2 Replies Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @DustinB3403
                        last edited by black3dynamite

                        @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.

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @black3dynamite
                          last edited by

                          @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 too for @aaronstuder.

                          FTFY

                          1 Reply Last reply Reply Quote 0
                          • A
                            Alex Sage @DustinB3403
                            last edited by

                            @dustinb3403 I have, same result

                            black3dynamiteB 1 Reply Last reply Reply Quote 0
                            • black3dynamiteB
                              black3dynamite @Alex Sage
                              last edited by

                              @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                              @dustinb3403 I have, same result

                              Well you can always install Snipe-IT manually.

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @bnrstnr
                                last edited by

                                @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
                                
                                A black3dynamiteB 3 Replies Last reply Reply Quote 2
                                • A
                                  Alex Sage @JaredBusch
                                  last edited by

                                  @jaredbusch THANKS!

                                  I'll give it a shot again.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @Alex Sage
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 1
                                    • A
                                      Alex Sage @JaredBusch
                                      last edited by Alex Sage

                                      @jaredbusch still no dice. Have to be something with this connect (firewall\proxy)

                                      DustinB3403D JaredBuschJ 2 Replies Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @Alex Sage
                                        last edited by

                                        @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                                        @jaredbusch still no dice. Have to be something with this internet connection.

                                        Provide the logs.

                                        A 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch
                                          last edited by

                                          to manually run the git command on CentOS 7

                                          git clone https://github.com/snipe/snipe-it /var/www/html/snipeit

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @Alex Sage
                                            last edited by

                                            @aaronstuder said in Issues Installting Snipe-IT on CentOS 7:

                                            @jaredbusch still no dice. Have to be something with this connect (firewall\proxy)

                                            see the post above for the log

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • First post
                                              Last post