1

Topic: Migration deb6-deb7, iRedAdmin-Pro internal server error

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: deb 7
- Related log if you're reporting an issue: /var/log/apache2/error.log
====

bash upgrade_iredadmin.sh

* Detecting Linux/BSD distribution: DEBIAN
* Found iRedAdmin directory: /usr/share/apache2/iredadmin, symbol link of iRedAdmin-0.3.3/
* Found iRedAdmin config file: /usr/share/apache2/iredadmin/settings.py
* Copying new version to /usr/share/apache2
* Removing old symbol link /usr/share/apache2/iredadmin
* Creating symbol link /usr/share/apache2/iredadmin  to /usr/share/apache2/iRedAdmin-Pro-MySQL-1.8.2
* iRedAdmin-Pro was successfully upgraded, restarting Apache service is required.
* Restart Apache service now? [Y|n]
Restarting web server: apache2 ... waiting .
<<< NOTE >>> If upgraded iRedAdmin-Pro doesn't work as expected, please contact
<<< NOTE >>> developer to improve this upgrade tool or fix bug in iRedAdmin-Pro.

apache /var/log/apache2/error.log
OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")

https://srv.iredmail.domain/iredadmin
browser output;
internal server error

I'm migrating from deb6 server to a new fresh iredmail server deb7. I'm getting the above errors when I try to get iRedAdmin-Pro running.
What I'm I missing?

----

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

2

Re: Migration deb6-deb7, iRedAdmin-Pro internal server error

tyllee wrote:

OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")

It's clear in this error message: you have wrong SQL password for user "iredadmin" in iRedAdmin-Pro config file.

3

Re: Migration deb6-deb7, iRedAdmin-Pro internal server error

yes, but this worries me because this is a fresh install. Is there som thing more that I should check.

What else could be broken if this did not work?

Before  I take it in production?

4

Re: Migration deb6-deb7, iRedAdmin-Pro internal server error

Don't panic. Please double check iRedAdmin config file, make sure it has correct SQL credentials.