openspace42 / aenigma

The | state-of-the-art | secure-by-default | one-touch-deployed | XMPP server for everyone.
https://aenigma.xyz
Other
176 stars 18 forks source link

Notes and bugs from LXD (container) install #59

Open palica opened 5 years ago

palica commented 5 years ago

First of all, thank you for all your effort and great project.

I am installing this inside a container (LXD technology). Using debian/9 image from https://us.images.linuxcontainers.org/ installing on x86_64.

There were some hiccups with the installation inside container.

  1. setup script didn't find lsb-release (apt install lsb-release)
  2. setup ends with error about /etc/ssh/sshd_config not present (apt install ssh)
  3. the image doesn't provide ping command - (apt install iputils-ping)
  4. ufw init tries to modprobe some modules, it should check if they are not already loaded (lxc/lxd doesn't allow modprobe)
  5. sudo package missing (apt install sudo)
  6. when executing the setup over and over again it keeps adding the same line to /etc/locale.gen - it should check if the line is not already present and not add it if it is
  7. fail2ban failed in the dpkg phase (I don't have the exact error anymore)
  8. /etc/letsencrypt/renewal-hooks/post/ directory is not available before the script tries to install file in it
  9. nginx install fails - E: gnupg, gnupg2 and gnupg1 do not seem to be installed
  10. more nginx fails - gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory (apt install gnupg-agent)
  11. /root/aenigma/functions: line 508: wget: command not found (apt install wget)
  12. | - | Counting down to full ejabberd wipe on this machine... [for 00 more seconds] <= this should definitely not be a countdown but a yes/no question

Let me know if I should open separate issues.

nordurljosahvida commented 5 years ago

Amazing thanks for the very valuable feedback. SO you have an extremely minimal debian install, I very much like that, however I had never tried an install on such a system. Could I kindly ask you for access into one of those containers? That would help me add the various fixes you listed at the right place in the installation script. Thanks!

palica commented 5 years ago

do you have ipv6? can you access an ipv6 only system?

nordurljosahvida commented 5 years ago

absolutely yes, this config keeps getting better and better! ;]

palica commented 5 years ago

I meant: "Can you access an ipv6 only container if I would provide one for you?"

nordurljosahvida commented 5 years ago

yes yes i understand, i meant: absolutely yes [i do have an IPv6 connection] and the comment was about your config. thanks! here's my pubkey:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAIAQDRn5bu9AeKvVK4qKjaS1p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1qvqXy1PdizNNfIl2VGnygnjbRcuYkRQvn+rM6Y39LL/vuUBV4sbiHkryLjYcCmRybN3FUPVH5IOJD7etGdqRaMXNJpieoaNhaW3/Rd0mSArg58CjxV8pTD24VJfpCHz3l1ecmMq+9cq4JPqVcU9v0x72LlXQXs88epgWByKBqPZ51THlErE+rlFlUpgXmPnllcRiCNWNEPDD+8nauD2aa887pC9j6ManUIXfh2UM/omT532txJ25SP3qjCzGEuXR58pKO9T1txHVWLWp8S83QPWhp9OAobdbuTQlwK2gyZyc18CTIqLUuOTth9xWl2RGRLK0lp50rPvI19ALBIxGIpNDkIGxQzvbNujqryGk/aYIQu7J5ezBjrm8pnKTNbnPAPEz3WOCZipDxBFoYer8tgjbPjIODGKYYznjO8AgrXqdeH2GgouzZT7jnUHGmkrHsKXMPneuzd6BOKCRkIckhggXWM555CtEQ5yT8DCaWewG5zVbiVDdJQUj8ndm/MSXTpdKC1ZwohCCcLv3GrW/RJyYc4gSidL4kVOOAUwxH2nGnJcwQB7qn2dQesOJ3TGjy6w== nz@os.vu

palica commented 5 years ago

sent an email to nz.is

nordurljosahvida commented 5 years ago

Looking into it now.

Issues list:

Activity log:

apt install screen git
screen
git clone aenigma [...]
apt install lsb-release

[developing...]

nordurljosahvida commented 5 years ago

@palica replied to your email, I'd kindly need you to reset the container to perform further testing

nordurljosahvida commented 5 years ago

will get back to you tomorrow ;]