diff --git a/src/backup.py b/src/backup.py index ee961a7bf..64e85f97b 100644 --- a/src/backup.py +++ b/src/backup.py @@ -940,7 +940,7 @@ class RestoreManager: # Use a dummy password which is not gonna be saved anywhere # because the next thing to happen should be that a full restore of the LDAP db will happen - tools_postinstall(domain, "admin", "Admin", password=random_ascii(70), ignore_dyndns=True, overwrite_root_password=False) + tools_postinstall(domain, "tmpadmin", "Tmp Admin", password=random_ascii(70), ignore_dyndns=True, overwrite_root_password=False) def clean(self): """ @@ -1188,7 +1188,8 @@ class RestoreManager: self._restore_apps() except Exception as e: raise YunohostError( - f"The following critical error happened during restoration: {e}" + f"The following critical error happened during restoration: {e}", + raw_msg=True ) finally: self.clean()