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
manuall update? #72
Comments
Yes this can be achieved. |
thanks @anmol26s - , |
that way the HZ installation would be always up to date |
I have made the current Yunohost Hubzilla package use git. What this means that the new installation would use the default git repo to update rather then waiting for the package to be updated. So every time new updates comes one can force update the yunohost Hubzilla package to get to the latest update or wait for the Yunohost package to be updated. The former gives advantage to upgrade as soon as new upgrade comes and makes a backup of your Hubzilla, in case something breaks one can always restore. But if you want to adventurous you can try, to backup your folders and database manually then install Hubzilla Yunohost and restore the folders and database. And if everything works you will be able to take advantage of the git feature. |
Thanks if i use git later -and make manual a backup of the HZ installation by the YH web interface before the update is done - i´m save also right? |
if i use git later -and make manual a backup of the HZ installation by the YH web interface before the update is done - i´m save also right? So lets do this.
New install and backup part.
This should be it. If every thing works you should have your hub back. Now to test if git works for you. Current version of Hubzilla would show your 5.4 because I have not yet pushed the PR with 5.6. So now try to force upgrade to see if you can come from 5.4 to 5.6.
That it, if everything went good. You will be having Hubzilla updated to version 5.6 without having the to wait for the the 5.6 PR to be merged to main Yunohost Hubzilla.
|
THANKS - this is wonderful and exactly the information i was looking for. Maybe not close this "Issue" because it is useful for others also... or add your infos to the wiki? |
Yes you can share this on wiki or Hubzilla forum. But someone has to test it first |
OK - I will do the Test when I´m well-rested and wen I have an evening with enough fee spare time - I will report |
today NOW finally I tried the hack... did all with
What could I try now?? |
Please show the php logs. |
THANKS @anmol26s |
I tried again and did check after every step this time so this is what i had to do to make the hack work for me: I deleted the databases by phpmyadmin After the restore of the database at the end i had to do and now it seams to work... |
I have a serious problem with the hub. like said i had to use the new db password... otherwise i get
The Site is up - BUT i cant sent and receive messages from and to the Hubzilla Network. Messages to and from AP Contacts work... If I sent a message from a different hub to mine i don't´see anything in the delivery report.. @anmol26s do you have time to help? I will go back to the backup if you don´t respond |
if i use the old .htconfig.php an old db password
|
if i use the old .htconfig.php with the NEU db password tail -n 100 /var/www/hubzilla/php.log gives me this:
|
@anmol26s my old hub still cant´t be updated by git... I tried you instruction two times now and it did not work... |
Please see: |
with Hubzilla YH installations above 5.something you can manual upgrades fine with:
unfortunately with older Hubzilla YH installations this does not work... @anmol26s implemented this git upgrade option just later - and if the your installation does not have is option you have to try to uninstall and install a newer Hubzilla YH version but save and import the old database... somehow this does not work on my hub. |
Oh, there is the explanation. Thanks for that! |
I have tried it and got: Maybe it could be that the version is already updated? Will try it with the next Version. |
Yes, I guess that was the case, see above. I was now able to upgrade to 7.4 with |
The last time I tried it did not work. @yalh76 has someone proved that it works like described? If not please reopen this issue |
The normal upgrade via GUI or via commandline does break federation for me. I can't receive or send anything. Well, I can send, but nobody receives my posts. But "util/udall" works just fine. |
hmm... according to the YNH Devs updates by git have been disabled on this YNH - HZ repro |
yes git upgrade has been remove a time ago as it can install a not tested version of hubzilla. |
is there a way to update HZ manually by uploading the new files from https://framagit.org/hubzilla/core by FTP to our YH server? Which files have to be edited?
@anmol26s can you teach us?
The text was updated successfully, but these errors were encountered: