Install MailWizz using just one bash command!

Discussion in 'Announcements' started by twisted1919, Sep 19, 2016.

  1. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
  2. Vpul Shah

    Vpul Shah Active Member Support Staff

    Joined:
    Feb 23, 2015
    Messages:
    768
    Likes Received:
    122
    S.E:
    2019-12-22 13:03:57
    L.T:
    Regular
    L.C:
    1
  3. rritz

    rritz Member

    Joined:
    Jun 30, 2016
    Messages:
    163
    Likes Received:
    23
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    2
    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?
     
  4. Howard

    Howard Member

    Joined:
    Jan 26, 2015
    Messages:
    59
    Likes Received:
    4
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    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.
    "
     
  5. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    @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.
     
  6. localblitz

    localblitz New Member

    Joined:
    May 7, 2016
    Messages:
    1
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    2
    I installed using docker and it worked fine.

    How do I upgrade to the new version via docker?

    Thanks
     
  7. Jatin Sahani

    Jatin Sahani Active Member

    Joined:
    Feb 6, 2015
    Messages:
    246
    Likes Received:
    70
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    2
    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
     
  8. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    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.
     
    Jatin Sahani likes this.
  9. dante

    dante Member

    Joined:
    Jan 20, 2017
    Messages:
    166
    Likes Received:
    19
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    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."
     
  10. dante

    dante Member

    Joined:
    Jan 20, 2017
    Messages:
    166
    Likes Received:
    19
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    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.
    "
     
  11. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    @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.
     
  12. dante

    dante Member

    Joined:
    Jan 20, 2017
    Messages:
    166
    Likes Received:
    19
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    @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
     
  13. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
  14. dante

    dante Member

    Joined:
    Jan 20, 2017
    Messages:
    166
    Likes Received:
    19
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Sending PM now
     
  15. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    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.
     
  16. Amy Cancryn

    Amy Cancryn New Member

    Joined:
    Dec 17, 2015
    Messages:
    25
    Likes Received:
    4
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    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 ~]#
     
  17. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    @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.
     
  18. Amy Cancryn

    Amy Cancryn New Member

    Joined:
    Dec 17, 2015
    Messages:
    25
    Likes Received:
    4
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    @twisted1919 thank you. I am going to try again. I tried with the OVH vps 1 but it didn't work either. I'll try vultr again in another location. If not, I'll install manually.
     
    twisted1919 likes this.
  19. Ilshat

    Ilshat New Member

    Joined:
    May 6, 2015
    Messages:
    24
    Likes Received:
    0
    S.E:
    Expired
    L.T:
    Regular
    L.C:
    1
    Hello

    where the settings are stored with nginx and mysql ?
     
  20. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,477
    Likes Received:
    2,444
    @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.
     

Share This Page