diff --git a/scripts/install b/scripts/install index 6d9c470..f8455f6 100755 --- a/scripts/install +++ b/scripts/install @@ -164,19 +164,21 @@ You will have to: Once done, you will be able to log into Noalyss with your credentials: ------------------------------------------- -${app^}\'s domain: https://$domain$path_url -${app^}\'s admin user: $admin -${app^}\'s admin password: $password +${app^}'s domain: https://$domain$path_url +${app^}'s admin user: $admin +${app^}'s admin password: $password ------------------------------------------- Link to Noalyss' user documentation: https://www.noalyss.eu/?page_id=1031 + Please find also for reference the credential for the dedicated PostgreSQL database user: ------------------------------------------- Database's dedicated user: $app Database's password: $db_pwd ------------------------------------------- + If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/noalysse_ynh/issues -... Or post a message in the forum: https://forum.yunohost.org/t/noalyss-beligum-and-french-accounting/7356" +Or post a message in the forum: https://forum.yunohost.org/t/noalyss-beligum-and-french-accounting/7356" ynh_send_readme_to_admin "$message" diff --git a/scripts/restore b/scripts/restore index 795eda2..863e34b 100755 --- a/scripts/restore +++ b/scripts/restore @@ -91,8 +91,8 @@ ynh_psql_restore_all_app_dbs_dumps --db_user=$db_user --db_user_pwd=db_user_pwd if [ -n "$db_user" ]; then sql="ALTER USER $db_user CREATEDB" ynh_psql_execute_as_root --sql="$sql" - psql -c "ALTER USER noalyss WITH PASSWORD $db_user_pwd" #Workaround to restore the backed up password, since as of 23 January 2023, there seems to be a bug in ynh_psql_setup_db() helper (YNH Core) forcing password reset. - + sql= "ALTER USER noalyss WITH PASSWORD $db_user_pwd" #Workaround to restore the backed up password, since as of 23 January 2023, there seems to be a bug in ynh_psql_setup_db() helper (YNH Core) forcing password reset. + ynh_psql_execute_as_root --sql="$sql" fi #=================================================