Wie viele Dateien hat eine frische Debian 9 Strech Install?
root@Debian-93-stretch-64-LAMP ~ # find / | wc -l
find: ‘/proc/5760/task/5760/net’: Invalid argument
find: ‘/proc/5760/net’: Invalid argument
142565
Wie viele Dateien hat eine frische Debian 9 Strech Install?
root@Debian-93-stretch-64-LAMP ~ # find / | wc -l
find: ‘/proc/5760/task/5760/net’: Invalid argument
find: ‘/proc/5760/net’: Invalid argument
142565
Es gibt eine Community-Webseite, basiert auf Drupal 6, welche erste Phase von Upgrade/Migration hinter sich hat. Täglich kommen hunderte neue Kommentare dazu. Migration jedes mal neu starten geht nicht. Alle neue Kommentare manuell umziehen ist sehr zeitaufwendig. Deswegen haben wir folgendes ausprobiert, was scheinbar funktioniert:
drush site-install
erzeugt:
[ERROR] Command "site:install", is not a valid command name.
Wie kann den Fehler beheben?
use Symfony\Component\HttpFoundation\RedirectResponse;
function
myredirect($path) {
<?php
class myController extends ControllerBase {
public function main(){
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\HttpFoundation\RedirectResponse;
return $this->redirect('my.route.name'); // method 1
Ganz Oben in Controller:
use Drupal\Core\Link;
use Drupal\Core\Url;
In Funktion:
$url = Url::fromUserInput('/path/to/content');
$link = Link::fromTextAndUrl(t('Link Title'), $url)->toString();
Drupal erlaubt <iframe> usw für Default nicht. Eine Lösung:
return [
'#type' => 'inline_template',
'#template' => '{{ meininhalt }}',
'#context' => [ 'meininhalt ' => $inhaltMitHTMLCode ]
];
Mit der folgenden Befehle habe ich ein Git-Repository zum ersten Mal erstellt und aktualisiert.
Neueste Kommentare
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
Problem (symfony_mailer)
Type symfony_mailer
Date Mo, 28. 08 2024 - 10:14
User admin
Update DB Table 'config'
Update two fields (blob) in Table "config"!
Search 'name':
Admin:
/admin/config…
Admin:
Convert PNG to SVG & Upload!