1

Topic: Version number not updating

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi - I have upgraded to iRedAdmin 1.6 as below, but when I log into iRedAdmin dashboard it says
iRedMail     1.6
iRedAdmin     1.3 (MySQL)

And has green bar across the top telling me to upgrade.

thank you for advice
root:/root/iRedAdmin-1.6/tools# sudo bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: UBUNTU
* HTTP server root: /usr/share/apache2
* Found iRedAdmin directory: /usr/share/apache2/iredadmin, symbol link of iRedAd
min-1.6
* Found iRedAdmin config file: /usr/share/apache2/iredadmin/settings.py
* Copying new version to /usr/share/apache2/iRedAdmin-1.6
* Copy /usr/share/apache2/iredadmin/settings.py.
cp: '/usr/share/apache2/iredadmin/settings.py' and '/usr/share/apache2/iRedAdmin
-1.6/settings.py' are the same file
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
* Removing old symbol link /usr/share/apache2/iredadmin
* Creating symbol link /usr/share/apache2/iredadmin to /usr/share/apache2/iRedAd
min-1.6
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
* Check and install required packages.
Install package(s): uwsgi-core uwsgi-plugin-python3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
uwsgi-core is already the newest version (2.0.15-10.2ubuntu2.2).
uwsgi-plugin-python3 is already the newest version (2.0.15-10.2ubuntu2.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
* Check SQL tables, and add missed ones - if there's any
* Replace py2 by py3 in cron jobs.
* Clean up.
* Delete all existing sessions to force all admins to re-login.
* iRedAdmin has been successfully upgraded.
* Restarting apache2 service.
* Enable service: iredadmin
Created symlink /etc/systemd/system/multi-user.target.wants/iredadmin.service ->
/lib/systemd/system/iredadmin.service.
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/

----

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

2

Re: Version number not updating

Also now I notice that my domain is not listed under Domains and Accounts, BUT it is there if I click on an admin name. Strange.

3

Re: Version number not updating

The version number "1.6" is iRedAdmin (the web admin panel), but you must upgrade iRedMail too, it's version number is stored in /etc/iredmail-release, and you must follow our tutorials to upgrade it:
https://docs.iredmail.org/iredmail.releases.html

4

Re: Version number not updating

ZhangHuangbin wrote:

The version number "1.6" is iRedAdmin (the web admin panel), but you must upgrade iRedMail too, it's version number is stored in /etc/iredmail-release, and you must follow our tutorials to upgrade it:
https://docs.iredmail.org/iredmail.releases.html

iRedMail is fine, it is 1.6.

But iRedAdmin is the one that is 1.3 even though I have updated it.
iRedAdmin     1.3 (MySQL)

Where does iRedAdmin store it's version?

5

Re: Version number not updating

djfake wrote:

Where does iRedAdmin store it's version?

Just upgrade iRedAdmin by following this tutorial, then it's done:
https://docs.iredmail.org/migrate.or.up … admin.html

6

Re: Version number not updating

ZhangHuangbin wrote:
djfake wrote:

Where does iRedAdmin store it's version?

Just upgrade iRedAdmin by following this tutorial, then it's done:
https://docs.iredmail.org/migrate.or.up … admin.html


I upgraded as below, but it does not update in iredadmin page:
iRedMail    1.6
iRedAdmin    1.3 (MySQL)



:/root/iRedAdmin-1.6/tools# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: UBUNTU
* HTTP server root: /usr/share/apache2
* Found iRedAdmin directory: /usr/share/apache2/iredadmin, symbol link of iRedAdmin-1.6
* Found iRedAdmin config file: /usr/share/apache2/iredadmin/settings.py
* Copying new version to /usr/share/apache2/iRedAdmin-1.6
* Copy /usr/share/apache2/iredadmin/settings.py.
cp: '/usr/share/apache2/iredadmin/settings.py' and '/usr/share/apache2/iRedAdmin-1.6/settings.py' are the same file
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
* Removing old symbol link /usr/share/apache2/iredadmin
* Creating symbol link /usr/share/apache2/iredadmin to /usr/share/apache2/iRedAdmin-1.6
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
* Check and install required packages.
Install package(s): uwsgi-core uwsgi-plugin-python3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
uwsgi-core is already the newest version (2.0.15-10.2ubuntu2.2).
uwsgi-plugin-python3 is already the newest version (2.0.15-10.2ubuntu2.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
* Check SQL tables, and add missed ones - if there's any
* Replace py2 by py3 in cron jobs.
* Clean up.
* Delete all existing sessions to force all admins to re-login.
* iRedAdmin has been successfully upgraded.
* Restarting apache2 service.
* Enable service: iredadmin
Created symlink /etc/systemd/system/multi-user.target.wants/iredadmin.service -> /lib/systemd/system/iredadmin.service.
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/

7

Re: Version number not updating

djfake wrote:

iRedMail    1.6
iRedAdmin    1.3 (MySQL)

The latest iRedMail release is 1.5.1, not 1.6. There's something wrong in your /etc/iredmail-release file.

Please try to restart "iredadmin" service too.

8

Re: Version number not updating

ZhangHuangbin wrote:
djfake wrote:

iRedMail    1.6
iRedAdmin    1.3 (MySQL)

The latest iRedMail release is 1.5.1, not 1.6. There's something wrong in your /etc/iredmail-release file.

Please try to restart "iredadmin" service too.

Changed and restarted. Still shows 1.3 for iredadmin

9

Re: Version number not updating

Which path is configured as iredadmin program in Nginx?

10

Re: Version number not updating

Using Apache.

* HTTP server root: /usr/share/apache2

How can I change this permanently to /opt/www

thank you

11

Re: Version number not updating

No need to change the directory, just stick to current directory structure with Apache.