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

    Installing Snipe-IT on CentOS 7 and MariaDB

    IT Discussion
    how to snipe-it centos linux centos 7 centos 7.1
    37
    290
    2.9m
    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.
    • JaredBuschJ
      JaredBusch @rejivincentc
      last edited by JaredBusch

      @rejivincentc Likely DNS does not exist correctly for the domain in question. Browse to the IP.

      rejivincentcR 1 Reply Last reply Reply Quote 0
      • rejivincentcR
        rejivincentc @JaredBusch
        last edited by

        @jaredbusch

        I will do fresh config and come back to u

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

          @rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:

          @jaredbusch

          I will do fresh config and come back to u

          DNS has nothing to do with the install working or not. Your install looks like it worked just fine.

          1 Reply Last reply Reply Quote 0
          • RobbleheadR
            Robblehead
            last edited by

            Clean install with newest version of SnipeIT using install.sh

            Everything went well setup completed and could login with no issues. I had to reboot the server and now I get a Whoops at the login screen, debug mode shows: "UnexpectedValueException" which looks like there may be a permission issue. I am not sure why rebooting the server would have caused this and definitely not having any luck getting it back up. Suggestions?

            RobbleheadR 1 Reply Last reply Reply Quote 0
            • RobbleheadR
              Robblehead @Robblehead
              last edited by

              @robblehead
              I had to run Setenforce 0

              JaredBuschJ T 2 Replies Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Robblehead
                last edited by

                @robblehead said in Installing Snipe-IT on CentOS 7 and MariaDB:

                I had to run Setenforce 0

                Interesting, that should be handled. There may be a directory missed or something.

                I have a new install to make over the weekend for a client. I will make sure to check that.

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

                  @jaredbusch said in Installing Snipe-IT on CentOS 7 and MariaDB:

                  @robblehead said in Installing Snipe-IT on CentOS 7 and MariaDB:

                  I had to run Setenforce 0

                  Interesting, that should be handled. There may be a directory missed or something.

                  I have a new install to make over the weekend for a client. I will make sure to check that.

                  Didn't we have to simply add the exclusions to setenforce to get this to work on my system a while back?

                  I remember having to do that, as disabling setenforce entirely isn't a great option.

                  RomoR 1 Reply Last reply Reply Quote 0
                  • RomoR
                    Romo @DustinB3403
                    last edited by

                    @dustinb3403 said in Installing Snipe-IT on CentOS 7 and MariaDB:

                    @jaredbusch said in Installing Snipe-IT on CentOS 7 and MariaDB:

                    @robblehead said in Installing Snipe-IT on CentOS 7 and MariaDB:

                    I had to run Setenforce 0

                    Interesting, that should be handled. There may be a directory missed or something.

                    I have a new install to make over the weekend for a client. I will make sure to check that.

                    Didn't we have to simply add the exclusions to setenforce to get this to work on my system a while back?

                    I remember having to do that, as disabling setenforce entirely isn't a great option.

                    SELinux prevents the httpd process from accessing the /var/log/httpd/error_log if I remember correctly. Running the following should get it working again.

                    ausearch -c 'httpd' --raw | audit2allow -M my-httpd
                    semodule -i my-httpd.pp
                    
                    1 Reply Last reply Reply Quote 1
                    • T
                      tiagom @rejivincentc
                      last edited by tiagom

                      @rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:

                      Installing psy/psysh (v0.8.14): Cloning 91e53c1656
                      Failed to download psy/psysh from source: The process "git clone --no-checkout 'https://github.com/bobthecow/psysh.git' '/var/www/html/snipeit/vendor/psy/psysh' && cd '/var/www/html/snipeit/vendor/psy/psysh' && git remote add composer 'https://github.com/bobthecow/psysh.git' && git fetch composer" exceeded the timeout of 300 seconds.
                      Now trying to download from dist
                      Installing psy/psysh (v0.8.14): Downloading (100%)

                      Appears to be an issue cloning.

                      Perhaps github was having issues when you were trying to install?

                      1 Reply Last reply Reply Quote 0
                      • T
                        tiagom @Robblehead
                        last edited by

                        @robblehead Can you provide the install log? /var/log/snipeit-install.log

                        1 Reply Last reply Reply Quote 0
                        • zachary715Z
                          zachary715
                          last edited by

                          I have installed Snipe-IT on Fedora 26 minimal and all is good except for e-mail server. Going through the setup, I misconfigured it and now would like to modify the settings without going through the entire process again (also if something ever changes I want to be able to modify without full reinstall once I get this running). The documentation says to edit the .env file, however, I installed via the install script and cannot find it. Is there a way to modify these mail server settings without a reinstall?

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

                            @zachary715 the . in front means it is a hidden file. Use ls -la to see it

                            1 Reply Last reply Reply Quote 3
                            • Z
                              zcqcmd @scottalanmiller
                              last edited by

                              @scottalanmiller How to restore backup files。

                              JaredBuschJ ObsolesceO 2 Replies Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @zcqcmd
                                last edited by

                                @zcqcmd said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                @scottalanmiller How to restore backup files。

                                I have not had a need for this yet.

                                I think maybe @DustinB3403 looked into it.

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • ObsolesceO
                                  Obsolesce @zcqcmd
                                  last edited by

                                  @zcqcmd said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                  @scottalanmiller How to restore backup files。

                                  There is not a built-in restore ability in Snipe-IT atm.

                                  In the settings, there's a big backup button. Click that to create a backup.

                                  Download the zip file.

                                  Restore the file structure, and then restore the DB via Adminer or phpMyAdmin.

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

                                    @jaredbusch said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                    @zcqcmd said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                    @scottalanmiller How to restore backup files。

                                    I have not had a need for this yet.

                                    I think maybe @DustinB3403 looked into it.

                                    I've been running Snipe-IT for over a year. So far I haven't had to restore. In any case I do block level backups so. . . I would just restore to my previous backup, which is created daily.

                                    1 Reply Last reply Reply Quote 2
                                    • N
                                      NinjaNerd
                                      last edited by

                                      Scott, I know this is an "old how to", which still works amazing today. My question is how long did it take you to create this script. Newer to Linux and just looking to understand the amount of work this took. I was struggling with the composer/php in my install.

                                      Thanks for sharing this!!

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @NinjaNerd
                                        last edited by

                                        @NinjaNerd said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                        Scott, I know this is an "old how to", which still works amazing today. My question is how long did it take you to create this script. Newer to Linux and just looking to understand the amount of work this took. I was struggling with the composer/php in my install.

                                        Thanks for sharing this!!

                                        Probably about an hour. In this case it wasn't too complex and mostly just making a repeatable way to run through the standard install instructions.

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

                                          @scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                          @NinjaNerd said in Installing Snipe-IT on CentOS 7 and MariaDB:

                                          Scott, I know this is an "old how to", which still works amazing today. My question is how long did it take you to create this script. Newer to Linux and just looking to understand the amount of work this took. I was struggling with the composer/php in my install.

                                          Thanks for sharing this!!

                                          Probably about an hour. In this case it wasn't too complex and mostly just making a repeatable way to run through the standard install instructions.

                                          It takes me a few hours to write up any of my guides. Because I repeat things multiple times, in the hope that I don't have nay big errors. I also post a much more detailed step by step process than @scottalanmiller ever does. He likes to put out simple copy and paste this and you are up guides. While I like to break everything into small steps for the truly novice to learn something about the underlying OS as they get to the goal of using the application they are trying to set up.

                                          Basically two totally different means to the same end.

                                          1 Reply Last reply Reply Quote 2
                                          • 1
                                            1337
                                            last edited by

                                            <rant>NodeBB works like crap on all threads that are longer than a page or two. You can't just grab the scroll bar and find all posts. You have to release it and grab it again for the page to realize there are more posts to show. Also you can just use pgup/pgdn either. It will get a couple of posts then stop unless you work really slow. At least on Firefox.

                                            And it's so many round trips to the server just to get a few posts. I which it would get at least a hundred posts or so in one go. Bandwidth needs are minimal. Posts on ML is mostly just a few lines of text. </rant>

                                            JaredBuschJ ObsolesceO 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 14 / 15
                                            • First post
                                              Last post