Whatever i try as described above. Nothing will do in order to get it to 0.21. What is going wrong?
do you get an error message or anything?
Mail-in-a-Box Version: v0.20
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 Nginx (web server)…
Installing Roundcube (webmail)…
Installing ownCloud (contacts/calendar)…
ownCloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…
Installing Munin (system monitoring)…
updated DNS: OpenDKIM configuration
Traceback (most recent call last):
File “management/ssl_certificates.py”, line 807, in
File “management/ssl_certificates.py”, line 450, in provision_certificates_cmdline
status = provision_certificates(env, agree_to_tos_url=agree_to_tos_url, logger=my_logger, force_domains=force_domains, show_extended_problems=show_extended_problems)
File “management/ssl_certificates.py”, line 272, in provision_certificates
File “/usr/local/lib/python3.4/dist-packages/acme/messages.py”, line 4, in
from acme import challenges
File “/usr/local/lib/python3.4/dist-packages/acme/challenges.py”, line 9, in
ImportError: No module named ‘OpenSSL’
Issues after upgrade to Latest MIAB - v0.20. to v0.21b
seems like you are still missing the “python3-openssl” package, install it and try again (instructions below)
Ok. ImportError is gone. Yet still stuck on 0.20 after whats seems a completed update.
A new version of Mail-in-a-Box is available. You are running version v0.20. The latest version is v0.21. For upgrade instructions, see https://mailinabox.email.
Are you using curl to install or a cloned repo, if it’s a cloned repo you should do a git fetch && git pull
not sure if it has any effect, but are you using the up to date setup script?
curl -s https://mailinabox.email/setup.sh | sudo bash
or did you just run the old script by just using
curl. I setted it up back than according to Josh his how to.
After git fetch - git pull I got this.
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm '
as appropriate to mark resolution, or use ‘git commit -a’.
root@box:/home//mailinabox# curl -s https://mailinabox.email/setup.sh | sudo bash
Updating Mail-in-a-Box to v0.21 . . .
remote: Counting objects: 30, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 30 (delta 27), reused 11 (delta 8), pack-reused 0
Unpacking objects: 100% (30/30), done.
- [new tag] v0.21 -> v0.21
error: Your local changes to the following files would be overwritten by checkout:
Please, commit your changes or stash them before you can switch branches.
Update failed. Did you modify something in /root/mailinabox?
You changed that file: management/dns_update.py
You can check with git status and then revert it.
Dammit! I see it already. dns_update.py I tried to get TLSA for the other domains hosted by the box.
I tried this on Josh his advice.
Didn’t seem to work out for some reason.
crud @JoshData — So I ran the git commands and now I get all these unexpected token errors & can’t even login to the admin panel either… Never ran git commands on my server Any way to fix? Error below and my commands i ran after encountering the same problem on this board. My server is/was completely default and no customizations prior. Thank you. …and yes, annoyingly, I don’t know why i ran those full commands first - my browser or discourse made it look like it was from the same post so I trusted them all when prob should’ve just ran your post’s commands. Mail seems to work fine, nginx sites, owncloud contacts login, etc. just the admin front-end seems to be borked and whatever is in those error messages. Thank you and apologies all. Help would be appreciated.
Updating system packages... Installing system packages... setup/system.sh: line 122: syntax error near unexpected token `<<<' setup/system.sh: line 122: `<<<<<<< HEAD' Installing nsd (DNS server)... Installing Postfix (SMTP server)... setup/mail-postfix.sh: line 94: syntax error near unexpected token `<<<' setup/mail-postfix.sh: line 94: `<<<<<<< HEAD' Installing Dovecot (IMAP server)... Installing OpenDKIM/OpenDMARC... Installing SpamAssassin... setup/spamassassin.sh: line 87: syntax error near unexpected token `<<<' setup/spamassassin.sh: line 87: `<<<<<<< HEAD' Installing Nginx (web server)... Installing Roundcube (webmail)... setup/webmail.sh: line 163: syntax error near unexpected token `<<<' setup/webmail.sh: line 163: `<<<<<<< HEAD' Installing ownCloud (contacts/calendar)... setup/owncloud.sh: line 19: syntax error near unexpected token `<<<' setup/owncloud.sh: line 19: `<<<<<<< HEAD' Installing Z-Push (Exchange/ActiveSync server)... setup/zpush.sh: line 56: syntax error near unexpected token `<<<' setup/zpush.sh: line 56: `<<<<<<< HEAD' Installing Mail-in-a-Box system management daemon... Installing Munin (system monitoring)... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> File "management/ssl_certificates.py", line 241 <<<<<<< HEAD ^ SyntaxError: invalid syntax ----------------------------------------------- Your Mail-in-a-Box is running. Please log in to the control panel for further instructions at: File "management/status_checks.py", line 172 <<<<<<< HEAD ^ IndentationError: expected an indented block https://ip.add.ress/admin You will be alerted that the website has an invalid certificate. Check that the certificate fingerprint matches: 5D:37:31:B........................F:27:7D:C7 Then you can confirm the security exception and continue
^^^end of ERROR
Unable to run "mailinabox"command
I just moved user-data to a new box & started over for my small instance. No clue about all above though.
New error for now:
`Installing ownCloud (contacts/calendar)…
FAILED: sudo -u www-data php /usr/local/lib/owncloud/console.php app:disable firstrunwizard
An unhandled exception has been thrown:
OC\HintException: : Downgrading is not supported and is likely to cause unpredictable issues (from 220.127.116.11 to 18.104.22.168) ()
This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.