1

Topic: iredadmin upgrade 1.1 -> 1.2

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with downloadable installer
- Linux Ubuntu 18.04 LTS
- Store mail accounts MySQL
- Web server Nginx
- Manage mail accounts with iRedAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Trying to upgrade aireadmin from 1.1 to 1.2
Logs go smooth:

root@mail:~/iRedAdmin-1.2/tools# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: UBUNTU
* HTTP server root: /opt/www
* Found iRedAdmin directory: /opt/www/iredadmin, symbol link of iRedAdmin-1.1
* Found iRedAdmin config file: /opt/www/iredadmin/settings.py
* Copying new version to /opt/www/iRedAdmin-1.2
* Copy /opt/www/iredadmin/settings.py.
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
* Removing old symbol link /opt/www/iredadmin
* Creating symbol link /opt/www/iredadmin to /opt/www/iRedAdmin-1.2
* 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.1).
uwsgi-plugin-python3 is already the newest version (2.0.15-10.2ubuntu2.1).
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 iredadmin service.
* Enable service: iredadmin
Created symlink /etc/systemd/system/multi-user.target.wants/iredadmin.service -> /lib/systemd/system/iredadmin.service.
* Upgrading completed.

When i re-login again, it says it's still 1.1 and 1.2 available:

Post's attachments

Screenshot 2020-11-02 114331.png
Screenshot 2020-11-02 114331.png 62.47 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: iredadmin upgrade 1.1 -> 1.2

I am experiencing the same problem. I am on a freshly installed iReMail 1.3.2 on CentOS 7 and have run upgrade_iredadmin.sh as described in the docs.

3

Re: iredadmin upgrade 1.1 -> 1.2

same here, i also tried to reboot the machine, but still showing v 1.1

4

Re: iredadmin upgrade 1.1 -> 1.2

bzero wrote:

same here, i also tried to reboot the machine, but still showing v 1.1

same situation  updated few days ago from 1.3.1 to 1.3.2 (and iredadmin from 1.0. to 1.1)       and today upgraded iredamin from 1.1 to 1.2 but i have the warning  still active on homepage

5

Re: iredadmin upgrade 1.1 -> 1.2

Same thing here.  Stuck on 1.1 in the Admin console.

6

Re: iredadmin upgrade 1.1 -> 1.2

It's a packaging issue, i forgot to update version number in /opt/www/iredadmin/libs/__init__.py before tagging the release.

It's been fixed and re-tagged 1.2. You can either modify the "libs/__init__.py" file manually, or re-download and upgrade.

Sorry about this.

7

Re: iredadmin upgrade 1.1 -> 1.2

Only modifying __init__.py doesn't fix the issue. Probably need to restart iredadmin service. But i re-downloaded the package, and now it's showing 1.2

Thanks.

8

Re: iredadmin upgrade 1.1 -> 1.2

Yes restarting "iredadmin" service is required. Sorry i forgot to mention this.