modoboa / modoboa-installer

An installer for Modoboa
MIT License
258 stars 135 forks source link

Install on clean Ubuntu 22.04.3 fails (repeatedly). #532

Closed jnaujok closed 3 months ago

jnaujok commented 9 months ago

Impacted versions

Latest

Steps to reproduce

Clean install of Ubuntu 22.04 sudo apt install python3-virtualenv python3-pip -y

sudo hostnamectl set-hostname %{domain-name} sudo vi /etc/hosts

NOTE: I added this because I found this directory was not built by the installer script resulting in the module being unable to create the "rights" file!

sudo mkdir /etc/modoboa-radicale sudo chmod -R 777 /etc/modoboa-radicale

git clone https://github.com/modoboa/modoboa-installer.git

cd modoboa-installer

sudo ./run.py --stop-after-configfile-check %{domain-name}

Set MySQL or Postgres, set Letsencrypt, set email for Letsencrypt -- note that the included log of the install does not actually use letsencrypt because it blocked me after 5 attempts to install.

sudo vi installer.cfg

sudo ./run.py --interactive %{domain-name}

Full trace using --debug option or current behaviour

See attached file.

Expected behavior

Modoboa installs correctly, and allows web login to set up the system.

installer.log

byeuji commented 8 months ago

This project seriously needs a cleaner script to rip out all the hidden little things it's using as keys to indicate that it's been installed before.

I can't figure out what it's detecting to think it's been installed before... and I just started down this rabbit hole to resolve a "Internal server error" that cropped up over night after nothing changed but a server reboot. Agggggh I want this to be simple but it just isn't.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.