SOLR
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:
1. Umgebungsvariable setzen
export LOG4J_FORMAT_MSG_NO_LOOKUPS=true
2. Dateien ersetzen
Alte Dateien (in /opt/solr/server/lib/ext)
Alles außer Localhost ignorieren
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
*** [WARN] *** Your open file limit is currently 1024. It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Error: Solr requires java, please install or set JAVA_HOME properly
Was ist die Lösung?
Solarium Error:
Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.
Error: Apache Solr (Solr-Server Version: 8.5.2) & Drupal 8.9 (search_api_solr: 3.9)
Your config-set contains manually added customizations. Be aware that these will be lost when the config-set needs to be regenerated.
Seitennummerierung
- Vorherige Seite
- Seite 2
- Nächste Seite
Neueste Kommentare
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"
nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Drupal 10.4, in a custom View
Drupal 10.4:
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: