Closed SpencerDub closed 3 years ago
Update
Alright, I might be able to dig into this soon if someone can give me pointers.
The previous update I made to this script, following Tobias' guide, only involved changing the sources and checksums of installation files. Will that suffice for this, or will more extensive changes be necessary? If more extensive changes are needed, what are they?
@anmol26s, do you know what it would take to update this package to Friendica v2020.07?
I tried to fork it and replaced the php 7.0 values with the 7.3 but while it installs and the packages are correct, it won't let me log in. I haven't had time to did into it unfortunately.
There's a new upstream security release, v2020.07-1 that makes this upgrade even more pressing.
Additionally, I expect that Friendica 2020.09 will be released before the month is out, since it's currently in the release candidate phase.
For Friendica we now have tar archive available for docker installations, but these probably could be used for yunohost too. The files are hosted here: https://files.friendi.ca/ This is maintained by @tobiasd
Also I would like to add that an update is really suggested due to some security issue in 03.2020 and actually in 07.2020 before 07.2020-1, which allows access to session information and hence to admin sessions and then to all accessible information in the backend as far as I understood.
Maybe for the future Friendica for yunohost can fetch the github stable branch of Friendica regularly or trigger able by the YunoHost admin?
Friendica v2020.09 has now been released.
The idea with the archive files is that, there is a VERSION file in the stable branch of Friendica (e.g. https://git.friendi.ca/friendica/friendica/src/branch/stable/VERSION, you can use the file on github as well) and for the version mentioned in that file, there will be 2 tar archives on files.friendi.ca
in addition, there are *.sum256
files that contain the SHA256 checksum for the archive files.
So ideally you just need to adjust the app.src and addons.src with the new fixed file location and exchange the version number after each release.
I've forked this repo and made changes to the sources and checksums so it installs v2020.09. I've tested it as an upgrade to an existing installation and it seems to have worked without a hitch. I have not tested installing from scratch.
In the future, I'm happy to update checksums and file sources like this--that's work that I'm easily able to do. However, if anything ever changes in the installation/upgrade process beyond those simple tasks, I do not currently have the know-how to either recognize or address that. For that reason, I'm fine being a sort of "semi-maintainer" for this repo, but I don't want to be relied upon as the sole maintainer, because I don't have the independent knowledge or skill to be a good steward.
I've tested it as an upgrade to an existing installation and it seems to have worked without a hitch.
How do you upgrade?
So this Friendica addon has no maintainer anymore?
@Torenga - From the command line. sudo yunohost app upgrade friendica -u [URL to Git archive]
directed YunoHost to upgrade the app from the specified URL.
@tiotrom - I don't know who's maintaining friendica_ynh here. I will likely continue making changes to my own fork, which will work until an upgrade requires anything more complicated than changing checksums and URLs. I'm not a knowledgeable dev, though, so I can't encourage anyone to rely on my fork.
I will do some tests and push the PR on weekend.
I love friendica and we are testing yunohost which is 100% amazing! So if Friendica keeps on being maintained and updated then we could create more instances of it, quicker, via yunohost. I wish I knew how to help. Thank you to all so much for your work!
We would be so happy to provide yet another friendica node but this is 1 year old and may not work well. So if you can update it and maintain it, would be so amazing and I could not thank you enough. :)
The app is currently v2020.03.
Friendica v2020.09 has been released, so the install script needs to be updated appropriately.
Apparently, 2020.07 has an issue with PHP 7.0. Newer versions of PHP are apparently supported by Debian Buster, which YunoHost 4.0 now runs on.