Etherpad upgrade failed, recovery as well

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.1.6
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hello forum members,
I just wanted to ask for a help with upgrading the Etherpad app on our Yunohost installation. During the upgrade the script failed, and the recovery script run after it failed as well. I run the recovery again, and it failed with the same problem as You could see below:


2021-02-01 03:04:39,560: DEBUG - + /usr/bin/bsd-mailx -a 'Content-Type: text/plain; charset=UTF-8' -s '☁️🆈🅽🅷☁️: `etherpad_mypads` has just been upgraded!' '  '
2021-02-01 03:04:39,660: DEBUG - + ynh_exit_properly
2021-02-01 03:04:39,660: WARNING - send-mail: fatal: root(0): No recipient addresses found in message header
2021-02-01 03:04:39,660: DEBUG - + local exit_code=1
2021-02-01 03:04:39,661: WARNING - Can't send mail: sendmail process failed with error code 75
2021-02-01 03:04:39,661: DEBUG - + '[' 1 -eq 0 ']'
2021-02-01 03:04:39,661: DEBUG - + trap '' EXIT
2021-02-01 03:04:39,661: DEBUG - + set +o errexit
2021-02-01 03:04:39,661: DEBUG - + set +o nounset
2021-02-01 03:04:39,661: DEBUG - + sleep 0.5
2021-02-01 03:04:40,162: DEBUG - + type -t ynh_clean_setup
2021-02-01 03:04:40,162: WARNING - [Error] Upgrade failed.

....

2021-02-01 04:47:39,097: WARNING - send-mail: fatal: root(0): No recipient addresses found in message header
2021-02-01 04:47:39,097: WARNING - Can't send mail: sendmail process failed with error code 75
2021-02-01 04:47:39,648: ERROR - Could not restore etherpad_mypads
Traceback (most recent call last):
  File "/usr/lib/moulinette/yunohost/backup.py", line 1388, in _restore_app
    env=env_dict)[0]
  File "/usr/lib/moulinette/yunohost/hook.py", line 362, in hook_exec
    raise YunohostError('hook_exec_failed', path=path)
YunohostError: Could not run script: /tmp/restoreDwNfYi/restore

Detailed logs could be found here:

I managed to recover the Etherpad from pre-upgrade backup by commenting out the sendmail YHA command within the restore script:

#ynh_send_readme_to_admin --app_message="mail_to_send" --recipients="$admin" --type=restore

On the other hand, this is not a solution. As well as this does not solve the upgrade problem. Any ideas?

Related recent changes in repository - Upgrade to version 1.8.7 by ericgaspar · Pull Request #116 · YunoHost-Apps/etherpad_mypads_ynh · GitHub

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.