# restore backup ist not posible, because the system passwort should be incorrect

**URL:** <https://community.ciphermail.com/t/restore-backup-ist-not-posible-because-the-system-passwort-should-be-incorrect/718>\
**Category:** Gateway\
**Created:** [February 10, 2021, 9:33am UTC](https://community.ciphermail.com/t/restore-backup-ist-not-posible-because-the-system-passwort-should-be-incorrect/718 "2021-02-10T09:33:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias\_Dort](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Matthias\_Dort](https://community.ciphermail.com/u/Matthias_Dort)\
**Post date:** [February 10, 2021, 9:33am UTC](https://community.ciphermail.com/t/restore-backup-ist-not-posible-because-the-system-passwort-should-be-incorrect/718/1 "2021-02-10T09:33:01Z")

</div>

Hi friends,

iI have set up a new host for migration. Unfortunately it is not possible to import a backup from the old ciphermail with the restore function via the GUI. The error message is:

You must correct the following errors before you may continue.

```
System password is invalid

```

The system password used is the root password of the debian 10 system.

The old System: Version 4.8.0-0 Build 2020-05-19-13:37 / Debian 9  
The new System:Version 4.12.0-0 Build 2020-11-17-11:2 / Debian 10  
Thanks for Help!  
Matthias

[attachment.htm](https://community.ciphermail.com/uploads/short-url/fz0NECdfqyTmHJ2fmiiSOyZ2KkB.htm) (840 Bytes)

> **···**
>

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [February 10, 2021, 9:42am UTC](https://community.ciphermail.com/t/restore-backup-ist-not-posible-because-the-system-passwort-should-be-incorrect/718/2 "2021-02-10T09:42:35Z")

</div>

Hi Matthias,

Documentation is missing on that part. I'll look into it. The reason  
for this change is because of CVE-2020-12713 (for more info see

> **[CipherMail CVE-2020-12713 & CVE-2020-12714 - CipherMail Email Encryption](https://www.ciphermail.com/blog/ciphermail-cve-2020-12713_2020-12714.html)**
>
> Background info on CVE-2020-12713 & CVE-2020-12714

)

The backup/restore functionality now requires that the admin enters the  
system password. For the default config this should be the password for  
the sa user. If you installed it from the deb/rpm packages you probably  
do not have an sa user.

The check for the system user is done in the script system.sh. You can  
override the system user by adding the following file

/etc/default/cm-system-command

with the following content:

system\_user="root"

(or some other user)

Alternatively you can do backup/restore from the command line using the  
backup restore script (backup.sh)

Kind regards,

Martijn Brinkers

> **···**
>
> --  
> CipherMail email encryption  
> Email encryption with support for S/MIME,  
> OpenPGP, PDF Messenger and Webmail Messenger
> 
> On Wed, 2021-02-10 at 04:33 -0500, Matthias Dort via Users wrote:
> 
> > Hi friends,
> > 
> > iI have set up a new host for migration. Unfortunately it is not  
> > possible to import a backup from the old ciphermail with the restore  
> > function via the GUI. The error message is:
> > 
> > You must correct the following errors before you may continue.
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;System password is invalid
> > 
> > The system password used is the root password of the debian 10  
> > system.
> > 
> > The old System: Version 4.8.0-0 Build 2020-05-19-13:37 / Debian 9  
> > The new System:Version 4.12.0-0 Build 2020-11-17-11:2 / Debian 10  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Thanks for Help!  
> > Matthias

---

<div class="post-metadata">

**Author:** ![Matthias\_Dort](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Matthias\_Dort](https://community.ciphermail.com/u/Matthias_Dort)\
**Post date:** [February 10, 2021, 12:39pm UTC](https://community.ciphermail.com/t/restore-backup-ist-not-posible-because-the-system-passwort-should-be-incorrect/718/3 "2021-02-10T12:39:34Z")

</div>

With the backup-script on cli it works fine. Thank you!

[attachment.htm](https://community.ciphermail.com/uploads/short-url/zoC3VbNGXIeOooHHY5HX38Jxa5d.htm) (2.2 KB)

> **···**
>
> Am Mi. 10. Februar 2021 10:42 CET, Martijn Brinkers via Users \<users(a)lists.ciphermail.com\> schrieb:  
> Hi Matthias,
> 
> Documentation is missing on that part. I'll look into it. The reason  
> for this change is because of CVE-2020-12713 (for more info see
> 
> > **[CipherMail CVE-2020-12713 & CVE-2020-12714 - CipherMail Email Encryption](https://www.ciphermail.com/blog/ciphermail-cve-2020-12713_2020-12714.html)**
> >
> > Background info on CVE-2020-12713 & CVE-2020-12714
> 
> )
> 
> The backup/restore functionality now requires that the admin enters the  
> system password. For the default config this should be the password for  
> the sa user. If you installed it from the deb/rpm packages you probably  
> do not have an sa user.
> 
> The check for the system user is done in the script system.sh. You can  
> override the system user by adding the following file
> 
> /etc/default/cm-system-command
> 
> with the following content:
> 
> system\_user="root"
> 
> (or some other user)
> 
> Alternatively you can do backup/restore from the command line using the  
> backup restore script (backup.sh)
> 
> Kind regards,
> 
> Martijn Brinkers
> 
> --  
> CipherMail email encryption  
> Email encryption with support for S/MIME,  
> OpenPGP, PDF Messenger and Webmail Messenger
> 
> On Wed, 2021-02-10 at 04:33 -0500, Matthias Dort via Users wrote:
> 
> > Hi friends,
> > 
> > iI have set up a new host for migration. Unfortunately it is not  
> > possible to import a backup from the old ciphermail with the restore  
> > function via the GUI. The error message is:
> > 
> > You must correct the following errors before you may continue.
> > 
> > System password is invalid
> > 
> > The system password used is the root password of the debian 10  
> > system.
> > 
> > The old System: Version 4.8.0-0 Build 2020-05-19-13:37 / Debian 9  
> > The new System:Version 4.12.0-0 Build 2020-11-17-11:2 / Debian 10
> > 
> > Thanks for Help!  
> > Matthias
