Solution:
stat --format '%a' web/settings.php
stat --format '%a' web/
Output:
444
755
Solution:
stat --format '%a' web/settings.php
stat --format '%a' web/
Output:
444
755
Solution:
mkdir bench && cd bench/
wget https://github.com/sergix44/php-benchmark-script/archive/refs/heads/master.zip
unzip master.zip
cd php-benchmark-script-master/
php bench.php --multiplier=2
php bench.php --multiplier=2 --mysql_host=localhost --mysql_user=myusername --mysql_password=mypass123
Install Smartmontools:
apt install smartmontools
Check all Disks (HDD / SSD):
for i in $(ls /dev/sd?); do echo "$i"; smartctl -H $i; done
Check all Disks (NVMe):
Combine Find and Grep to find "max_execution_time = 60
" in all *.ini files (for PHP config).
Example:
find / -type f -name "*.ini" -exec grep -H 'max_execution_time = 60' {} \;
Problem:
Cannot start indexing because another indexing process (like a cron job or Drush command) is already running.
Solution?
Problem:
Attempting to re-run cron while it is already running.
Solution
Cronjob (hourly):
1 * * * * ...myscripts/my-drupal-cron.sh
Neueste Kommentare
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf
Error: configure: error: no acceptable C compiler found in $PATH
Error:
PHP 8.3, APCu via PECL
PHP 8.3 extra packages (+ pecl, apcu)
apt update && apt upgrade
https : Secure Connection Failed
I get this error, when I visit https://solr.example.com:8983 :
Remove files and show the number of deleted files
Remove all files starting with 2024 in mydir123 and show the number of deleted files:
find mydir123 -name '2024*' -exec rm -vf {} \; | wc -l
find . -name '*' | xargs rm …
find . -name '*' | xargs rm -v
Maybe Patch
https://www.drupal.org/project/tablefield/issues/3397688