YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 42 forks source link

Cannot update to latest version - "Not a tty, can't do interactive prompts" #357

Closed csolisr closed 1 year ago

csolisr commented 1 year ago

Describe the bug

Attempting to install or update Synapse to the latest version fails.

Context

Steps to reproduce

Expected behavior

The application should be able to be installed or updated.

Logs

https://paste.yunohost.org/raw/inevagosub

csolisr commented 1 year ago

The TTY interactive prompt is caused by a command missing a new parameter, "-F FULLNAME", which substitutes the now deprecated "-f FIRSTNAME" and "-l LASTNAME". This can be corrected by substituting line 149 in the install script from

yunohost user create $synapse_user_app -f Synapse -l Application -d $domain -p "$synapse_user_app_pwd"

to

yunohost user create $synapse_user_app -F "Synapse Application" -d $domain -p "$synapse_user_app_pwd"

csolisr commented 1 year ago

Please refer to PR #359