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。
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.
-
@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:
@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.
Definitely not arguing your experience, just stating I do not see it.
-
@JaredBusch said in Installing Snipe-IT on CentOS 7 and MariaDB:
Definitely not arguing your experience, just stating I do not see it.
Sorry Jared. I just got worked up. Anyway, I will go back to ignoring that it doesn't work reliably and never has as far as I can remember.
-
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
Not even Home/End buttons work reliable and always gets you the first/last post.
I think you meant "don't" always get you there, and I see that sometimes too. Normally they work, but not always.
-
@scottalanmiller said in Installing Snipe-IT on CentOS 7 and MariaDB:
@Pete-S said in Installing Snipe-IT on CentOS 7 and MariaDB:
Not even Home/End buttons work reliable and always gets you the first/last post.
I think you meant "don't" always get you there, and I see that sometimes too. Normally they work, but not always.
Yup, correct.
-
@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>
I can't stand NodeBB on mobile. It's absolute shit in that aspect. On desktop it's great though. But I'd be on way more of it worked half decently on mobile.