1

Topic: tr: Illegal byte sequence

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 from Github
- Deployed with iRedMail Easy or the downloadable installer? Download from Github
- Linux/BSD distribution name and version: FreeBSD 12.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL 12
- Web server (Apache or Nginx): NGinx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Reporting error message from installer.

root@server:~/iRedMail-1.3.1 # bash iRedMail.sh | tee iRedMail.tee
[ INFO ] Checking new version of iRedMail ...
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: https://dl.iredmail.org/yum/misc/iRedAdmin-beta.tar.bz2
iRedAdmin-beta.tar.bz2                                1600 kB  267 kBps    06s
[ INFO ] + 2 of 3: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.4.tar.gz
mlmmjadmin-3.0.4.tar.gz                                 40 kB   71 kBps    01s
[ INFO ] + 3 of 3: https://dl.iredmail.org/yum/misc/iRedAPD-4.4.tar.gz
iRedAPD-4.4.tar.gz                                     100 kB  117 kBps    01s
[ INFO ] Validate downloaded source tarballs ... [ OK ]
[ INFO ] Checking configuration file: /root/iRedMail-1.3.1/config ...[ INFO ] NOT FOUND. Launching installation wizard.
tr: Illegal byte sequence

iRedMail:_Open_Source_Mail_Server_Solution
┌──────Welcome and thanks for your use────────────┐
│ Welcome to the iRedMail setup wizard, we will ask you some simple        │
│ questions required to setup a mail server. If you encounter any trouble  │
│ or issues, please report to our support forum:                           │
│ https://forum.iredmail.org/                                              │
│ NOTE: You can abort this installation wizard by pressing key Ctrl-C.     │
├────────────────────────────────┤
│                       < Yes >            < No  >                         │
└────────────────────────────────┘

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌──────────Default mail storage path───────────┐
 │ Please specify a directory (in lowercase) used to store user mailboxes.  │
 │ Default is: /var/vmail                                                   │
 │ NOTES:                                                                   │
 │ * Depends on the mail traffic, it may take large disk space.             │
 │ * Maildir path will be converted to lowercases, so please create this    │
 │   directory in lowcases.                                                 │
 │ * It cannot be /var/mail or /root.                                       │
 │ * Mailboxes will be stored under its sub-directory: /var/vmail/vmail1/   │
 │ * Daily backup of SQL/LDAP databases will be stored under another        │
 │ sub-directory: /var/vmail/backup.                                        │
 │ ┌─────────────────────┐ │
 │ │/var/vmail                                                            │ │
 │ └─────────────────────┘ │
 ├────────────────────────┤
 │                                 < Next >                                 │
 └──────────────────────┘

 iRedMail:_Open_Source_Mail_Server_Solution 
 ┌────────Preferred web server──────────┐
 │ Choose a web server you want to run.                                     │
 │ TIP: Use SPACE key to select item.                                       │
 │ ┌─────────────────────────┐ │
 │ │ (*) Nginx          The fastest web server                            │ │
 │ │ ( ) No web server  I don't need any web applications on this server  │ │
 │ └──────────────────────────────┘ │
 ├─────────────────────────────────┤
 │                                 < Next >                                 │
 └─────────────────────────────────┘

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌──Choose preferred backend used to store mail accounts─────┐
 │ It's strongly recommended to choose the one you're familiar with for     │
 │ easy maintenance. They all use the same webmail (Roundcube) and admin    │
 │ panel (iRedAdmin), and no big feature differences between them.          │
 │ TIP: Use SPACE key to select item.                                       │
 │ ┌─────────────────────────────────┐ │
 │ │    ( ) OpenLDAP    An_open_source_implementation_of_LDAP_protocol    │ │
 │ │    ( ) MariaDB     An_enhanced,_drop-in_replacement_for_MySQL        │ │
 │ │    (*) PostgreSQL  Powerful,_open_source_database_system             │ │
 │ └───────────────────────────────┘ │
 ├──────────────────────────────────┤
 │                                 < Next >                                 │
 └─────────────────────────────────┘
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌────Password for PostgreSQL administrator: postgres──────┐
 │ Please specify password for PostgreSQL administrator: postgres           │
 │ WARNING:                                                                 │
 │ * Do *NOT* use special characters in password right now. e.g. $, #, @,   │
 │ space.                                                                   │
 │ * EMPTY password is *NOT* permitted.                                     │
 │ * Sample password:                                                       │
 │ ┌────────────────────┐ │
 │ │****                                                                  │ │
 │ └────────────────────┘ │
 ├───────────────────────┤
 │                                 < Next >                                 │
 └──────────────────────┘

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌─────Your first mail domain name──────────┐
 │ Please specify your first mail domain name.                              │
 │ EXAMPLE:                                                                 │
 │ * example.com                                                            │
 │ WARNING:                                                                 │
 │ It can *NOT* be the same as server hostname: server.sites.local.         │
 │ We need Postfix to accept emails sent to system accounts (e.g. root), if │
 │ your mail domain is same as server hostname, Postfix won't accept any    │
 │ email sent to this mail domain.                                          │
 │ ┌─────────────────────┐ │
 │ │sites.local                                                           │ │
 │ └─────────────────────┘ │
 ├────────────────────────┤
 │                                 < Next >                                 │
 └───────────────────────┘

