Install MailWizz using just one bash command!

rritz

Member
VERY stupid question, but where can I download the update?? I got a notice in backend but no link, I searched like mad in the forum here but no link ... please, where do I go?
 

Howard

Member
Hello @twisted1919 Thanks for this new way of setting up mailwizz.. but may i know how to continue on this error:
"
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
"
 

twisted1919

Administrator
Staff member
@Howard - What does the command "systemctl status docker.service" says?
Most likely docker cannot start for whatever reason, so try installing docker once again maybe.
 

Jatin Sahani

Active Member
I installed using docker and it worked fine.

How do I upgrade to the new version via docker?

Thanks
Will this is how i do it, and you can try the same.

Open your FTP and look for /var/lib/docker/volumes/

There will be two folder inside with long name check both inside you'll see "_data" folder where your mailwizz files are stored and then just simply upload your latest update folder and update via command line after that or via online update.

Thanks
 

twisted1919

Administrator
Staff member
Also, running
docker exec -it mailwizz /bin/bash will log you as root in the docker container from where you can wget latest version of mailwizz and also run the command line upgrade.
When done just type exit to logout to the main vps instance.
 

dante

Member
Hello @twisted1919 Thanks for this new way of setting up mailwizz.. but may i know how to continue on this error:
"
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
"
How to install docker?

I installed using the one bash command and getting this same error

"Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details."
 

dante

Member
I tried reinstalling via the same bash command and now it says

"
Package 2:docker-1.10.3-59.el7.centos.x86_64 already installed and latest version
Nothing to do
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
"
 

twisted1919

Administrator
Staff member
@dante - is this a fresh vps without anything else on it? Because that is what you need. If is is a fresh VPS, what OS does it have?
If you have a fresh vps and you follow the instructions, everything should work just fine.
 

dante

Member
@twisted1919 yes its fresh VPS just got it today, it has CentOS 7 x64 on it

not sure if it matters but these are the server specs

  • 8GB RAM

  • 4 CPU Cores

  • 40GB SSD Disk

  • 4TB Transfer
 

twisted1919

Administrator
Staff member
For reference, the issue happens because @dante used a centos-minimal image and seems this is missing a lot of things needed by docker to properly run.
 

Amy Cancryn

New Member
I tried the docker install from the link provided above and it does not work for me.
I am using a vultr vps
with centos 7 x64

fresh install.
I answer all the questions, then it gets stuck with this error:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 56.7M 100 56.7M 0 0 11.5M 0 0:00:04 0:00:04 --:--:-- 12.7M
Unzipping...
sed: -e expression #1, char 42: unknown option to `s'
[root@ema ~]#
 

twisted1919

Administrator
Staff member
@Amy Cancryn - I just had another customer today with a similar issue on vultr, and i created an account, and did all the steps and it worked just fine for me, then i had the customer try another datacenter, and it worked for him. I tried in Frankfurt and he tried in Tokio.
So i can def. say the installer works, but apparently vultr has different configs over datacenters and some of them fail, not sure why.
My advice is to try and switch the DC and see if that works for you. Also make sure you use latest version of centos 7.
 

twisted1919

Administrator
Staff member
@Ilshat - Those are docker containers, you have to login inside each of them to access their settings, i.e:
docker exec -it mailwizz-mysql /bin/bash
docker exec -it mailwizz-webserver /bin/bash

Read more about how docker works.
 
Top