Problem:
Attempting to re-run cron while it is already running.
Solution
Cronjob (hourly):
1 * * * * ...myscripts/my-drupal-cron.sh
Problem:
Attempting to re-run cron while it is already running.
Solution
Cronjob (hourly):
1 * * * * ...myscripts/my-drupal-cron.sh
drush config:import is not defined
# Command "cim" is not defined.
# Do you want to run "mim" instead? (yes/no) [no]:
System Info:
Error:
drush cim --partial --source=web/modules/module1/config/install/
[error] The source directory does not exist. The source is not a directory.
Mit Hilfe von Drush können wir Drupal Bibiotheken herunterladen um sie ohne CDN zu nutzen.
drush webform:libraries:download
~/.bash_profile : edit / create
nano .bash_profile
Add alias
alias drush='php -c ~/httpdocs/drush.ini ~/httpdocs/vendor/drush/drush/drush'
Reset Drupal User Password via Drush + Commandline
drush user:password admin "mypassword123"
drush upwd admin "mypassword123"
Neueste Kommentare
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords