danmen
September 29, 2020, 8:26pm
1
Hello and good morning to the entire Mautica community, I would like to ask some questions and see if you can guide me please.
I am currently working with a group of people and I am about to do 4 installations of Mautic, so I ask them which version is the best now and that there are no problems as they will be used to work immediately.
I had an instance with amazon aws where I installed Mautic 2.16.0 and it worked fine, suddenly it stopped working, the same happened with another one that had a friend, my friend’s, I restarted it and it worked but mine crashed and no longer works , done, the ip does not open anything and check in the Get system log panel and see that this error came out Error starting LSB: bitnami init script.
See ‘systemctl status bitnami.service’ for more details.
I don’t know if that’s why, but all I did was reboot like I did with my friend’s, but it didn’t work.
Is there a way to restore it? as I have an important contact list that I cannot back up.
Another question, I want to do 4 Mautic installations using A2hosting with the following package: POWER +
https://www.a2hosting.com/vps-hosting/managed
Would it be nice to do it with them ??? I did my research and asked them and they said if all 4 facilities would work well for me, I hope you can help me with this list please thank you and blessings.
It’s hard to say without you testing for yourself, I can recommend v3.0.1, it works superbly for my use case, and I don’t see myself updating anytime soon.
You’ll want to check why the bitnami script is stopping, dig harder in the logs
Not that bad, but it would depend on what you would be doing on the instances of your mautic program. What are your use cases?
danmen
September 30, 2020, 2:23am
3
Many thanks devsrealm!!
This is the code that the instance shows me.
[ 0.000000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[ 0.579196] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[ 0.743714] piix4_smbus 0000:00:01.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
/dev/xvda1: clean, 122216/655360 files, 1577694/2621179 blocks
[ 2.988380] cloud-init[187]: Cloud-init v. 0.7.9 running ‘init-local’ at Fri, 25 Sep 2020 18:18:02 +0000. Up 2.92 seconds.
[ 5.747372] cloud-init[428]: Cloud-init v. 0.7.9 running ‘init’ at Fri, 25 Sep 2020 18:18:05 +0000. Up 5.28 seconds.
[ 5.765232] cloud-init[428]: ci-info: ++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++
[ 5.780417] cloud-init[428]: ci-info: ±-------±-----±-------------±--------------±------±------------------+
[ 5.792992] cloud-init[428]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 5.805930] cloud-init[428]: ci-info: ±-------±-----±-------------±--------------±------±------------------+
[ 5.825034] cloud-init[428]: ci-info: | eth0: | True | 172.31.90.93 | 255.255.240.0 | . | 12:fb:3a:fe:7b:c5 |
[ 5.833840] cloud-init[428]: ci-info: | eth0: | True | . | . | d | 12:fb:3a:fe:7b:c5 |
[ 5.867992] cloud-init[428]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . |
[ 5.888105] cloud-init[428]: ci-info: | lo: | True | . | . | d | . |
[ 5.903796] cloud-init[428]: ci-info: ±-------±-----±-------------±--------------±------±------------------+
[ 5.926379] cloud-init[428]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++
[ 5.972357] cloud-init[428]: ci-info: ±------±------------±------------±--------------±----------±------+
[ 5.986125] cloud-init[428]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 6.001238] cloud-init[428]: ci-info: ±------±------------±------------±--------------±----------±------+
[ 6.016088] cloud-init[428]: ci-info: | 0 | 0.0.0.0 | 172.31.80.1 | 0.0.0.0 | eth0 | UG |
[ 6.028812] cloud-init[428]: ci-info: | 1 | 172.31.80.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
[ 6.039607] cloud-init[428]: ci-info: ±------±------------±------------±--------------±----------±------+
[ 6.057249] bitnami[470]: ## 2020-09-25 18:18:05+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/010_resize_fs…
[ 6.080536] bitnami[470]: resize2fs 1.43.4 (31-Jan-2017)
[ 6.092894] bitnami[470]: resize2fs: Device or resource busy while trying to open /dev/xvda
[ 6.108077] bitnami[470]: Couldn’t find valid filesystem superblock.
[ 6.132042] bitnami[470]: ## 2020-09-25 18:18:05+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/020_hostname…
[ 6.157166] bitnami[470]: ## 2020-09-25 18:18:05+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/030_swap_file…
[ 6.916246] cloud-init[491]: Cloud-init v. 0.7.9 running ‘modules:config’ at Fri, 25 Sep 2020 18:18:06 +0000. Up 6.76 seconds.
[ 13.221730] bitnami[470]: 650000+0 records in
[ 13.227404] bitnami[470]: 650000+0 records out
[ 13.232560] bitnami[470]: 665600000 bytes (666 MB, 635 MiB) copied, 7.1572 s, 93.0 MB/s
[ 16.370907] bitnami[470]: Setting up swapspace version 1, size = 634.8 MiB (665595904 bytes)
[ 16.377349] bitnami[470]: no label, UUID=1ab4d0a5-045d-4487-aaff-a490d344f9ff
[ 16.399334] bitnami[470]: ## 2020-09-25 18:18:16+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/040_stack_etc…
[ 16.412909] bitnami[470]: ## 2020-09-25 18:18:16+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/050_clean_pids…
[ 16.487865] bitnami[470]: ## 2020-09-25 18:18:16+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/060_check_if_demo_machine…
[ 16.640743] bitnami[470]: ## 2020-09-25 18:18:16+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/070_change_boot_log_permissions…
[ 16.652355] bitnami[470]: ## 2020-09-25 18:18:16+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/080_prevent_incoming_connections…
[ 18.699887] bitnami[470]: ## 2020-09-25 18:18:18+00:00 ## INFO ## 80 has been blocked
[ 20.709164] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## 443 has been blocked
[ 20.714402] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/090_get_default_passwords…
[ 20.722293] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/100_regenerate_keys…
[ 20.732476] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/110_configure_default_passwords…
[ 20.743953] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/120_reenable_incoming_connections…
[ 20.755295] bitnami[470]: ## 2020-09-25 18:18:20+00:00 ## INFO ## Starting services…
[ 23.776288] bitnami[470]: /opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306
[ 31.250122] bitnami[470]: /opt/bitnami/php/scripts/ctl.sh : php-fpm started
[ 36.352995] bitnami[470]: httpd.bin: Syntax error on line 117 of /opt/bitnami/apache2/conf/httpd.conf: Can’t locate API module structure \xa6headers_module' in file /opt/bitnami/apache2/modules/mod_headers.so: /opt/bitnami/apache2/modules/mod_headers.so: undefined symbol: \xa6headers_module [ 36.374890] bitnami[470]: apache config test fails, aborting [ 36.498283] bitnami[470]: ## 2020-09-25 18:18:36+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_bitnami_agent_extra... [ 36.528754] bitnami[470]: ## 2020-09-25 18:18:36+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_agent... [ 36.546986] bitnami[470]: ## 2020-09-25 18:18:36+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_update_ip... [e[0;32m OK e[0m] Created slice User Slice of daemon. [e[0;32m OK e[0m] Started Session c1 of user daemon. Starting User Manager for UID 1... [e[0;32m OK e[0m] Started User Manager for UID 1. [e[0;32m OK e[0m] Started Session 3 of user daemon. Stopping User Manager for UID 1... [e[0;32m OK e[0m] Stopped User Manager for UID 1. [e[0;32m OK e[0m] Removed slice User Slice of daemon. [ 68.157745] bitnami[470]: ## 2020-09-25 18:19:08+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_update_welcome_file... [ 68.169064] bitnami[470]: ## 2020-09-25 18:19:08+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_bitnami_credentials_file... [ 68.190343] bitnami[470]: ## 2020-09-25 18:19:08+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/060_start_gonit... [ 68.198684] bitnami[470]: Starting gonit daemon [ 68.232857] bitnami[470]: ## 2020-09-25 18:19:08+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/070_clean_metadata... [e[0;1;31mFAILEDe[0m] Failed to start LSB: bitnami init script. See 'systemctl status bitnami.service' for details. [e[0;32m OK e[0m] Reached target Multi-User System. [e[0;32m OK e[0m] Reached target Graphical Interface. Starting Execute cloud user/final scripts... Starting Update UTMP about System Runlevel Changes... [e[0;32m OK e[0m] Started Update UTMP about System Runlevel Changes. [ 69.007671] cloud-init[1157]: Cloud-init v. 0.7.9 running 'modules:final' at Fri, 25 Sep 2020 18:19:08 +0000. Up 68.84 seconds. [ 69.020580] cloud-init[1157]: Cloud-init v. 0.7.9 finished at Fri, 25 Sep 2020 18:19:08 +0000. Datasource DataSourceEc2. Up 69.00 seconds [e[0;32m OK e[0m] Started Execute cloud user/final scripts. [e[0;32m OK e[0m] Reached target Cloud-init target. [96198.027188] reboot: Restarting system [ 0.000000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 0.553044] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 0.706369] piix4_smbus 0000:00:01.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr /dev/xvda1: clean, 122219/655360 files, 1585955/2621179 blocks [ 2.788454] cloud-init[195]: Cloud-init v. 0.7.9 running 'init-local' at Sat, 26 Sep 2020 21:01:49 +0000. Up 2.72 seconds. [ 5.734568] cloud-init[449]: Cloud-init v. 0.7.9 running 'init' at Sat, 26 Sep 2020 21:01:52 +0000. Up 5.10 seconds. [ 5.744873] cloud-init[449]: ci-info: ++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++ [ 5.756968] cloud-init[449]: ci-info: +--------+------+--------------+---------------+-------+-------------------+ [ 5.768899] cloud-init[449]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 5.781036] cloud-init[449]: ci-info: +--------+------+--------------+---------------+-------+-------------------+ [ 5.792963] cloud-init[449]: ci-info: | eth0: | True | 172.31.90.93 | 255.255.240.0 | . | 12:fb:3a:fe:7b:c5 | [ 5.804991] cloud-init[449]: ci-info: | eth0: | True | . | . | d | 12:fb:3a:fe:7b:c5 | [ 5.815339] cloud-init[449]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | [ 5.829143] cloud-init[449]: ci-info: | lo: | True | . | . | d | . | [ 5.836918] cloud-init[449]: ci-info: +--------+------+--------------+---------------+-------+-------------------+ [ 5.842634] cloud-init[449]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++ [ 5.849788] cloud-init[449]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 5.855817] cloud-init[449]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 5.861741] cloud-init[449]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 5.868161] cloud-init[449]: ci-info: | 0 | 0.0.0.0 | 172.31.80.1 | 0.0.0.0 | eth0 | UG | [ 5.874180] cloud-init[449]: ci-info: | 1 | 172.31.80.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U | [ 5.881485] cloud-init[449]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 5.988440] bitnami[492]: ## 2020-09-26 21:01:52+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/010_resize_fs... [ 6.008614] bitnami[492]: resize2fs 1.43.4 (31-Jan-2017) [ 6.018410] bitnami[492]: resize2fs: Device or resource busy while trying to open /dev/xvda [ 6.032932] bitnami[492]: Couldn't find valid filesystem superblock. [ 6.044091] bitnami[492]: ## 2020-09-26 21:01:52+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/020_hostname... [ 6.057443] bitnami[492]: ## 2020-09-26 21:01:52+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/030_swap_file... [ 6.859388] cloud-init[495]: Cloud-init v. 0.7.9 running 'modules:config' at Sat, 26 Sep 2020 21:01:53 +0000. Up 6.69 seconds. [ 13.203748] bitnami[492]: 650000+0 records in [ 13.220514] bitnami[492]: 650000+0 records out [ 13.227295] bitnami[492]: 665600000 bytes (666 MB, 635 MiB) copied, 7.10388 s, 93.7 MB/s [e[0;32m OK e[0m] Created slice User Slice of daemon. [e[0;32m OK e[0m] Started Session 1 of user daemon. Starting User Manager for UID 1... [e[0;32m OK e[0m] Started User Manager for UID 1. [ 16.097235] bitnami[492]: Setting up swapspace version 1, size = 634.8 MiB (665595904 bytes) [ 16.130355] bitnami[492]: no label, UUID=04872f76-6eca-476b-b18e-125168ff3a86 [ 16.139081] bitnami[492]: ## 2020-09-26 21:02:03+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/040_stack_etc... [ 16.153501] bitnami[492]: ## 2020-09-26 21:02:03+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/050_clean_pids... [ 16.208244] bitnami[492]: ## 2020-09-26 21:02:03+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/060_check_if_demo_machine... [ 16.412623] bitnami[492]: ## 2020-09-26 21:02:03+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/070_change_boot_log_permissions... [ 16.422920] bitnami[492]: ## 2020-09-26 21:02:03+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/080_prevent_incoming_connections... Stopping User Manager for UID 1... [e[0;32m OK e[0m] Stopped User Manager for UID 1. [e[0;32m OK e[0m] Removed slice User Slice of daemon. [ 18.496348] bitnami[492]: ## 2020-09-26 21:02:05+00:00 ## INFO ## 80 has been blocked [ 20.506785] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## 443 has been blocked [ 20.514320] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/090_get_default_passwords... [ 20.524347] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/100_regenerate_keys... [ 20.533986] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/110_configure_default_passwords... [ 20.544717] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/120_reenable_incoming_connections... [ 20.558745] bitnami[492]: ## 2020-09-26 21:02:07+00:00 ## INFO ## Starting services... [ 23.579652] bitnami[492]: /opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306 [ 30.762900] bitnami[492]: /opt/bitnami/php/scripts/ctl.sh : php-fpm started [ 35.835670] bitnami[492]: httpd.bin: Syntax error on line 117 of /opt/bitnami/apache2/conf/httpd.conf: Can't locate API module structure
\xa6headers_module’ in file /opt/bitnami/apache2/modules/mod_headers.so: /opt/bitnami/apache2/modules/mod_headers.so: undefined symbol: \xa6headers_module
[ 35.858126] bitnami[492]: apache config test fails, aborting
[ 35.958538] bitnami[492]: ## 2020-09-26 21:02:22+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_bitnami_agent_extra…
[ 35.985676] bitnami[492]: ## 2020-09-26 21:02:22+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_agent…
[ 36.003209] bitnami[492]: ## 2020-09-26 21:02:22+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_update_ip…
[e[0;32m OK e[0m] Created slice User Slice of daemon.
[e[0;32m OK e[0m] Started Session c1 of user daemon.
Starting User Manager for UID 1…
[e[0;32m OK e[0m] Started User Manager for UID 1.
Stopping User Manager for UID 1…
[e[0;32m OK e[0m] Stopped User Manager for UID 1.
[e[0;32m OK e[0m] Removed slice User Slice of daemon.
[ 64.522034] bitnami[492]: ## 2020-09-26 21:02:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_update_welcome_file…
[ 64.530382] bitnami[492]: ## 2020-09-26 21:02:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_bitnami_credentials_file…
[ 64.550456] bitnami[492]: ## 2020-09-26 21:02:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/060_start_gonit…
[ 64.565394] bitnami[492]: Starting gonit daemon
[ 64.587121] bitnami[492]: ## 2020-09-26 21:02:51+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/070_clean_metadata…
[e[0;1;31mFAILEDe[0m] Failed to start LSB: bitnami init script.
See ‘systemctl status bitnami.service’ for details.
[e[0;32m OK e[0m] Reached target Multi-User System.
Starting Execute cloud user/final scripts…
[e[0;32m OK e[0m] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[e[0;32m OK e[0m] Started Update UTMP about System Runlevel Changes.
[ 65.469367] cloud-init[1187]: Cloud-init v. 0.7.9 running ‘modules:final’ at Sat, 26 Sep 2020 21:02:52 +0000. Up 65.35 seconds.
[ 65.481316] cloud-init[1187]: Cloud-init v. 0.7.9 finished at Sat, 26 Sep 2020 21:02:52 +0000. Datasource DataSourceEc2. Up 65.46 seconds
[e[0;32m OK e[0m] Started Execute cloud user/final scripts.
[e[0;32m OK e[0m] Reached target Cloud-init target.
danmen
September 30, 2020, 2:29am
4
This is the package that I tell you where I want to install Mautic for myself and 3 other people.
POWER+
4 GB RAM
75 GB storage
2 TB transfer
4 cores
Free SSL and SSD
Free cPanel control panel
Root directory access
Free and easy site transfer
danmen
September 30, 2020, 2:30am
5
Practically it will be used for cpa and affiliate marketing, regular use for mailing lists of 5 to 10 thousand users in each account.
thank you very much again …
Another thing I want to ask you, what differences are there between the installation of Mauitc 2 and Mautic 3?
Currently I know how to install and program Mautic 2 but I don’t know what differences and new things come in version 3.
Will there be any guide to take it step by step?
Thank you very much again for your support.
mikew
September 30, 2020, 7:31am
6
Hey @danmen
I would still go with Mautic 2.16.3.
If you go to Mautic.org you will see the difference between the two. IMO there is not much difference and I am running both 3.1.0 and 2.16.3 and unfortunately 3.1.0 is still a little buggy, for production I would stick with 2.16.3 for another few months.
if you look on linuxbabe.com and search for mautic installation you will find installation giude for both 2.16.x and 3.0 on both ubuntu 18.04 and 20.04.
I would go with digital ocean and if you use my link you get $100 free credit for 2 months: https://m.do.co/c/1443f9d1d3f4
Let me know how things go and if you need any further assistance
When you checked this, what did you get, or preferably, run the below command
journalctl -u bitnami.service
That should be okay, but honestly, I am not familiar with a2hosting, so, I can’t really tell how efficient that server would be, since it is a managed VPS, it should be fine. I use upcloud VPS (unmanaged VPS), and a $10 plan runs mautic well for thousands of mail lists, but you can give a2hosting a try, and see if it works out for you.
mautic 3 fixes a couple of bugs, and also had some dependencies updated, so, you should get something better than version 2.
When you are installing mautic 3, one thing you should take note of, is the cron job, the console has been moved to another directory, so, you will need to update all your cron jobs and replace app/console with bin/console.
Let me know if you have more questions!
django
September 30, 2020, 9:56am
8
Hello mikew - Why do you recommend v2.16.3? When I asked on the forum months ago Ruth recommended I go with M3.
I simply want a stable and working platform - as a beginner I have no need for bells and whistles yet.
Could you please elaborate on your recommendation before I commmit to deploying two servers into production ?
Thanks!
tobsowo
September 30, 2020, 11:14am
9
M3 is much more better to use as there are upgrade on symphony although there may not be much feature added. It’s safer especially when you have to upgrade to next version.
mikew
September 30, 2020, 12:47pm
10
From personal experience. @tobsowo is correct that you will get more updates etc… on 3.x however it is very new (only a few months) and there are many things that are still a bit buggy IMO.
2 Likes
I have found mautic 3.x to work fine with one issue associated with the bounce tracking and the AWS using API connection. Simple fix for now is to not use the new AWS connection method until the bounce tracking is fixed. The core appears to be very stable.
I had troubles during testing of upgrades from 2x to 3x. Database upgrades failed consistently. For this reason I would probably go with 3x now and not have to face the 2x to 3x upgrade headache later.