Topic: Problems updating to 4.2
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer?downloadable installer
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes 4.1.2
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Problems updating IredAdmin pro from 4.1.2 to 4.2 I execute bash upgrade_iredadmin.sh but some errors appear. Iredadmin pro stop working until reinstall 4.1.2
[root@mail001 tools]# bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: RHEL
* HTTP server root: /opt/www
* Found iRedAdmin directory: /opt/www/iredadmin, symbol link of root
* Found iRedAdmin config file: /opt/www/iredadmin/settings.py
* Copying new version to /opt/www/root
cp: cannot stat '2/*': No such file or directory
* Copy /opt/www/iredadmin/settings.py.
cp: '/opt/www/iredadmin/settings.py' and '/opt/www/root/settings.py' are the same file
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
cp: cannot stat '/opt/www/root/rc_scripts/systemd/rhel.service': No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't open /lib/systemd/system/iredadmin.service: No such file or directory.
chmod: cannot access '/lib/systemd/system/iredadmin.service': No such file or directory
* Removing old symbol link /opt/www/iredadmin
* Creating symbol link /opt/www/iredadmin to /opt/www/root
upgrade_iredadmin.sh: línea 544: cd: /opt/www/root/tools/: No existe el fichero o el directorio
python: can't open file 'delete_sessions.py': [Errno 2] No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
* Enable mlmmj integration.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
* Restarting service: mlmmjadmin.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "es_CO.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
* Check and install dependent Python modules:
+ [required] json or simplejson
+ [required] dnspython
+ [required] pycurl
+ [required] requests
* Check SQL tables, and add missed ones - if there's any
* Clean up.
* iRedAdmin has been successfully upgraded.
* Restarting uwsgi service.
Redirecting to /bin/systemctl stop uwsgi.service
Redirecting to /bin/systemctl start uwsgi.service
* Enable service: iredadmin
Failed to execute operation: No such file or directory
Failed to restart iredadmin.service: Unit not found.
Failed, please restart service manually and check its log file.
* 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.