Update old upgrade tutorial to mention script for Python 3.

This commit is contained in:
Zhang Huangbin 2021-06-10 11:58:01 +08:00
parent 46259bf945
commit acbbe12498
2 changed files with 12 additions and 0 deletions

View File

@ -373,6 +373,12 @@ CREATE TABLE IF NOT EXISTS forwardings (
Please download script used to migrate mail accounts, and run it directly:
!!! attention
If you're running Python 3, please download this file instead:
`https://github.com/iredmail/iRedMail/raw/master/tools/migrate_sql_alias_table.py`,
and run it with command `python3 migrate_sql_alias_table.py`.
```
cd /root/
wget https://github.com/iredmail/iRedMail/raw/1.0/tools/migrate_sql_alias_table.py

View File

@ -392,6 +392,12 @@ CREATE TABLE IF NOT EXISTS forwardings (
<h4 id="migrate-mail-accounts">Migrate mail accounts</h4>
<p>Please download script used to migrate mail accounts, and run it directly:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<p>If you're running Python 3, please download this file instead:
<code>https://github.com/iredmail/iRedMail/raw/master/tools/migrate_sql_alias_table.py</code>,
and run it with command <code>python3 migrate_sql_alias_table.py</code>.</p>
</div>
<pre><code>cd /root/
wget https://github.com/iredmail/iRedMail/raw/1.0/tools/migrate_sql_alias_table.py
python migrate_sql_alias_table.py