1

Topic: Problem upgrade iRedAPD 1.7.0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: FreeBSD 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

I update my iRedAPD 1.4.4 to version 1.7.0 and gave an error at the end of the upgrade.

install  -m 0644 /usr/ports/databases/py-sqlalchemy/work/SQLAlchemy-0.7.10/doc/*.html /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/doc/py27-sqlalchemy
install  -m 0644 /usr/ports/databases/py-sqlalchemy/work/SQLAlchemy-0.7.10/doc/*.js /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/doc/py27-sqlalchemy
/bin/mkdir -p /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/doc/py27-sqlalchemy/core
/bin/mkdir -p /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/doc/py27-sqlalchemy/dialects
/bin/mkdir -p /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/doc/py27-sqlalchemy/orm
cd /usr/ports/databases/py-sqlalchemy/work/SQLAlchemy-0.7.10/examples/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /usr/ports/databases/py-sqlalchemy/work/stage/usr/local/share/examples/py27-sqlalchemy
====> Compressing man pages (compress-man)
===>  Installing for py27-sqlalchemy-0.7.10_2
===>  Checking if py27-sqlalchemy already installed
===>   Registering installation for py27-sqlalchemy-0.7.10_2
Installing py27-sqlalchemy-0.7.10_2...
===>  Cleaning for py27-sqlite3-2.7.10_7
===>  Cleaning for py27-sqlalchemy-0.7.10_2
* Create directory /opt/databases.
* Copying new version to /opt/databases
* Removing old symbol link /opt/iredapd
* Creating symbol link /opt/iredapd to /opt/databases
* Copy new SysV init script.
cp: /opt/iredapd/rc_scripts/iredapd.freebsd: No such file or directory
* Add missing parameters or rename old parameter names.
* Remove deprecated plugins.
* Create directory to store log files: /var/log/iredapd.
* Restarting iRedAPD service.
Stopping iredapd ...
Starting iredapd ...
/usr/local/bin/python2: can't open file '/opt/iredapd/iredapd.py': [Errno 2] No such file or directory
* Upgrade completed.
<<< NOTE >>> If iRedAPD doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/
<<< NOTE >>> iRedAPD log file is /var/log/iredapd.log.

# /usr/local/etc/rc.d/iredapd start
Starting iredapd ...
/usr/local/bin/python2: can't open file '/opt/iredapd/iredapd.py': [Errno 2] No such file or directory

I followed this article: http://iredmail.org/docs/upgrade.iredapd.html

----

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

2

Re: Problem upgrade iRedAPD 1.7.0

Resolved. I again ran the upgrade script and it looks like it worked.