 So over the weekend they updated a new version of invoice ninja and a lot of you I know are like myself and want to run the self-hosted version So this is a concern for you for how do you do the updates on it? And they've actually made it easier and it's getting even better Upcoming features in a roadmap is going to be a way to completely automate and do it If this is daunting for you You can always use their self-hosted version, which will they keep up to date So you don't really worry about this that being said I'm going to show you how I update our system and how the update works now If you go over here to their page under the docs and type in update And that's all I did so you can find it real quick They have a link to a shell script which is right here that you can set up and configure You've changed a few parameters where your home is version and don't do like I did please note It says works with update and lines 51 54 and 79 Important be sure to edit lines 17 and 18 to make sure they match the storage read through this That's all to make sure that this is right. I still found one more thing for my particular installation I had to change it was the way it was I forgot what it was now it doesn't matter I changed it and fixed it, but they're working on this being there And it's if you're not familiar with running bash then this may not be for you But you can pretty go much go through here and it's pretty straightforward All you have to do if you weren't using this automated script is download the code drop it over the code and then log in to the invoiced engine system and go ahead and Run the update and I'm going to walk through the process real quick and show you how it updates now Back up back up back up anytime you want to run the self-hosted You should be running the server if you have this public exposed completely secure up to date patched and have backups of everything the data And everything related to it. That's super easy for me because I have it in a Virtual machine dedicated just to invoice ninja. So I scratch snapshot each time I do something and I always keep a couple snapshots Anyways, so I just snapshot it again before this update So I know that if everything goes completely wrong that I have a way to roll it back other side note part of my process for updating this I Remove the ability for remote access I do that because I want to lock it down now if you're hosting this in in some other place on a In an Amazon web service or whatever cloud host the service, you know have an internal stack Maybe you just want to set the firewall to filter so only your IP address can access it What you don't want is anyone logging in making a payment Which you want people making payments, but you don't necessarily want to do it while you're in the middle of an update You don't want to cause an issue. So I've already stopped any access plus some of my staff does not work from inside the office And I sent the message in slack that we're doing an update right now But in case they tried to log in and start inputting data, they can't I don't want something to get messed up So just a couple things to think of if you're running this self-hosted one Like I said, if you don't want to think of anything have them hosted for you. That's what they do So now without further ado, let's jump into the update here and show you how that works All right, and I have the not so cleverly named invoice ninja automatic update script 4.6.3 I know they do suggest running in a cron job, but kind of like for the reasons I just mentioned I like to run it in a very controlled. I back up first I've done now a couple updates because there's been two in this to be that I think the third bump since I started using the system and so far nothing's gone wrong So we're going to watch this in real time and see if anything goes wrong here So it's going to Go in it does a comparison to my version of invoice ninja versus the invoice Ninja version on invoice ninja.org. It does a comparison mines was at 421 422 was released I think yesterday yesterday or son. I think I seen it get hub on Sunday and well anyways It's on the website now. So it first thing does goes out downloads it and it's going to unzip that to attempt directory Extraction it and then it's going to do a sync to copy all the files back over and then run the update now the way invoice ninja works on the back end is It's going to go and put in All the changes now they create a folder for updates as well in terms of database updates So when it's all done It's going to run and I got stuff blurred out here I know but it's actually runs the migration command your invoice portal URL name index dot PSP slash update when it's all done So that kind of kicks off the update process and what that does is the case or is any database changes It will execute those as well and it kind of finishes the cleanup of the updates but that's it script runs and I can log back into the system now now once you log in You're going to see six be completed updates see what's doing 422 once you log in once this goes away And we scroll down to the bottom here and it says powered by invoice ninja for 2 2 That's it. That's all you have to do to the update. Like I said, it's really straightforward really simple They have a pretty clear process on it for going in here and making getting the system up and going So that's really it in one other thing I will while I'm in here because a few people ask what's the server you're running this on how fast is it? Well, let's pull that up real quick while we're here. Oh Sorry, I had to blur everything out too for those wondering you can't see all my client information That's confidential All right, and so I wanted to answer some other questions people had about invoice ninja here kind of to wrap this up and So what does it run on first? I've got it four cores dedicated to it two gigs of RAM. It's a older Xeon X 5670 at 2.93 gigahertz nothing outstanding here nothing absolutely incredibly fast But how fast does it do look ups for clients and I just booted it so nothing things are not really cash yet So let's find some client look ups and we'll watch these tables as I do some of the queries in here So here's a client pulls them up really fast This client has Not that many invoices, but you can see the queries over here by the way, you know It's the systems I even stress for this try the even client that has a lot of invoices Let's try this one here Yeah, it the system has these tiny little peaks It's wicked fast. It's indexed. I have over 6,000 clients in here We imported only about because we just didn't care about some of the stuff so with some filtering I think we have like I don't know 9,000 invoices in here But still not a bad amount of them. We had more in our old system We just the filtering I had to do to get the invoices in because of the way my old system was made it tricky But you can see here when I pull up some clients. It's like instant. We you get these tiny little peaks It blips the processor now. I have four cores. We have four technicians And it still has not with all of us using it Maybe five of us no six of us use it at the same time the other day I was playing with it. It nothing pauses. It's absolutely It's fast. That's a nice thing about the system I think they've done a good job in the back end doing all the coding because it's solid the performance is really good I don't know the specs of their self-hosted system. I'm sure it's pretty fast But when I if you notice when I did the demos and playing around with it It was really quite fast. I didn't really have any problems So but even after you use it and it builds the cash back up so it at reboot It's using like 340 megs when we run it a while I think it gets a little over somewhere between four and 500 as we look up stuff. It's just not It's not processor intensive. That's best way to describe it. It just works So as I'm jumping through real fast here popping in and out of invoices You're seeing the queries, but uh, just not much not much here in terms of Processor power. So hopefully that answers that question for those of you wondering. Is it resource intensive on a processor? Not at all Matter of fact, it's really really lightweight and that's been kind of nice because we're worried, you know Part of our testing before we even moved production to this was loading up all the clients in it to see how it would handle Did it bog down where it's uh, I'll tell you exactly how many clients we have as of today, we have 6,000 600 6,360 clients in the system. So that is our right now client count as of March and it's flipping through them No problem at all. So it's definitely optimized. That means it's plenty expandable I'm sure there's plenty of people out there to have even more clients in us than these So if that sets your heart at ease in case you're wondering about scalability of it I don't know what the upper limit is But certainly it has no problem at all running on an older processor with 6,000 So it seems pretty well optimized. All right, thanks for watching. Hopefully you found this information Useful like and subscribe if you're interested in signing up for invoice engine Like I said, I got the links below on there Go ahead and set up a free account and play with it. Have them host it If you're feeling that you're up to the task of locking everything down and maintaining all these updates I just talked about then you can host it yourself as well. That's definitely an option