Installing Snipe-IT on CentOS 7 and MariaDB
-
@rejivincentc Likely DNS does not exist correctly for the domain in question. Browse to the IP.
-
I will do fresh config and come back to u
-
@rejivincentc said in Installing Snipe-IT on CentOS 7 and MariaDB:
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.
-
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?
-
@robblehead
I had to run Setenforce 0 -
@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.
-
@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.
-
@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
-
@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?
-
@robblehead Can you provide the install log? /var/log/snipeit-install.log
-
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?
-
@zachary715 the . in front means it is a hidden file. Use ls -la to see it
-
@scottalanmiller How to restore backup files。
-
@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.
-
@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.
-
@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.
-
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!!
-
@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.
-
@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.
-
<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>