1

Topic: troubles upgrading from open soure to pro

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
0.9.2
- Linux/BSD distribution name and version:
Ubuntu 14.04.3 server
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
LDAP
- Web server (Apache or Nginx):
Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Trying to upgrade to the iRedAdmin-Pro the install seems to go throught at least from the output the console shows:

bash upgrade_iredadmin.sh
* Detecting Linux/BSD distribution: UBUNTU
* Found iRedAdmin directory: /usr/share/apache2/iredadmin, symbol link of iRedAdmin-Pro-LDAP-2.1.2
* Found iRedAdmin config file: /usr/share/apache2/iredadmin/settings.py
* Copying new version to /usr/share/apache2
cp: ‘/usr/share/apache2/iredadmin/settings.py’ and ‘/usr/share/apache2/iRedAdmin-Pro-LDAP-2.1.2/settings.py’ are the same file
* Removing old symbol link /usr/share/apache2/iredadmin
* Creating symbol link /usr/share/apache2/iredadmin  to /usr/share/apache2/iRedAdmin-Pro-LDAP-2.1.2
* iRedAdmin-Pro was successfully upgraded, restarting Apache service is required.
* Restart Apache service now? [Y|n] Y
* Restarting web server apache2                                                 [ OK ]
<<< 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.

However when I naviagte to https/my.domain.com/iredadmin  I still end up with the open source panel.

----

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

2

Re: troubles upgrading from open soure to pro

Could you please show us output of commands below:

ls -l /usr/share/apache2/ | grep -i 'iredadmin'

By the way, the latest iRedAdmin-Pro-LDAP release is 2.5.0.

3

Re: troubles upgrading from open soure to pro

ls -l /usr/share/apache2/ |grep -i 'iredadmin'
lrwxrwxrwx  1 root      root         24 Mar  1 08:02 iredadmin -> iRedAdmin-Pro-LDAP-2.1.2
dr-xr-xr-x  9 iredadmin iredadmin  4096 Mar  1 07:50 iRedAdmin-Pro-LDAP-2.1.2
-rw-r--r--  1 root      root        384 Mar  1 08:02 iredadmin.py


also could you provide instructions on how to obtain the newest release of iRedAdmin-Pro-LDAP?

4

Re: troubles upgrading from open soure to pro

*) Why there's a "iredadmin.py" under /usr/share/apache2/? Please show us output of command "ls -l /usr/share/apache2/".

*) Please send an email "support @ iredmail.org" to request a download link. (i cannot find a license which is owned by the email address you used to register forum account (medoraco.com)).

5 (edited by jon.hoffart 2016-03-02 22:24:47)

Re: troubles upgrading from open soure to pro

root@mail2:/usr/share/apache2# ls -l
total 132
-rw-r--r--  1 root      root      14014 Jan  7  2014 apache2-maintscript-helper
-rwxr-xr-x  1 root      root       1573 Jan  7  2014 ask-for-passphrase
-rw-r--r--  1 root      root         36 Mar  1 08:02 AUTHORS
drwxr-xr-x  2 root      root       4096 Aug  4  2015 build
-rw-r--r--  1 root      root      29435 Mar  1 08:02 ChangeLog.ldap
drwxr-xr-x  7 root      root       4096 Mar  1 07:51 controllers
drwxr-xr-x  2 root      root       4096 Aug  4  2015 default-site
drwxr-xr-x  3 root      root       4096 Mar  1 07:51 docs
drwxr-xr-x  3 root      root       4096 Aug  4  2015 error
-rw-r--r--  1 root      root        550 Mar  1 08:02 EULA
drwxr-xr-x 19 root      root       4096 Mar  1 07:51 i18n
drwxr-xr-x  3 root      root      20480 Aug  4  2015 icons
lrwxrwxrwx  1 root      root         24 Mar  1 08:02 iredadmin -> iRedAdmin-Pro-LDAP-2.1.2
dr-xr-xr-x  9 iredadmin iredadmin  4096 Mar  1 07:50 iRedAdmin-Pro-LDAP-2.1.2
-rw-r--r--  1 root      root        384 Mar  1 08:02 iredadmin.py
drwxr-xr-x  7 root      root       4096 Mar  1 07:51 libs
-rw-r--r--  1 root      root        416 Mar  1 08:02 README
drwxr-xr-x  4 root      root       4096 Mar  1 07:51 static
drwxr-xr-x  3 root      root       4096 Mar  1 07:51 templates
drwxr-xr-x  2 root      root       4096 Mar  1 07:51 tools

6

Re: troubles upgrading from open soure to pro

Those files are part of iRedAdmin, and they should be removed under /usr/share/apache2/. Correct files should be placed under /usr/share/apache2/iRedAdmin-Pro-LDAP-xxx.

-rw-r--r--  1 root      root         36 Mar  1 08:02 AUTHORS
-rw-r--r--  1 root      root      29435 Mar  1 08:02 ChangeLog.ldap
drwxr-xr-x  7 root      root       4096 Mar  1 07:51 controllers
drwxr-xr-x  3 root      root       4096 Mar  1 07:51 docs
-rw-r--r--  1 root      root        550 Mar  1 08:02 EULA
drwxr-xr-x 19 root      root       4096 Mar  1 07:51 i18n
drwxr-xr-x  7 root      root       4096 Mar  1 07:51 libs
-rw-r--r--  1 root      root        416 Mar  1 08:02 README
drwxr-xr-x  4 root      root       4096 Mar  1 07:51 static
drwxr-xr-x  3 root      root       4096 Mar  1 07:51 templates
drwxr-xr-x  2 root      root       4096 Mar  1 07:51 tools

jon.hoffart wrote:

the user name on the account should be  "85zedQHZLK3R"

Could you please MAIL me the email address of your PayPal account instead? i'm sorry about this trouble.

7

Re: troubles upgrading from open soure to pro

I have moved the files to the iRedAdmin-Pro-LDAP directory and restarted apache2. I still end up with the open source panel when I log into the web interface.

8

Re: troubles upgrading from open soure to pro

Is it possible to give me ssh access to fix this iRedAdmin-Pro issue? Please contact us: http://www.iredmail.org/contact.html

9

Re: troubles upgrading from open soure to pro

ZhangHuangbin wrote:

Is it possible to give me ssh access to fix this iRedAdmin-Pro issue? Please contact us: http://www.iredmail.org/contact.html

I would like to continue support through the forum if possible. If you could provide me with some troubleshooting steps it would be much appreciated.

10

Re: troubles upgrading from open soure to pro

I have no idea yet, that's why i ask for a direct ssh access, maybe i will find some useful log or error message to locate the problem.