1

Topic: Upgrade to 0.9.8 MYSQL edition

==== Required information ====
- iRedMail version 0.9.7 MYSQL edition:
- Linux/BSD distribution name and version: CentOS release 6.9 (Final)
- Store mail accounts in which backend (MySQL):
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,
i'm tring to upgrade from 0.9.7 to .0.8 but if send command :
cd /root/iRedMail-0.9.8/tools/
bash iRedMail.sh

i haver this error:

********* ERROR *********
Release version of the operating system on this server is unsupported by
iRedMail, please access below link to get the latest iRedMail and a list
of supported Linux/BSD distributions and release versions.

http://www.iredmail.org/download.html

*************************

----

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

2 (edited by RikuS 2018-04-18 16:17:09)

Re: Upgrade to 0.9.8 MYSQL edition

Based on this https://forum.iredmail.org/topic14077.html CentOs < 7 is not supported anymore.

EDIT: My bad, updating is totally fine for CentOS 6.

3

Re: Upgrade to 0.9.8 MYSQL edition

Upgrading iRedMail on CentOS 6 is ok, please follow our tutorials below:
https://docs.iredmail.org/iredmail.releases.html

You do __NOT__ need to download new iRedMail installer for upgrade, please read above link.

4 (edited by rlzele58 2018-04-18 21:11:44)

Re: Upgrade to 0.9.8 MYSQL edition

Hello,
the upgrade is completed , but now when try to modify a user receive this error :

File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
     return self.handle()
   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
     return handle_class(cls)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
     return tocall(*args)
   File "/var/www/iredadmin/controllers/sql/user.py", line 322, in GET
     _qr = mlmmj.get_subscribed_lists(mail=mail, query_all_lists=False)
   File "/var/www/iredadmin/libs/mlmmj/__init__.py", line 328, in get_subscribed_lists
     qr = r.json()
   File "/usr/lib/python2.6/site-packages/requests/models.py", line 802, in json
     return json.loads(self.text, **kwargs)
   File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
     return _default_decoder.decode(s)
   File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
     raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Service  mlmmjadmin is correctly  up.
lsof -i :7790
COMMAND  PID  USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
uwsgi   6050 mlmmj    6u  IPv4 57445071      0t0  TCP localhost:7790 (LISTEN)
uwsgi   6051 mlmmj    6u  IPv4 57445071      0t0  TCP localhost:7790 (LISTEN)
uwsgi   6052 mlmmj    6u  IPv4 57445071      0t0  TCP localhost:7790 (LISTEN)
uwsgi   6053 mlmmj    6u  IPv4 57445071      0t0  TCP localhost:7790 (LISTEN)
uwsgi   6054 mlmmj    6u  IPv4 57445071      0t0  TCP localhost:7790 (LISTEN)

5

Re: Upgrade to 0.9.8 MYSQL edition

Which version of mlmmjadmin are you running? Please show us output of command: "ls -dl /opt/mlmmjadmin*".

With Python-2.6, you need mlmmjadmin-1.2.