mailinabox
mailinabox copied to clipboard
FAILED: /usr/local/lib/mailinabox/env/bin/pip install --upgrade pip
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
Hello i have the same issue on a fresh ubuntu 22.04
Check if this issue helps you https://github.com/mail-in-a-box/mailinabox/issues/2335
export DEB_PYTHON_INSTALL_LAYOUT='deb'
before launching the install script, as explained in #2335
Note that you need to also use the --preserve-env
flag. I followed the advice from here and got it working again!