What app is this about, and its version: Mastodon 4.3.6~ynh1 What YunoHost version are you running: 12.1.35 What type of hardware are you using: Old laptop or computer
Describe your issue
Mastodon update (yunohost app upgrade mastodon) fails.
I get these errors (end of the log):
2025-11-11 09:01:35,098: WARNING - rbenv: version `3.4.5’ not installed
2025-11-11 09:01:35,601: ERROR - provision_or_update failed for ruby : An error occured inside the script snippet
I’m pasting the end of the log, because I’m a new forum user and can’t paste anything with a link and the earlier error log has links.
Share relevant logs or error messages
2025-11-11 09:01:34,981: INFO - Building Ruby 3.4.5, this may take some time…
2025-11-11 09:01:34,989: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_ruby” 7>&1’]’
2025-11-11 09:01:34,992: DEBUG - + source /usr/share/yunohost/helpers
2025-11-11 09:01:34,992: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2025-11-11 09:01:34,993: DEBUG - +++ cd – /usr/share/yunohost
2025-11-11 09:01:34,993: DEBUG - +++ pwd
2025-11-11 09:01:34,993: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-11 09:01:34,993: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-11 09:01:34,995: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2025-11-11 09:01:34,995: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2025-11-11 09:01:35,083: DEBUG - /var/www/mastodon /var/cache/yunohost/app_tmp_work_dirs/app_b2790wv4
2025-11-11 09:01:35,098: WARNING - rbenv: version `3.4.5’ not installed
2025-11-11 09:01:35,601: ERROR - provision_or_update failed for ruby : An error occured inside the script snippet
What versions do you mean? Yunohost is up to date and I’m using the Mastodon ynh app. Could you point me to some extra instructions I’m should follow, in addition to just “yunohost app upgrade mastodon”?
sudo yunohost app shell mastodon
rbenv install --list
bash: rbenv: command not found
However I found out from the restore log that /opt/rbenv/bin/rbenv exists, and from that I get a list:
3.2.9
3.3.10
3.4.7
jruby-10.0.2.0
mruby-3.4.0
picoruby-3.0.0
truffleruby-25.0.0
truffleruby+graalvm-25.0.0
However - thanks again for your interest in helping me, but I gave up on Mastodon and moved my one man instance over to gotosocial. This thread can be closed for my part.