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:
But the update notification is displayed in the old UI (Through the Windows store app) :
Thanks in advance.
Kind regards
hillel
June 25, 2024, 1:36pm
2
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:
It should be done directly as we always done it on the website itself.
hillel
June 25, 2024, 1:43pm
5
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:
It basically stuck on that step.
hillel
June 25, 2024, 1:49pm
8
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:
hillel
June 25, 2024, 1:57pm
11
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?
hillel
June 25, 2024, 2:02pm
13
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?
hillel
June 25, 2024, 2:07pm
15
You want to comment out these three lines of code
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->mediumText('referral_meta')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Thanks!
And the duplicate table it just generated - should we delete it?
hillel
June 25, 2024, 2:17pm
17
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.
hillel
June 25, 2024, 2:47pm
19
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.