Installation of 2 community apps fails

You mean when you run yunohost app install ./rocketchat_ynh ?

When running this command, you should make sure that you’re in the appropriate folder, such that when you run ls you see a folder named rockechat_ynh

(Basically what we did here was to clone the app in a local folder, change the script, then now we want to install it from this local folder ;))