1

Topic: iredadmin user interfering with EE upgrade installer

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

Hello,

I am seeking some clarification. When attempting to run the iredmail installer to launch the web server for deployment, it fails.

/usr/local/bin#  iredmail
Create required system account and directories.
failed: iredweb
[ERROR] task error: exit status 4, useradd: UID 2005 is not unique
[ERROR] task:
user:
    comment: Daemon user used to run iRedMail web UI
    createhome: "no"
    group: iredweb
    name: iredweb
    shell: /sbin/nologin
    state: present
    uid: "2005"

Fatal: failed in performing preprations: task error: exit status 4, useradd: UID 2005 is not unique


I understand that iRedAdmin-Pro features are included with EE, do I have to delete the user before prior to running the upgrade, or am I missing a step? I've been following along with the instructions in the wiki documentation and I didn't find anything that indicates a conflict with the iredadmin user and the to-be created iredweb user.

----

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

2

Re: iredadmin user interfering with EE upgrade installer

richey-xm wrote:

do I have to delete the user before prior to running the upgrade, or am I missing a step?

Which system user is assigned with uid 2005 right now? Please remove it first and re-add it after EE installation.

3

Re: iredadmin user interfering with EE upgrade installer

ZhangHuangbin wrote:
richey-xm wrote:

do I have to delete the user before prior to running the upgrade, or am I missing a step?

Which system user is assigned with uid 2005 right now? Please remove it first and re-add it after EE installation.

id 2005
uid=2005(iredadmin) gid=2001(iredadmin) groups=2001(iredadmin)

If it were a different user, I probably wouldn't have made this topic, but since this user has been essential to this server in the past, I hesitate to delete the user prior to upgrading to EE.

Is the iredadmin user needed on an iRedMail EE server?

4

Re: iredadmin user interfering with EE upgrade installer

- "iredadmin" user should have uid 2001 as added by iRedMail.
- iRedAdmin(-Pro) is not needed on an EE server.