Database update script?

Can I obtain a script somewhere which updates just the database of invoice ninja version 4.2.2 to 4.4.4?

I migrated invoice ninja to a different server and updated it to 4.4.4. All went well, but I noticed that I was running an out dated database, so the smart-*** I am, I just replaced the upgraded database with my old (4.2.2) database.

Now I can’t get pass the license agreement checkboxes, but if I update the database, everything should be fine again…

Have you tried loading /update (or /public/update)

If that doesn’t work you can manually run the database migrations

http://docs.invoiceninja.com/en/latest/update.html

Oh, running the /update did appear to do the trick! Thank you very much!

I usually use the shell script top update… But we’re back in business again :slight_smile:

Great to hear, thanks for letting us know!

I am running into a similar situation, but /update returns a 404? I don’t recall deleting this directory at anytime and the latest 4.5.5 download doesn’t have an update directory included?

Maybe you need to use /public/update ?