1

Topic: accidently deleted /var/www/iradadmin

I have a fully working iredmail installation. By whatever reason (dumbness i guess) I accidently deleted the folder /var/www/redadmin

Is there a way to restore or reinstall redadmin alone?

iredmail still works perfectly, I receive all my mail and can send it.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: accidently deleted /var/www/iradadmin

1. Find the iRedMail installation directory, e.g. /root/iRedMail-0.8.3/
2. Open file /root/iRedMail-0.8.3/.status
3. Remove below line:

export status_iredadmin_config="DONE"

4. Re-execute iRedMail.sh:

# bash iRedMail.sh

Answer Yes while it asks whether to use existing config file. Then it will install only iRedMail for you.

3

Re: accidently deleted /var/www/iradadmin

First of all, you can always install iRedAdmin manually by following its installation guides:
http://www.iredmail.org/doc.html

Second, if you still have iRedMail install directory you used to deploy iRedMail on this server:

1. Find the iRedMail installation directory, e.g. /root/iRedMail-0.8.3/
2. Open file /root/iRedMail-0.8.3/.status
3. Remove below line:

export status_iredadmin_config="DONE"

4. Re-execute iRedMail.sh:

# bash iRedMail.sh

Answer Yes while it asks whether to use existing config file. Then it will install only iRedAdmin (open source edition) for you.

4 (edited by Wolfgang 2013-03-23 22:13:59)

Re: accidently deleted /var/www/iradadmin

Sadly this didn't work. Installation of radmin was aborted:

< INFO > Configure iRedAdmin (official web-based admin panel).
ERROR 1007 (HY000) at line 2: Can't create database 'iredadmin'; database exists

5

Re: accidently deleted /var/www/iradadmin

Oh, sorry about my mistake. Then you have to install it manually.