mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
Fix w orkaround for ynh_psql_setup_db() forced password reset in YNH Core (bug?) and improved email sent to admin at install
This commit is contained in:
parent
bf54dc39cb
commit
8799f28c4a
2 changed files with 8 additions and 6 deletions
|
@ -164,19 +164,21 @@ You will have to:
|
||||||
|
|
||||||
Once done, you will be able to log into Noalyss with your credentials:
|
Once done, you will be able to log into Noalyss with your credentials:
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
${app^}\'s domain: https://$domain$path_url
|
${app^}'s domain: https://$domain$path_url
|
||||||
${app^}\'s admin user: $admin
|
${app^}'s admin user: $admin
|
||||||
${app^}\'s admin password: $password
|
${app^}'s admin password: $password
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
Link to Noalyss' user documentation: https://www.noalyss.eu/?page_id=1031
|
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:
|
Please find also for reference the credential for the dedicated PostgreSQL database user:
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
Database's dedicated user: $app
|
Database's dedicated user: $app
|
||||||
Database's password: $db_pwd
|
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
|
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"
|
ynh_send_readme_to_admin "$message"
|
||||||
|
|
||||||
|
|
|
@ -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
|
if [ -n "$db_user" ]; then
|
||||||
sql="ALTER USER $db_user CREATEDB"
|
sql="ALTER USER $db_user CREATEDB"
|
||||||
ynh_psql_execute_as_root --sql="$sql"
|
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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue