YunoHost-Apps / hubzilla_ynh

Hubzilla Hub package for YunoHost
https://zotlabs.org/page/hubzilla/hubzilla-project
GNU General Public License v3.0
14 stars 9 forks source link

Hubzilla 7.2 updating via util/udall #84

Closed sthaydn closed 1 year ago

sthaydn commented 2 years ago

Hi there,

is it save to update Hubzilla via "util/udall"? It seems there are some security fixes on the way (7.2 release) and it would be fine to have those integrated.

Regards,

Stefan

sthaydn commented 2 years ago

I just tried it for the fun of it. Seems to have worked. :-)

rocky-III commented 2 years ago

better do it like this:

$ yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh hubzilla --force

sthaydn commented 2 years ago

Is Hubzilla here a direct clone from the original sources?

rocky-III commented 2 years ago

Is Hubzilla here a direct clone from the original sources?

@sthaydn yes I think so

so i tried the 7.2 update today and i run into the "/cloud not shown anymore; CalDAV sync broken" problem

https://zotadel.net/channel/support?mid=b64.aHR0cHM6Ly96b3RhZGVsLm5ldC9pdGVtL2FlYTNlZDAxLTliZTUtNDUwOC04Y2JmLTJjMGU4Mjc5MWU0Mg

even so php 8 is installed by Yunohost.

What did i miss? Can anyone help?

sthaydn commented 2 years ago

I did the upgrade on a host outside my Yunohost installation and it worked fine. Don't know what could be missing here.

sthaydn commented 2 years ago

When trying to update to 7.2.2 via yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh hubzilla --force I get: Info: [##############++....] > Upgrading dependencies... Warning: ERROR 1060 (42S21) at line 1: Duplicate column name 'updated' Warning: [Error] Upgrade failed.

rocky-III commented 2 years ago

try this:

$ yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh/tree/testing --force

sthaydn commented 2 years ago

Error: All apps are already up-to-date

sthaydn commented 2 years ago

I guess it is so because I have done the last update with util/udall, so it could be possible that somewhere is a wrong setting now for "the regular update".

sthaydn commented 2 years ago

Is Hubzilla here a direct clone from the original sources?

@sthaydn yes I think so

so i tried the 7.2 update today and i run into the "/cloud not shown anymore; CalDAV sync broken" problem

https://zotadel.net/channel/support?mid=b64.aHR0cHM6Ly96b3RhZGVsLm5ldC9pdGVtL2FlYTNlZDAxLTliZTUtNDUwOC04Y2JmLTJjMGU4Mjc5MWU0Mg

even so php 8 is installed by Yunohost.

What did i miss? Can anyone help?

I have seen in the settings.yml that there is php7.4 hardcoded. Maybe that's the reason?

sthaydn commented 2 years ago

Some more debug information: Info: DEBUG - ++ awk 'BEGIN{ print ""<"3.8.4" }' Info: DEBUG - + is_version_equal_three_eight_four=1 Info: DEBUG - + '[' -z '' ']' Info: DEBUG - + ynh_mysql_connect_as hubzilla ** hubzilla Info: DEBUG - + database=hubzilla Info: DEBUG - + mysql --user=hubzilla --password=** --batch hubzilla Info: WARNING - ERROR 1060 (42S21) at line 1: Duplicate column name 'updated' Info: DEBUG - + ynh_exit_properly

rocky-III commented 2 years ago

the testing branche should use php 8 - so if you see php7.4 that does not seam right

rocky-III commented 2 years ago

@ericgaspar just tried the update on my system and it did also NOT work

sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/hubzilla_ynh/tree/testing --force         
Error: All apps are already up-to-date

What could I try? THANKS

rocky-III commented 2 years ago

got to try this sudo yunohost app upgrade hubzilla -u https://github.com/YunoHost-Apps/hubzilla_ynh/tree/testing --debug

sthaydn commented 2 years ago

That also worked for me. Have I seen that right that Hubzilla is now on php8.1?

sthaydn commented 2 years ago

Ok, can't connect to /admin anymore. It's just a blank page.

EDIT: When using /admin/site, the page shows and I can then see all other admin settings and use them.

sthaydn commented 2 years ago

Now the stream doesn't load anymore. Recoverytime! Maybe it is because I am on the lastest Yunohost beta?