Here is a transcript of my installation and restore. As of now I am not able to login to the Admin UI using the username and password configured.
PDF Transcript
Start with Fresh Ubuntu 22.04 Linode
export STORAGE_ROOT=/mail-in-a-box
curl -s https://mailinabox.email/setup.sh | sudo -E bash
Then the restore:
I am not sure if the following is the problem, but I realize not that it is the wrong path:
sudo rm -rf /home/user-data/ssl/*
Should have been:
sudo rm -rf /mail-in-a-box/ssl/*
root@localhost:/home/user-data/temp# export PASSPHRASE=$(cat /home/user-data/temp/secret_key.txt)
root@localhost:/home/user-data/temp# sudo -E duplicity restore --force file:///home/user-data/temp/encrypted /mail-in-a-box
Now I get this:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Tue Apr 4 03:04:09 2023
Error '[Errno 17] File exists: b'rtest/roundcube.sieve' -> b'/mail-in-a-box/mail/sieve/saviorlabs.net/rtest.sieve'' processing mail/sieve/saviorlabs.net/rtest.sieve
Error '[Errno 17] File exists: b'supportfbs/Test.sieve' -> b'/mail-in-a-box/mail/sieve/saviorlabs.net/supportfbs.sieve'' processing mail/sieve/saviorlabs.net/supportfbs.sieve
The web admin portal does not display.