power-mailinabox icon indicating copy to clipboard operation
power-mailinabox copied to clipboard

Upgrade to v60.3

Open xerudro opened this issue 3 years ago • 9 comments

xerudro avatar Oct 31 '22 08:10 xerudro

Today i tried to update from v6.02 to 6.03 using curl -L https://power-mailinabox.net/setup.sh | sudo bash, got the upgrade stuck on : Installing Mail-in-a-Box system management daemon... for more than 10 minutes.

xerudro avatar Oct 31 '22 08:10 xerudro

Tried again, after i do a reboot, with the same outcome. I use Hetzner server, and i have firewall and fail2ban active. @ddavness any solution ? What you suggest ?

xerudro avatar Oct 31 '22 08:10 xerudro

You mean 60.2 and 60.3 respectively - 6.02 and 6.03 do not exist 😅

I am unable to reproduce the problem, however (that is, mine doesn't get stuck for 10 minutes). For all we know, it could be one of two things:

  • Intermittent datacenter problems, which I find unlikely to happen (or Hetzner would have put up a notice about it already);
  • The SSH connection decided to go to sleep, but the setup is still continuing on the background - in that case try pressing Enter and see if the rest of the setup magically happens in half a second.

ddavness avatar Oct 31 '22 09:10 ddavness

I managed to upgrade it, i stopped fail2ban and tried again but still had to wait few minutes 6-7 minutes until the upgrade ended. Not sure what was the culprit but i managed to make it work. But i`ve noticed something that before 60.2 i didnt , now on the status check i get messages about IPv6. Should i ignore them ? Or should i try to fix them ? I am using your fork with Cloudflare.

xerudro avatar Oct 31 '22 09:10 xerudro

Awesome. To be fair, there's a compile step on the Management Daemon but it shouldn't have taken that long to finish (30 seconds at worst).

Are you by any chance running this on Ubuntu 22.04? I've seen some folks complain about fail2ban on the upstream project.

About the IPv6 messages, if it's services that are not running in IPv6, then you should probably solve them.

ddavness avatar Oct 31 '22 09:10 ddavness

Yes, i run it Ubuntu 22.04. Then i need to find a fix for the IPv6 DNS problems, and the one with SSH on IPv6, even if i dont understand why does it needs access SSH on IPv6 .

Here are the messages without the IPv6

HTTP Web (nginx) is running (and available over IPv4 and the local IPv6 address), but it is not publicly accessible at SSH Login (ssh) is running (and available over IPv4 and the local IPv6 address), but it is not publicly accessible at...:22. Public DNS (nsd4) is running and available over IPv4 but is not accessible over ... port 53 Incoming Mail (SMTP/postfix) is running (and available over IPv4 and the local IPv6 address), but it is not publicly accessible at ...:25 Outgoing Mail (SMTP 465/postfix) is running (and available over IPv4 and the local IPv6 address), but it is not publicly accessible at ...:465 Outgoing Mail (SMTP 587/postfix) is running (and available over IPv4 and the local IPv6 address), but it is not publicly accessible at...:587...

and the list continues for Sieve, Dovecot, and HTTPS nginx.

xerudro avatar Oct 31 '22 09:10 xerudro

@ddavness if i will disable the IPv6 function will affect the functionality of the mail server ?

xerudro avatar Nov 02 '22 09:11 xerudro

Public IPv6? Probably not. However, the system keeps local IPv6 enabled (::1) to ensure nsd doesn't break.

ddavness avatar Nov 02 '22 09:11 ddavness

I looked up how to add ipv6 to ufw allowance rules and it seems a bit complicated. And i mistaken it's not Ubuntu the distro. It's Debian Bullseye.

mie., 2 nov. 2022, 11:51 David Duque @.***> a scris:

Public IPv6? Probably not. However, the system keeps local IPv6 enabled (::1) to ensure nsd doesn't break.

— Reply to this email directly, view it on GitHub https://github.com/ddavness/power-mailinabox/issues/90#issuecomment-1299959556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDEWEMV64VBHMAOXBX7TITWGI2S3ANCNFSM6AAAAAARS2RPCA . You are receiving this because you authored the thread.Message ID: @.***>

xerudro avatar Nov 02 '22 09:11 xerudro