New updates is not displayed in the new UI 🙀

Hi guys @david / @hillel

Pretty much as the subject says. I had to go to the old UI in the desktop app to see it…

In the new UI you cannot see the new update notification:
image

But the update notification is displayed in the old UI (Through the Windows store app):
image

Thanks in advance.

Kind regards

Hi,

I believe this should be corrected with future releases once you update to the latest release.

Thanks for the update. It quite critical thing because you cannot access the update function through the website.

Not sure how clever or safe it is to update Invoice Ninja through the Windows app?

Hmm as I expected the Windows app is unsafe for updating Invoice Ninja:
image

It should be done directly as we always done it on the website itself.

The apps call an API route to run the update, the app you use to run it shouldn’t make a difference.

What may have an impact is the size of the update, form the error it may help to increase the PHP memory limit.

We have already 1024M configured for Invoice Ninja since a long time. I

t has worked fine until this new UI update. Do you really need even more?

Forced update seems to stall when you run the update on the website:

image
It basically stuck on that step.

I suggest trying 2048 or manually copying over the latest tar.

Wow.
Invoice Ninja is really becoming hungry for memory. I remember when you had like 128M requirements…

Increased to 2048M:

Running the update after increasing memory generates this:

image

The memory requirement depends on the specific release, minor updates shouldn’t need as much memory.

I suggest checking storage/logs for any errors.

Hmm…

The update seems to also have messed up our database and have generated duplicate tables?

How do we fix this?

You can comment out the referral_meta column in the database migration and then re-run it.

Where can I do that? In the prompt?

Also how do I do that command? Any example please?

You want to comment out these three lines of code

Thanks!
And the duplicate table it just generated - should we delete it?

I’m not sure what you mean, this migration was adding column. It tried to create a duplicate but wasn’t able to.

Oh. I must i have misunderstood the error message. Then I read it like the update somehow have come to generate an additional table (duplicate), in the database,

So doing your suggestion should solve the issue then?

Thanks a bunch for your answer.

As long as you can run the migrate command without seeing any errors then the problem is resolved.

Ok, thanks.
I’ll give it a try later. :+1: