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.
-
@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>
-
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
<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>
Switch from Endless Scroll to pagination. I will say, that I rarely have any issues with endless scroll.
-
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
<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>
Switch from Endless Scroll to pagination. I will say, that I rarely have any issues with endless scroll.
But pagination has 20 post maximum. 20 posts. WTF. Missing a zero or two there or something.
-
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
<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>
Switch from Endless Scroll to pagination. I will say, that I rarely have any issues with endless scroll.
But pagination has 20 post maximum. 20 posts. WTF. Missing a zero or two there or something.
I've never used it. so I have no idea what type of limitation that might feel like.
There are typically only 2 threads that I have issues with. And that is due to images not loading and causing the current location to get confused when they do load.
The only other time I have experienced the issues you descrbie is when I am on cellular data with poor connectivity.
-
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
<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>
Switch from Endless Scroll to pagination. I will say, that I rarely have any issues with endless scroll.
I have an issue on my pixel 2 where if I try and scroll (firefox or chrome) that the page will just bounce or fail to scroll. This might fix that. going to find out.
-
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
<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>
Switch from Endless Scroll to pagination. I will say, that I rarely have any issues with endless scroll.
But pagination has 20 post maximum. 20 posts. WTF. Missing a zero or two there or something.
I've never used it. so I have no idea what type of limitation that might feel like.
There are typically only 2 threads that I have issues with. And that is due to images not loading and causing the current location to get confused when they do load.
The only other time I have experienced the issues you descrbie is when I am on cellular data with poor connectivity.
I have problems on all longer threads all the time.
For instance, in this thread I'm not at the first post. Look at the scroll bar. Should be impossible.
And another example from right now. Again look at the scroll bar. And I'm not at the last post.
Not even Home/End buttons work reliable and always gets you the first/last post.
BTW, I'm on fiber 100/100 Mbps.