mailinabox icon indicating copy to clipboard operation
mailinabox copied to clipboard

FAILED: /usr/local/lib/mailinabox/env/bin/pip install --upgrade pip

Open Bahx96 opened this issue 1 year ago • 4 comments

Need help on this problem while installing Miab !!

Mail-in-a-Box Version: v65 Updating system packages... Installing system packages... Initializing system random number generator... Firewall is active and enabled on system startup Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable fail2ban Installing nsd (DNS server)... Installing Postfix (SMTP server)... Installing Dovecot (IMAP server)... Installing OpenDKIM/OpenDMARC... Installing SpamAssassin... Installing Nginx (web server)... Installing Roundcube (webmail)... wal Installing Nextcloud (contacts/calendar)... Nextcloud is already latest version Installing Z-Push (Exchange/ActiveSync server)... Installing Mail-in-a-Box system management daemon... FAILED: /usr/local/lib/mailinabox/env/bin/pip install --upgrade pip

setup/functions.sh: line 19: /usr/local/lib/mailinabox/env/bin/pip: No such file or directory

Bahx96 avatar Nov 28 '23 00:11 Bahx96

Hello i have the same issue on a fresh ubuntu 22.04

LudovicFauchet avatar Nov 28 '23 10:11 LudovicFauchet

Check if this issue helps you https://github.com/mail-in-a-box/mailinabox/issues/2335

kiekerjan avatar Nov 28 '23 11:11 kiekerjan

export DEB_PYTHON_INSTALL_LAYOUT='deb'

before launching the install script, as explained in #2335

MarcosBL avatar Nov 28 '23 12:11 MarcosBL

Note that you need to also use the --preserve-env flag. I followed the advice from here and got it working again!

florisre avatar Dec 12 '23 17:12 florisre