YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 42 forks source link

1.69 upgrade fails #343

Closed centralscrutinizer21 closed 1 year ago

centralscrutinizer21 commented 1 year ago

Running yunohost on a Rpi 4 arm64 arch at home. Today upgrading synapse failed herw is the log https://paste.yunohost.org/raw/faqohaqufu

xabirequejo commented 1 year ago

Same. Raspberry Pi 4, arm64, 11.0.10.1 https://paste.yunohost.org/raw/ezuxufedur

yajo commented 1 year ago

It fails for me too. Actually the comment https://github.com/YunoHost-Apps/synapse_ynh/issues/329#issuecomment-1291779829 was more related with the upgrade to 1.69.

Josue-T commented 1 year ago

Can you try this branch which should fix the issue: https://github.com/YunoHost-Apps/synapse_ynh/tree/fix_arm64_install

centralscrutinizer21 commented 1 year ago

Tried the branch with this command sudo yunohost app upgrade synapse -u https://github.com/YunoHost-Apps/synapse_ynh/tree/fix_arm64_install --debug But still gives me the same error https://paste.yunohost.org/raw/erogubokex

centralscrutinizer21 commented 1 year ago

Upgrading from testing branch now worked! If this is the case also for @yajo and @xabirequejo i can mark this as closed

Josue-T commented 1 year ago

So as I understand the branch fix_arm64_install didn't fix the issue but the last version 1.70 fixed the issue ?

Upgrading from testing branch now worked! If this is the case also for @yajo and @xabirequejo i can mark this as closed

centralscrutinizer21 commented 1 year ago

Precisely

Il 27 ottobre 2022 16:17:57 UTC, Josue-T @.***> ha scritto:

So as I understand the branch fix_arm64_install didn't fix the issue but the last version 1.70 fixed the issue ?

Upgrading from testing branch now worked! If this is the case also for @yajo and @xabirequejo i can mark this as closed

-- Sent from /e/ Mail.

xabirequejo commented 1 year ago

I have been able to upgrade both of my synapse servers to 1.70.0. No issues. 🎉

And I know that this is unrelated but if the upgrade command checked for installed apps on root, backed up them, upgraded synapse, and restored the apps without needing to do it manually, that'd be great.


I forgot to mention that I upgraded YunoHost to 11.0.10.2 before upgrading Synapse, not sure if this is relevant.

Josue-T commented 1 year ago

Closing as it look like that it's fixed

yajo commented 1 year ago

Sorry I'm a bit lost. How to fix the upgrade then?

centralscrutinizer21 commented 1 year ago

Sorry I'm a bit lost. How to fix the upgrade then?

To me upgrading to testing branch worked... If you have access to your yunohost server via ssh try like this: sudo yunohost app upgrade synapse -u https://github.com/YunoHost-Apps/synapse_ynh/tree/testing --debug

CatsLover71 commented 1 year ago

Hello, I experienced the same issue and solved it by passing on testing branch. How and when can I go back to master branch ?

tituspijean commented 1 year ago

How and when can I go back to master branch ?

That's a common misconception. Your YunoHost server keeps monitoring the master branch from the repository. Whenever the package version on master branch becomes higher than your local one, you will be able to upgrade to it.

There is thus no branch per se, but rather different venues to apply an upgrade script. The master branch is the automated one, all the others are manual.

Hopefully I am clear. 😅

yajo commented 1 year ago

This still seems to fail for me. The command from https://github.com/YunoHost-Apps/synapse_ynh/issues/343#issuecomment-1295155254 produced the following failure:

imagen

Josue-T commented 1 year ago

This still seems to fail for me. The command from #343 (comment) produced the following failure:

imagen

Related to https://github.com/YunoHost-Apps/synapse_ynh/pull/348