Software / Platforms: Apache Webserver, nginx, MariaDB, PHP 8.3, Plesk, Apache Solr
Software / Platforms: Apache Webserver, nginx, MariaDB, PHP 8.3, Plesk, Apache Solr
Download Solr: https://solr.apache.org/downloads.html.
Install Solr:
tar xzf solr-9.7.0.tgz solr-9.7.0/bin/install_solr_service.sh --strip-components=2
sudo bash ./install_solr_service.sh solr-9.7.0.tgz
Add/uncomment (File: /etc/default/solr.in.sh):
SOLR_JETTY_HOST="0.0.0.0"
0.0.0.0 to allow Solr to accept connections on all network interfaces.
Solr Error (Search API):
The datasource with ID 'elstut--entity:node' could not be retrieved for index 'myindex123'
Shell script :
#!/bin/bash
cd /var/www/vhosts/example.com/httpdocs
drush="php -c /var/www/vhosts/example.com/httpdocs/drush.ini /var/www/vhosts/example.com/httpdocs/vendor/drush/drush/drush"
$drush sapi-c
$drush sapi-i --batch-size=500
$drush ws
$drush status
drush.ini:
Um Apache Solr zu installieren bzw. zu aktualisieren (Update/Upgrade) :
Um die Sicherheitslücke für Apache Solr 8.x zu schließen:
export LOG4J_FORMAT_MSG_NO_LOOKUPS=true
Alte Dateien (in /opt/solr/server/lib/ext)
Alle Verbindungen, die nicht aus dem IP 127.0.0.1 kommen, werden ignoriert (Reihenfolge ist wichtig).
service solr status
https://lucene.apache.org/solr/guide/8_5/taking-solr-to-production.html
Neueste Kommentare
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 install plesk-php83-dev zlib1g-dev
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
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL: