Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please test the next release candidate #1405

Closed
JoshData opened this issue Jul 24, 2018 · 7 comments
Closed

please test the next release candidate #1405

JoshData opened this issue Jul 24, 2018 · 7 comments

Comments

@JoshData
Copy link
Member

Hi all,

The current master branch will be the next release, if there are no bugs. I'll be away over the weekend and I don't like making releases when I'm away, so I plan to make a release on Monday. Until then if folks could test the master branch and report any issues, that'd be great.

Thanks.

@Gatewayy
Copy link

I ran the update a bit ago and I received a cert error when the script attempts to update z-push.

Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup
Installing nsd (DNS server)...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
bayes: synced databases from journal in 0 seconds: 598 unique entries (991 total entries)
Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)...
fatal: unable to access 'https://stash.z-hub.io/scm/zp/z-push.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

@nilsnh
Copy link
Contributor

nilsnh commented Jul 25, 2018

Hi @Gatewayy, 👋 I suspect you ran into issue #1393. This should be fixed in master now, but it has not been released yet.

@Gatewayy
Copy link

Thanks @nilsnh it seems to be working now.

@nilsnh
Copy link
Contributor

nilsnh commented Jul 25, 2018

Tested the release just now.

  1. I created a test droplet on Digital Ocean based on a snapshot backup of my production environment.
  2. Edited my laptop's hosts file to temporarily map my mailinabox's domain to temporary server.
  3. sshed in and git cloned down latest master and ran sudo setup/update.

Update seem to have gone through without a hitch. I could login and send/fetch mail. 👍 Haven't tried installing this on a fresh box yet.

Full log output of the update:

Primary Hostname: <redacted>
Public IP Address: <redacted>
Mail-in-a-Box Version:  v0.27-10-ge0d46d1

Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup
Installing nsd (DNS server)...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
bayes: synced databases from journal in 0 seconds: 59 unique entries (59 total entries)
Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)...
Installing Mail-in-a-Box system management daemon...
Uninstalling acme-0.19.0:
  Successfully uninstalled acme-0.19.0
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Installing Munin (system monitoring)...
updated DNS: <redacted>
web updated

-----------------------------------------------
Mail-in-a-Box uses Let's Encrypt to provision free certificates
to enable HTTPS connections to your box. You'll now be asked to agree
to Let's Encrypt's terms of service.

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Registering without email!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: A

IMPORTANT NOTES:
 - Your account credentials have been saved in your Certbot
   configuration directory at /home/user-data/ssl/lets_encrypt. You
   should make a secure backup of this folder now. This configuration
   directory will also contain certificates and private keys obtained
   by Certbot so making regular backups of this folder is ideal.

-----------------------------------------------

Your Mail-in-a-Box is running.

Please log in to the control panel for further instructions at:

https://<redacted>/admin

You will be alerted that the website has an invalid certificate. Check that
the certificate fingerprint matches:

<redacted>

Then you can confirm the security exception and continue.

@nilsnh
Copy link
Contributor

nilsnh commented Jul 26, 2018

Installed on a throwaway fresh box now. Installation went through fine.

  • Tried logging in into mail, cloud and admin. Works. ✅
  • Tried sending mail. Works. ✅

Yeah, would have been swell to have #777. 😅

Full logs:

Primary Hostname: test.mailinabox
Public IP Address: 188.166.24.116
Mail-in-a-Box Version:  v0.27-10-ge0d46d1

Adding a swap file to the system...
Updating system packages...
Installing system packages...

Current default time zone: 'Europe/Oslo'
Local time is now:      Wed Jul 25 23:34:31 CEST 2018.
Universal Time is now:  Wed Jul 25 21:34:31 UTC 2018.

