janthiel
Forum Replies Created
-
@capuderg Thanks for the input. That are all information relevant to solve the migration using WP-CLI ??
For anyone asking or searching: In a WordPress Multisite you can run the DB migration in all sites with this command:
wp site list --field=url | xargs -n1 -I % wp --url=% eval 'if (function_exists("wp_mail_smtp")) { wp_mail_smtp()->init_migrations(); }'
Best,
Jan@capuderg Thanks for the details ??
We run and maintain > 100 sites in the Multisite with the plugin. Any chance to provide a WP-CLI command for the DB update with one of the next updates?
Logging in to each of these sites after updates is quite ineffective and contrary to our any automation deployment strategy.
WP-CLI would reduce the efford to a 1 line shell script and about 1 minute “work”.Thanks alot and best regards,
JanForum: Plugins
In reply to: [GD Mail Queue] DB table structure on Multisite (GDPR compliance)Hey Milan,
thank you very much for your detailed explanation and your open mind.
I will keep an eye on the changelog and re-evaluate the plugin once it’s an appropriate timing. If you don’t mind, feel free to drop a note here when the time is right. I would highly appreciate it.
Have a great evening!
Jan
Forum: Plugins
In reply to: [Multisite Plugin Manager] Support for WP 5.2.4@zodiac1978 Never tried Mass-Activate before with WP-Rocket.
Anyway, I just did: I do have the same error on our test servers if I try Mass-Activate with WP-Rocket.So it seems WP-Rocket and this Plugin doesn’t work well together. Although never had issues with other plugins to Mass-Activate or Deactivate.
Why don’t you use WP-CLI? It allows you quite easily to do what you want. Just create a bash script and use something like this:
You might need to replace the calls to
wp
with a whole path to the WP-CLI executable.#!/bin/bash PLUGINS_TO_ACTIVATE="hellodolly antispambee" for SITE_URL in $(wp site list --fields=domain,path,archived,deleted --format=csv | grep ",0,0$" | awk -F ',' '{print $1 $2}') do echo "[$SITE_URL] Activate Plugins: $PLUGINS_TO_ACTIVATE" wp plugin activate $PLUGINS_TO_ACTIVATE--url="$SITE_URL" echo "[$SITE_URL] done!" done
- This reply was modified 4 years, 10 months ago by janthiel.
Forum: Plugins
In reply to: [Multisite Plugin Manager] Support for WP 5.2.4We have it running fine on WP 5.2.4.
Just don’t be fooled by the static meta information on the www.ads-software.com plugin page which only gets updated with a new plugin release ??
Best,
Jan
Forum: Plugins
In reply to: [Multisite Plugin Manager] WP-CLI cannot display all Plugins anymoreThank you Aaron. Did the trick as expected ??
Forum: Plugins
In reply to: [W3 Total Cache] administering w3tc with wp-cliHi Gugan,
try
wp total-cache
for a list of the available W3TC commands.
You can find
thesome plugin commands here: https://wp-cli.org/docs/tools/Brgds,
Jan
Forum: Plugins
In reply to: [Amazon Web Services] Use of undefined Constant for AWS (JSON_ERROR_…)Hey A5hleyRich, any other idea?
Thanks alot,
Jan
Hi Mailpoet,
the URL from the Backend is working. I get the Message:
“MailPoet’s cron is ready. Simply setup a CRON job on your server (cpanel or other) to trigger this page.”
I can send you the URL if you want to. Can you give me a direct contact? Or you can directly reach me at “jan AT wlwp DOT eu”.Sad to hear that this is (and will be?) the only way. As it totaly breaks with any scalability and automation on WordPress Multisites. As I initialy wrote, the Mailpoet Cron takes 1s of Backend Loading on our Multisite, which isn’t reasonable. I did some intense testing with New Relic and the MP Cron clearly is one of the performance killers we have to exterminate…
Is there any chance, that you will change this behaviour by either supporting WP-CLI or offering an option to enqueue your MP Crons to the standard WP Cron System?
Is this a Feature we can support you developing by investing in an agency license for example?We would love to stick with Mailpoet, but it has to be scalable and performant.
Happy to hear from you!
Have a great night,
Jan
Hey MailPoet Team,
any other ideas?
Thanks,
JanSet to “50 Mails every 5 Minutes” on /wp-admin/admin.php?page=wysija_config#tab-multisite. It was at “every hour” before.
But I still cannot see any hook related to MailPoet with wp cron event list for the site.
Which hook should appear in the Cron list?
Any other thoughts?Thanks!
Jan
Forum: Plugins
In reply to: [Amazon Web Services] Use of undefined Constant for AWS (JSON_ERROR_…)Thanks for your suggestions so far. But it is also enabled for sure:
sudo php -v
PHP 7.0.9-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.9-1~dotdeb+8.1, Copyright (c) 1999-2016, by Zend Technologiessudo php -m
[PHP Modules]
apcu
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
geoip
gettext
hash
iconv
igbinary
imagick
json
libxml
mcrypt
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib[Zend Modules]
Zend OPcacheForum: Plugins
In reply to: [Amazon Web Services] Use of undefined Constant for AWS (JSON_ERROR_…)It definately is installed:
sudo apt-get install php7.0-json
Reading package lists… Done
Building dependency tree
Reading state information… Done
php7.0-json is already the newest version.Forum: Plugins
In reply to: [Shariff Wrapper] Backend Fehler bei Einsatz in MultisiteHey JP,
jup, passt alles perfekt. Auch die Multisite Unterstützung funktioniert wie gedacht ??
Besten Dank euch beiden!
Jan
Forum: Plugins
In reply to: [Shariff Wrapper] Backend Fehler bei Einsatz in MultisiteMoin JP,
da war deine Vermutung korrekt :-).
Mit den ms-functions.php l?uft es!Ich habe jetzt noch nicht weiter im Detail geschaut, aber ist der Cache denn schlau genug, dass er pro Domain / Site_id oder ?hnliches angelegt wird?
Ansonsten ist das ja die n?chste Stelle, an der es krachen wird, sobald mehrere Seiten im Netzwerk das Plugin verwenden und in den selben Cache schreiben.Sch?nen Start in den Tag,
Jan