tr: Illegal byte sequence

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌─────Password for the mail domain administrator──────┐
 │ Please specify password for the mail domain administrator:               │
 │ * postmaster@sites.local                                                 │
 │ You can login to webmail and iRedAdmin with this account.                │
 │ WARNING:                                                                 │
 │ * Do *NOT* use special characters (like $, white space) in password.     │
 │ * EMPTY password is *NOT* permitted.                                     │
 │ * Sample password:                                                       │
 │ ┌────────────────────┐ │
 │ │****                                                                  │ │
 │ └────────────────────┘ │
 ├───────────────────────┤
 │                                 < Next >                                 │
 └──────────────────────┘

 iRedMail:_Open_Source_Mail_Server_Solution
 ┌────────────Optional components──────────┐
 │ * DKIM signing/verification and SPF validation are enabled by default.   │
 │ * DNS records for SPF and DKIM are required after installation.          │
 │ Refer to below file for more detail after installation:                  │
 │ * /root/iRedMail-1.3.1/iRedMail.tips                                     │
 │ ┌────────────────────────────┐ │
 │ │    [*] Roundcubemail  Fast_and_lightweight_webmail                   │ │
 │ │    [ ] SOGo           Webmail,_Calendar,_Address_book,_ActiveSync    │ │
 │ │    [*] iRedAdmin      Official_web-based_Admin_Panel                 │ │
 │ │    [*] Fail2ban       Ban_IP_with_too_many_password_failures         │ │
 │ └─────────────────────────────┘ │
 ├────────────────────────────────┤
 │                                 < Next >                                 │
 └───────────────────────────────┘
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
* Below file contains sensitive infomation (username/password), please  *
* do remember to *MOVE* it to a safe place after installation.          *
*   * /root/iRedMail-1.3.1/config
*************************************************************************
********************** Review your settings *****************************
*************************************************************************

* Storage base directory:               /var/vmail
* Mailboxes:
* Daily backup of SQL/LDAP databases:
* Store mail accounts in:               PostgreSQL
* Web server:                           Nginx
* First mail domain name:               sites.local
* Mail domain admin:                    postmaster@sites.local
* Additional components:                Roundcubemail iRedAdmin Fail2ban

< Question > Continue? [y|N]

----

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

2

Re: tr: Illegal byte sequence

Did you try the installer without "tee"?

3

Re: tr: Illegal byte sequence

ZhangHuangbin wrote:

Did you try the installer without "tee"?

About to install again with the new commit, and will not use `tee`. I was considering that could be a factor.

Cheers.