Closed panomaki closed 1 year ago
Further to this issue, I have the following information to add:
Patching the Gemfile/Gemfile.lock results in an error:
WARNING - You are trying to install in deployment mode after changing
WARNING - your Gemfile. Run `bundle install` elsewhere and add the
WARNING - updated Gemfile.lock to version control.
This can also be witnessed which the CI-tests on yunohost runner (https://ci-apps-dev.yunohost.org/ci/job/5590). I lack the understanding of Ruby to get this solved.
Trying to install v4.1.0 sources without patching recreates the error solved in #361 as it still tries to install 0.1.6.
As a quick and dirty trial I packaged the mastodon sources from v.4.1.0 plus Gargrons update to blurhash 0.1.7 which was just a day too late to get included in the release.
Installing that version (via yunohost app install https://github.com/panomaki/mastodon_ynh --debug
) works without problems. See (https://paste.yunohost.org/raw/uzizecoxoh) for the install log.
I do not think this is close to a sustainable upgrade path but hope it helps in finding one.
Aren't those blurhash patches made their way upstream ?
Aren't those blurhash patches made their way upstream ?
Maybe now? Two weeks ago they hadn't yet.
Do you know where we can check this ?
I've opened an issue upstream for this: https://github.com/mastodon/mastodon/issues/24230.
Solved upstream. See https://github.com/YunoHost-Apps/mastodon_ynh/pull/378.
For my understanding, are we waiting for a more stable version of mastodon source before allowing the update to happen in YNH? Thanks.
For my understanding, are we waiting for a more stable version of mastodon source before allowing the update to happen in YNH? Thanks.
No, there is a problem with the automated tests which need to pass before the pull request (#378) is accepted. That problem needs to be solved first.
merged in master
4.1.0 install problems
So I've been spending some time trying to move forward to get 4.1.0 working, unfortunately without full success. Sharing this issue anyways to help others move this forward (or help me).
I've run these tests on a clean yunohost development Virtualbox (11.1.6.2).
So, the ci-auto-update version (without the blurhash patch [#361] crashes out with the exact same error mentioned there. After reapplying the patch (ci-auto-update is behind on #361 and #362) , it still fails:
It appears applying the patch wasn't succesful, Even after I tried to recreate it from the original mastodon/mastodon sources it still fails with one Hunk, but I can't figure out where it's going wrong:
I'm probably just no good in creating the appropriate diff (or to solve the Gem-issue anyway), so any assistance would be appreciated.
Steps to reproduce
Try to install the mastodon_ynh 4.1.0 version, e.g. from the auto-update tree or from my fork at panomaki/mastodon_ynh.
Expected behavior
Succesful install ;-).
Logs
https://paste.yunohost.org/raw/yudihurihi