aenigma icon indicating copy to clipboard operation
aenigma copied to clipboard

Plenty issues with clean install on Debian 9 (0.7.1)

Open noerw opened this issue 5 years ago • 2 comments

Due to a selfimposed fuckup I had to do a fresh install yesterday. I had several issues with the installer, which I iteratively fixed in a long evening:

  • [ ] (1) dna-enable_debian_testing_repo makes a faulty apt configuration resulting in failing apt fetches ("404"): If you check http://security.debian.org/dists/ you'll note that testing/updates does not exist on the server, replace that with testing-security.

  • [ ] (2) (minor) During installation the user is asked wether to keep a modified version of /etc/nginx/nginx.conf, or to update to the version from the latest package.

  • [ ] (3) Installation of postfix / mailutils fails, because on debian9 libmailutils5 must be installed explicitly

  • [ ] (4) updatedb command not available. Fix: install locate

    Now enabling ejabberd...
    
    /root/aenigma/functions: line 1614: updatedb: command not found
    
  • [ ] (5) systemd services etcd, patroni would refuse to start, resulting in another installer crash. After a reboot it worked as it should.

    • investigating this I noticed that etcd complains in it's logs: embed: serving insecure client requests on 127.0.0.1:2379, this is strongly discouraged!. Didn't investigate if this is a concern.
  • [ ] (6) (minor) plenty seemingly unnecessary restarts of ejabberd in the last stages of setup (each with 16sec timeout). Suggestion: Just stop ejabberd, make all the config changes with several prompts, and then restart once

  • [ ] (7) (major) cannot run aenigma-backup, as it looks for a folder structure in /var/lib/ejabberd which is not provisioned..?

  • [ ] (8) (major) The step after installation of ejabberd installs all debian testing updates, so we now run debian10... This make the installer incompatible with its own actions, making subsequent runs abort. (Faking /etc/os-release makes it work again though).

    • subsequently the next step (installation of Converse.js) fails.
    • This is pretty much irreversible, right?

noerw avatar Nov 23 '19 15:11 noerw

@noerw thanks for the input! i'll look into it this week, asap.

nordurljosahvida avatar Dec 24 '19 05:12 nordurljosahvida

i have similar issue, a month ago i tried to install aenigma on a Debian 9 VPS, but finishing the install, the script configure some debian 10 repo and this run the upgrade. As aenigma does not support Debian 10, the install not continue.

jesusangelm avatar Jan 03 '20 12:01 jesusangelm