mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.96k stars 1.44k forks source link

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

Open Bahx96 opened 10 months ago

Bahx96 commented 10 months ago

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

LudovicFauchet commented 10 months ago

Hello i have the same issue on a fresh ubuntu 22.04

kiekerjan commented 10 months ago

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

MarcosBL commented 10 months ago

export DEB_PYTHON_INSTALL_LAYOUT='deb'

before launching the install script, as explained in #2335

florisre commented 10 months ago

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