modoboa-installer
modoboa-installer copied to clipboard
Install script failed on installing Modoboa step on Ubuntu 24.04 VM
Impacted versions
- Distribution: Ubuntu 24.04
- Codename: Noble
- Arch: 64 Bits
- Database: PostgreSQL
VM on Proxmox Python 3.12.3
Steps to reproduce
Run installer with default arguments git clone https://github.com/modoboa/modoboa-installer cd modoboa-installer sudo ./run.py --interactive --debug mydomain.com
Full trace using --debug option or current behaviour
Installing modoboa Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (16+257build1.1). postgresql-server-dev-all is already the newest version (257build1.1). 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. Synchronizing state of postgresql.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; preset: enabled) Active: active (exited) since Fri 2024-09-27 08:18:07 UTC; 2s ago Main PID: 62128 (code=exited, status=0/SUCCESS) CPU: 846us
Sep 27 08:18:07 mail.mydomain.com systemd[1]: Starting postgresql.service - PostgreSQL RDBMS... Sep 27 08:18:07 mail.mydomain.com systemd[1]: Finished postgresql.service - PostgreSQL RDBMS. Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.10ubuntu1). python3-dev is already the newest version (3.12.3-0ubuntu2). libxml2-dev is already the newest version (2.9.14+dfsg-1.3ubuntu3). libxslt1-dev is already the newest version (1.1.39-0exp1build1). libjpeg-dev is already the newest version (8c-2ubuntu11). librrd-dev is already the newest version (1.7.2-4.1ubuntu3). rrdtool is already the newest version (1.7.2-4.1ubuntu3). libffi-dev is already the newest version (3.4.6-1build1). cron is already the newest version (3.0pl1-184ubuntu2). libssl-dev is already the newest version (3.0.13-0ubuntu3.4). redis-server is already the newest version (5:7.0.15-1build2). supervisor is already the newest version (4.2.5-1). pkg-config is already the newest version (1.8.1-2build1). libcairo2-dev is already the newest version (1.18.0-3build1). 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. User modoboa already exists, skipping creation but please make sure the /srv/modoboa directory exists. Reading package lists... Building dependency tree... Reading state information... python3-venv is already the newest version (3.12.3-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. Error: [Errno 13] Permission denied: '/srv/modoboa' -bash: line 1: /srv/modoboa/env/bin/pip: No such file or directory -bash: line 1: /srv/modoboa/env/bin/pip: No such file or directory -bash: line 1: /srv/modoboa/env/bin/pip: No such file or directory Failed to get version of modoboa. Output is: b'-bash: line 1: /srv/modoboa/env/bin/pip: No such file or directory\n'
This was the second install attempt with the --debug option to find what went wrong the first time but failed at the same point
Expected behavior
Working install script on vanilla Ubuntu VM
Video/Screenshot link (optional)
VM hardware