invoiceninja / ui

Invoice Ninja: Web admin portal built with React
https://app.invoicing.co
Other
53 stars 47 forks source link

Unable to upgrade IN from v5.10.4 to v5.10.8 #1891

Open SemoTech opened 1 month ago

SemoTech commented 1 month ago

Setup

Interface

Checklist

Describe the bug

The update from v5.10.4 to v5.4.10 fails, tho the health check passed...

For reference IN v5.10.4 was a new install using Softaculous. Also there are no entries in laravel.log that are relevant to the failure to upgrade.

Steps To Reproduce

See screenshots

Expected Behavior

Update should complete successfully

Additional context

Screenshots

image

image

image

Logs

none relevant
turbo124 commented 1 month ago

If you are using softaculous as your installer, you would need to wait for softaculous to release their update.

SemoTech commented 1 month ago

If you are using softaculous as your installer, you would need to wait for softaculous to release their update.

I see, so Softaculous installs should not even be attempted to be updated via the IN native interface, one has to wait for Softaculous to provide the update?

I wonder what is Softaculous doing that is different than a manual install and prevents native updates?

I will also flag to their support team, maybe they have a fix...

Thank you.

turbo124 commented 1 month ago

We should not be showing the upgrade as possible in this context, so we'll need to also make changes on our side.

turbo124 commented 1 month ago

@Civolilah if the systemhealth check prop is_docker = true.

we should never display the option to update/upgrade the application.

SemoTech commented 1 month ago

@turbo124 while your note to @Civolilah is great for Docker installs, my install is not Docker, it is cPanel via Softaculous!

turbo124 commented 1 month ago

@SemoTech we use the same flag in the softaculous.1

nikitakothari06 commented 1 month ago

Hi,

I am from Softaculous team.

@SemoTech We have replied to your support ticket.

@turbo124 We follow the upgrade instructions provided by Invoice Ninja. https://invoiceninja.github.io/en/self-host-updating/

SemoTech commented 1 month ago

Thank you @nikitakothari06 and @turbo124 for your continued help.

The $1M question is why would a Softaculous self-host install of Invoice Ninja 5 not be able to be updated using EITHER the Softaculous interface OR the built-in Update feature in the IN Interface?

image

As of now it seems only a Softaculous update is possible....

Thank you.