Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hubzilla 7.2 updating via util/udall #84

Closed
sthaydn opened this issue Mar 30, 2022 · 17 comments · Fixed by #113
Closed

Hubzilla 7.2 updating via util/udall #84

sthaydn opened this issue Mar 30, 2022 · 17 comments · Fixed by #113

Comments

@sthaydn
Copy link

sthaydn commented Mar 30, 2022

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 sthaydn mentioned this issue Mar 30, 2022
@sthaydn
Copy link
Author

sthaydn commented Mar 30, 2022

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

@rocky-III
Copy link
Contributor

better do it like this:

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

@sthaydn
Copy link
Author

sthaydn commented Mar 30, 2022

Is Hubzilla here a direct clone from the original sources?

@rocky-III
Copy link
Contributor

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
Copy link
Author

sthaydn commented Apr 5, 2022

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

@sthaydn
Copy link
Author

sthaydn commented Apr 27, 2022

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
Copy link
Contributor

try this:

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

@sthaydn
Copy link
Author

sthaydn commented Apr 27, 2022

Error: All apps are already up-to-date

@sthaydn
Copy link
Author

sthaydn commented Apr 27, 2022

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
Copy link
Author

sthaydn commented Apr 27, 2022

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
Copy link
Author

sthaydn commented Apr 27, 2022

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
Copy link
Contributor

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

@rocky-III
Copy link
Contributor

@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
Copy link
Contributor

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

@sthaydn
Copy link
Author

sthaydn commented Apr 29, 2022

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

@sthaydn
Copy link
Author

sthaydn commented Apr 29, 2022

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
Copy link
Author

sthaydn commented Apr 29, 2022

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

@yalh76 yalh76 mentioned this issue Oct 18, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants