From eeb9b2afde4cf01e05fc178a899d039378bad129 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 5 Jan 2024 08:18:54 +0100 Subject: [PATCH] don't remove admin_pass --- doc/POST_UPGRADE.md | 3 +++ doc/POST_UPGRADE_fr.md | 3 +++ scripts/upgrade | 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 doc/POST_UPGRADE.md create mode 100644 doc/POST_UPGRADE_fr.md diff --git a/doc/POST_UPGRADE.md b/doc/POST_UPGRADE.md new file mode 100644 index 0000000..1f1bf2a --- /dev/null +++ b/doc/POST_UPGRADE.md @@ -0,0 +1,3 @@ +- __APP__ can now be accessed at [https://__DOMAIN____PATH__](https://__DOMAIN____PATH__) +- The admin username is: root +- The admin password is: __ADMIN_PASS__ diff --git a/doc/POST_UPGRADE_fr.md b/doc/POST_UPGRADE_fr.md new file mode 100644 index 0000000..21ba152 --- /dev/null +++ b/doc/POST_UPGRADE_fr.md @@ -0,0 +1,3 @@ +- __APP__ est désormais accessible sur [https://__DOMAIN____PATH__](https://__DOMAIN____PATH__) +- Le nom d'utilisateur administrateur est : root +- Le mot de passe administrateur est : __ADMIN_PASS__ diff --git a/scripts/upgrade b/scripts/upgrade index fe1e409..30e1230 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,9 +21,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." -ynh_app_setting_delete --app=$app --key=admin_pass -ynh_app_setting_delete --app=$app --key=admin_mail - # If redis_db doesn't exist, create it if [ -z "${redis_db:-}" ]; then redis_db=$(ynh_redis_get_free_db)