Initializing system random number generator...
Creating SSH key for backup…
Firewall is active and enabled on system startup
Creating initial SSL certificate and perfect forward secrecy Diffie-Hellman parameters...
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
..................+..................................................................+......................................................+..........................................+...........................................................................................................+................................+...............................................................................................................................+..................................................+............................................................................................................+.................................................................................+................+..........................................................................................................+............+...................+................................................................+....................................................+......+........................+..............................................................................................................................................................................................................................................................................................................................................................................+.......+.....................................................................................................................................................+..................+...................................+...........................................+...................+.....................................................................................................................................................+....................................................................................................................................................+.......................+.+...................................................................................................................................................................................................................................................................................................................................................................................................................................................+...+.................................................................................................................................+....+.........................................................................................+.......................................................................................................................+..................................................................................................................................................................................................................................+...................+.............................................................................................................................................................................................................................................................................+........................................................+................................................................................................................+........................................+.............................................................................................+.........................................................................................................+.............................................................................................................+..........................................................................................................................+..................................................................................................................................+.............................................................................................................................................................................................................................................+.................................................................................+....+.....+.....................................................................................................................................................................................................+..................................................................................................................+..................................................................................+....................+............................................................................................................+................................+.......................................................................................................................................+...............................................................+.....................................................+.............................................................................................................................................................................................................................................+.........................................................................+............................................................+...................................................................+......................................................+.............................................+............+.......................+...................................................+..........................................................................................................................+..................+...........................................................................................................................+................+.......................................................................................................................................................................................+.....+....................+...............................................+......................................................+.........................................+.....................................................................................+.............................................................+..................................................................................................................................................................................................+.............................+.......................................+.....+.....................................................................+..............................................................................................................+...........................................+.......................+................................+.............................+...+.........................................................................................................+.....................................................................................................................................................................+........................................+.............+...............................................................................................................................+......................................................................................+.................................................................................................................................................................+.............................................................................................+...+.......................................................+......................................+.................+........................+.......................................+.........................................................................................+...............................................................................................+................................+...+..............+...........................................................................................+.....................................................................................................+........................................................................................+....................................................+............+................................................................................................................................................................................................................................................+................................................................................................+...............................................................................................................................................+.....+..........................+...................+.............................+.....................................................................................................................................+...............................+..................................................................................................................................+...............................................................................................................++*++*
Installing nsd (DNS server)...
Generating DNSSEC signing keys...
Installing Postfix (SMTP server)...
Installing Dovecot (IMAP server)...
Creating new user database: /home/user-data/mail/users.sqlite
Installing OpenDKIM/OpenDMARC...
Installing SpamAssassin...
Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...

Upgrading to Nextcloud version 12.0.5

creating sqlite db
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)...
Installing Mail-in-a-Box system management daemon...
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /usr/local/lib/mailinabox/env/bin/python3
Also creating executable in /usr/local/lib/mailinabox/env/bin/python
Installing setuptools, pip...done.
Installing Munin (system monitoring)...
updated DNS: test.mailinabox
web updated

Okay. I'm about to set up [email protected] for you. This account will also
have access to the box's control panel.
password:
 (again):
mail user added
updated DNS: OpenDKIM configuration


-----------------------------------------------
Mail-in-a-Box uses Let's Encrypt to provision free certificates
to enable HTTPS connections to your box. You'll now be asked to agree
to Let's Encrypt's terms of service.

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Registering without email!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(A)gree/(C)ancel: a

IMPORTANT NOTES:
 - Your account credentials have been saved in your Certbot
   configuration directory at /home/user-data/ssl/lets_encrypt. You
   should make a secure backup of this folder now. This configuration
   directory will also contain certificates and private keys obtained
   by Certbot so making regular backups of this folder is ideal.

-----------------------------------------------

Your Mail-in-a-Box is running.

Please log in to the control panel for further instructions at:

https://188.166.24.116/admin

You will be alerted that the website has an invalid certificate. Check that
the certificate fingerprint matches:

B3:8B:16:65:C5:5F:7C:D3:30:3C:A6:20:BF:9B:F5:3E:10:40:DF:21:2D:61:CF:2C:39:F0:22:87:42:B5:45:14

Then you can confirm the security exception and continue.

nilsnh@test:~/mailinabox$

@JoshData
Copy link
Member Author

Thanks all!

@JoshData
Copy link
Member Author

v0.28 is posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants