Upgrading onlyoffice from 9.2.1~ynh1 to 9.2.1~ynh2 cause checksum issue

What app is this about, and its version: Onlyoffice 9.2.1~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Old laptop or computer

Describe your issue

I’m trying to upgrade onlyoffice app from 9.2.1~ynh1 to 9.2.1~ynh2. It fails with checksum error.
I downloaded manually the file pointed and manually sha256sum’d it. It has this checksum aa7f75b96b8dc34831e3df190a686a08eda66ae59be59696735ab9a80d7cac0d

Following the white rabbit, I stumbled upon this file in the testing branch of the github (sorry I’m not allowed to put links) : manifest.toml which seems to be the manifest for the updated version.
In this manifest it says the following:
url = …v9.1.0.183.tar.gz"
sha256 = “ca41f0e4b05679c813ce840c96553e752fa44f9ec04746fb3ef1e2da239b2945”

So there is a discrepency. I’m not sure if the problem is what’s written in the manifest or if the update was not ready but in the end, my onlyoffice is not working anymore ^^.

Any help ?

Share relevant logs or error messages

Failed to update sources : YunoHost was able to download the asset ‘src’ (github /ONLYOFFICE/server/archive/refs/tags/v9.1.0.183.tar.gz) for onlyoffice, but the asset doesn’t match the expected checksum. This could mean that some temporary network failure happened on your server, OR the asset was somehow changed by the upstream maintainer (or a malicious actor?) and YunoHost packagers need to investigate and perhaps update the app manifest to take this change into account.
Expected sha256 checksum: ca41f0e4b05679c813ce840c96553e752fa44f9ec04746fb3ef1e2da239b2945
Downloaded sha256 checksum: aa7f75b96b8dc34831e3df190a686a08eda66ae59be59696735ab9a80d7cac0d
Downloaded file size: 424K

It could mean there were changes on upstream files. If so, it will need to be checked because the patch might no longer apply…

I m getting the same checksum error while i m trying to install it

Should I open an issue on the github ?

See:

Unfortunately changing the checksum is not sufficient…

Oooh didn’t see that. thanks I’ll wait for an update

I created a PR yesterday.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.