(1) Redownloaded iRedMail-0.9.4 (no 0.9.5 with that name) and installed is as follows:
[root@mlp /]# cd /root/iRedMail-0.9.4/
[root@mlp iRedMail-0.9.4]# bash iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail-0.9.4/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-0.9.4/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-0.9.4/runtime/install.status.
< SKIP > Function: install_all.
********************************************************************
* Start iRedMail Configurations
********************************************************************
< SKIP > Function: generate_ssl_keys.
< SKIP > Function: add_required_users.
< SKIP > Function: web_server_config.
[ INFO ] Configure MySQL database server.
< SKIP > Function: mysql_initialize.
< SKIP > Function: mysql_import_vmail_users.
< SKIP > Function: mysql_cron_backup.
< SKIP > Function: postfix_config.
< SKIP > Function: enable_dovecot.
< SKIP > Function: clamav_config.
< SKIP > Function: amavisd_config_rhel.
< SKIP > Function: amavisd_config_general.
< SKIP > Function: amavisd_import_sql.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
< SKIP > Function: sa_config.
< SKIP > Function: iredapd_setup.
< SKIP > Function: iredadmin_config.
< SKIP > Function: fail2ban_config.
< SKIP > Function: rcm_install.
< SKIP > Function: rcm_import_sql.
< SKIP > Function: rcm_config.
< SKIP > Function: rcm_plugin_managesieve.
< SKIP > Function: rcm_plugin_password.
< SKIP > Function: sogo_config.
< SKIP > Function: cleanup.
[root@mlp iRedMail-0.9.4]# cd ..
(2)
updated release
[root@mlp /]# cat /etc/iredmail-release
0.9.5
(3) some commands are not found
[root@mlp ~]# tar xjf iRedAPD-1.9.0.tar.bz2
[root@mlp ~]# cd iRedAPD-1.9.0/tools/
[root@mlp tools]# bash upgrade_iredapd.sh
* Detected Linux/BSD distribution: RHEL
* Found iRedAPD directory: /opt/iredapd, symbol link of /opt/iRedAPD-1.8.0
* Found iRedAPD config file: /opt/iredapd/settings.py
upgrade_iredapd.sh: line 322: mysql: command not found
upgrade_iredapd.sh: line 335: mysql: command not found
upgrade_iredapd.sh: line 354: mysql: command not found
* Checking dependent Python modules:
+ [required] python-sqlalchemy
+ [required] dnspython
* Create directory /opt/iRedAPD-1.9.0.
* Copying new version to /opt/iRedAPD-1.9.0
* Copy old config file: settings.py: /opt/iredapd/settings.py -> /opt/iRedAPD-1.9.0/settings.py
* Set correct owner and permission for /opt/iRedAPD-1.9.0: root:root, 0500.
* Set permission for iRedAPD config file: /opt/iRedAPD-1.9.0/settings.py -> 0400.
* Re-create symbol link: /opt/iredapd -> /opt/iRedAPD-1.9.0
* Copy new SysV init script.
* Remove deprecated plugins.
chown: invalid user: `iredapd:iredapd'
* Remove all *.pyc files.
* Restarting iRedAPD service.
iredapd is already stopped.
Starting iredapd ...
* Upgrade completed.
Traceback (most recent call last):
File "/opt/iredapd/iredapd.py", line 277, in <module>
main()
File "/opt/iredapd/iredapd.py", line 248, in main
p = pwd.getpwnam(settings.run_as_user)
< NOTE > If iRedAPD doesn't work as expected, please post your issue in our
< NOTE > online support forum: http://www.iredmail.org/forum/
< NOTE >
< NOTE > * Turn on debug mode: http://www.iredmail.org/docs/debug.iredapd.html
< NOTE > * iRedAPD log file is /var/log/iredapd/iredapd.log.
KeyError: 'getpwnam(): name not found: iredapd'
[root@mlp tools]#
(4) iRedAdmin upgrade
[root@mlp ~]# tar xjf iRedAdmin-0.6.tar.bz2
[root@mlp ~]# cd iRedAdmin-0.6/tools/
[root@mlp tools]# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: RHEL
* HTTP server root: /var/www
* Found iRedAdmin directory: /var/www/iredadmin, symbol link of /var/www/iRedAdmin-0.5
* Found iRedAdmin config file: /var/www/iredadmin/settings.py
* Copying new version to /var/www/iRedAdmin-0.6
chown: invalid user: `iredadmin:iredadmin'
* Removing old symbol link /var/www/iredadmin
* Creating symbol link /var/www/iredadmin to /var/www/iRedAdmin-0.6
Traceback (most recent call last):
File "delete_sessions.py", line 19, in <module>
conn = ira_tool_lib.get_db_conn('iredadmin')
File "/var/www/iRedAdmin-0.6/tools/../tools/ira_tool_lib.py", line 66, in get_db_conn
print_error(e)
File "/var/www/iRedAdmin-0.6/tools/../tools/ira_tool_lib.py", line 41, in print_error
print '< ERROR > ' + msg
TypeError: cannot concatenate 'str' and 'exceptions.ImportError' objects
* Check and install dependent Python modules:
+ [required] json or simplejson
+ [optional] BeautifulSoup
+ [optional] lxml
* iRedAdmin was successfully upgraded, restarting web service is required.
* Restart service (uwsgi) to use new iRedAdmin release now? [Y|n]
(5) LDAP
cd /etc/postfix/ldap/
-bash: cd: /etc/postfix/ldap/: No such file or directory
Will continue going through the rest of the update, however I'm writing to you as I see errors here and there