Liste der Anhänge anzeigen (Anzahl: 1)
Paketmanager funktioniert nicht (4.4.14) - Keine Reaktion in der Konsole (Hostpoint)
Hallo alle
Das hab ich gemacht:
Contao 4.x one Probleme installiert
Letztes Update auf Version 4.4.14 über contao-manager.phar.php
https://www.[meinedomain]/contao-manager.phar.php
Loading composer repositories with package information
Updating dependencies
Nothing to install or update
Generating optimized autoload files
https://www.meinedomain/contao-manag...php/#/packages
Pakete installieren > Suchen > rocksolid-custom-elements
madeyourday/contao-rocksolid-custom-elements neuste Version > Prüfen und Installieren > Änderungen anwenden
Lade Konsolentask > Konsolenausgabe einblenden > Konsole bleibt schwarz, passiert gar nichts. Webhoster hostpoint.ch, ansonsten keinerlei Probleme mit Zugriffen.
dito einfach nur Pakete aktualisieren > Konsolenausgabe einblenden > Konsole bleibt schwarz, passiert gar nichts. Aktuelle composer.json von github
Anhang 20550
Liste der Anhänge anzeigen (Anzahl: 4)
Contao Manager 1.0.0-beta15 und Log-Files
Zitat:
Zitat von
lucina
Kann ich auch mit Beta13-dev-irgendwas bestätigen, hängt also eher nicht mit dem Update des Managers zusammen. Ich schau da morgen mal rein und sammle Logs. Wenn Ihr irgendwelche Auffälligkeiten in den Logfiles habt: Immer her damit.
Log Files lassen sich leider hier hier nicht hochladen. Deshalb hier:
www.merlincom.ch/download/error.log
http://www.merlincom.ch/download/tas...nd-process.log
www.merlincom.ch/download/prod-2018-02-20.log
Zitat:
Nachsatz: Nach fünf Minuten hat sich der Manager dann doch bequemt, ein paar Dinge anzuzeigen - unter anderem ein paar Symfony-Updates. Wie lang ist denn Eure Scriptlaufzeit eingestellt? Bei mir sind das 900 Sekunden.
@lucina: Wo änderst du die Script-Laufzeit bzw. wo ist sie eingestellt?
Auch nach 30 Minuten warten dasselbe Ende :-(
www.domaine/contao-manager.phar.php > Login
Die erste Konsolenausgabe mit dem Installationstool funktioniert sofort:
Code:
Loading composer repositories with package information
Updating dependencies
Nothing to install or update
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app.php file.
Added/updated the web/app_dev.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Trying to install assets as relative symbolic links.
--- ------------------------ ------------------
Bundle Method / Error
--- ------------------------ ------------------
? ContaoCoreBundle relative symlink
? ContaoFaqBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoNewsletterBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoCommentsBundle relative symlink
--- ------------------------ ------------------
[OK] All assets were successfully installed.
Added/updated the system/initialize.php file.
Symlinked the system/config/tcpdf.php file.
--- ------------------------ ----------------------------------------------------------------
Symlink Target / Error
--- ------------------------ ----------------------------------------------------------------
? web/files/demo files/demo
? web/files/opensauce files/opensauce
? system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
? web/assets assets
? web/system/themes system/themes
? system/logs var/logs
--- ------------------------ ----------------------------------------------------------------
danach alles ok:Serverkonfiguration, PHP-Webprozess ... bis Contao-Installation Contao 4.4.14.0 (API-Version 0) gefunden.
Anhang 20554
Contao-Manager starten:
Anhang 20555
Pakete aktualisieren:
Anhang 20556
Nun hängt es auch noch nach 30 Minuten :-(
Anhang 20557
Liste der Anhänge anzeigen (Anzahl: 2)
Scheint jetzt 'nur' noch das Konsolenfenster ein Problem (Contao Manager1.0.0-bate16)
Zitat:
Zitat von
Stefko
Jetzt wird es echt dubios ...
(mittlerweile Beta16)
Habe soeben www.meinedomain/contao-manager.phar.php gestartet
zeigt mir ein Update auf Contao Manager 1.0.0-bate16 an
Natürlich bleibt Konsole schwarz. Aber nach Reload der Seite wird klar (wurde offensichtlich auch bei 'schwarzem' Konsolenfesnter installiert):
Updates für den Contao Manager
Sie verwenden die aktuelle Version 1.0.0-beta16.
Trotzdem bleibt Fehler weiter bestehen:
https://www.meinedomain/contao-manag...php/#/packages
Pakete installieren > Suchen > rocksolid-custom-elements
madeyourday/contao-rocksolid-custom-elements neuste Version > Prüfen und Installieren > Änderungen anwenden
Lade Konsolentask > Konsolenausgabe einblenden > Konsole bleibt schwarz.
Dann aber: Installation abbrechen - Reload ... und siehe da:
Code:
Using version ^2.2 for madeyourday/contao-rocksolid-custom-elements
/home/merlinco/www/contao4.cms/composer.json has been updated
Loading composer repositories with package information
Updating dependencies
Package operations: 1 install, 0 updates, 0 removals
- Installing madeyourday/contao-rocksolid-custom-elements (v2.2.3): Loading from cache
Writing lock file
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app.php file.
Added/updated the web/app_dev.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
Process terminated with exit code 143
Reason: Termination (request to terminate) [SIGTERM]
https://www.meinedomain/contao-manag...om-elements%20
Suche nach Contao-Paketen zum Suchbegriff rocksolid-custom-elements … warten warten warten endlos
Anhang 20560
Nochmals abbrechen und siehe da:
madeyourday/contao-rocksolid-custom-elements
Version v2.2.3
(8.12.2017, 14:07:44)
Anhang 20561
dito mit rocksolid-columns, rocksolid-icon-picker und rocksolid-slider
Lästiger Schönheitsfehler beim Importieren von Templates (opensauce/demo-website.sql)
Zitat:
Zitat von
merlincom
Dann aber: Installation abbrechen - Reload ... und siehe da:
Code:
Using version ^2.2 for madeyourday/contao-rocksolid-custom-elements
has been updated
Beim Importieren eines Templates mit Demoseiten wie z.B. mit dem Contao-Installationstool wird der bereits bestehende Benutzer gelöscht, aber es wird nicht erzwungen, einen neuen Benutzer anzulegen. :(
task-background-process.log - nicht gelöscht, wenn nicht vorher (händisch) erstellt
Zitat:
Zitat von
Stefko
Ahoi,
wenn der ContaoManager eine Aktion ausführt (Installation, Deinstallation, ...) wird unter /contao-manager/logs eine Datei namens task-background-process.log angelegt.
Der Inhalt dieser ist identisch mit dem, was normalerweise im Konsolenfenster ausgegeben wird.
Wenn der CM fertig ist löscht er diese Datei.
Mir ist nun aufgefallen, dass wenn man eine leere Datei task-background-process.log anlegt, die Konsolenausgabe korrekt funktioniert.
Hallo Stefko
Kann deine Beobachtung bestätigen. Habe eine leere task-background-process.log angelegt. Darin wird nun beim Aktualisieren die Aktion geschrieben und später im Konsolenfenster auch angezeigt und nach Bestätigen/Schliessen wieder gelöscht (ist also für ein nächstes Mal nicht mehr als leere Datei vorhanden - und dann bleibt das Konsolenfenster beim nächsten Mal schwarz, wenn task-background-prozess.log auch erstellt wird (siehe ganz unten) :
Code:
Loading composer repositories with package information
Updating dependencies
Nothing to install or update
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app.php file.
Added/updated the web/app_dev.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
Gleichzeitig werden während dem Prozess mehrer Dateien angelegt:
/contao-manager/background-process.get.json
Code:
{"commandline":"\/usr\/local\/php71\/bin\/php '-q' '\/home\/merlinco\/www\/contao4.cms\/web\/contao-manager.phar.php' 'tenside:runtask' 'background-process' '-v' '--no-interaction'","cwd":"\/home\/merlinco\/www\/contao4.cms","timeout":null,"idleTimeout":null,"pid":52031,"status":"started"}
/contao-manager/background-process.set.json
Code:
{"id":"background-process","commandline":"\/usr\/local\/php71\/bin\/php '-q' '\/home\/merlinco\/www\/contao4.cms\/web\/contao-manager.phar.php' 'tenside:runtask' 'background-process' '-v' '--no-interaction'","cwd":"\/home\/merlinco\/www\/contao4.cms","status":"ready","meta":{"type":"upgrade"},"timeout":0}
sowie
/contao-manager/tenside-task-background-process.json
Code:
"type": "upgrade",
"id": "background-process",
"status": "FINISHED",
"created-at": "2018-02-22T18:15:13+01:00",
"home": "/home/merlinco/www/contao4.cms",
"data-dir": "/home/merlinco/www/contao4.cms/contao-manager",
"log": "/home/merlinco/www/contao4.cms/contao-manager/logs/task-background-process.log"
}
/contao-manager/tenside-task.json
Code:
{
"background-process": {
"type": "upgrade",
"id": "background-process",
"status": "PENDING",
"created-at": "2018-02-22T18:15:13+01:00"
}
}
Wenn contao-manager/logs/task-background-process.log nicht vorgängig als leere Datei erstellt wird, bleibt das Konsolenfenster schwarz und die Datei wird nicht gelöscht:
Code:
Loading composer repositories with package information
Updating dependencies
Nothing to install or update
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added/updated the web/app.php file.
Added/updated the web/app_dev.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Trying to install assets as relative symbolic links.
--- ------------------------------- ------------------
Bundle Method / Error
--- ------------------------------- ------------------
✔ ContaoCoreBundle relative symlink
✔ ContaoFaqBundle relative symlink
✔ ContaoNewsBundle relative symlink
✔ ContaoNewsletterBundle relative symlink
✔ RockSolidColumnsBundle relative symlink
✔ RockSolidCustomElementsBundle relative symlink
✔ RockSolidIconPickerBundle relative symlink
✔ RockSolidSliderBundle relative symlink
✔ ContaoCalendarBundle relative symlink
✔ ContaoCommentsBundle relative symlink
--- ------------------------------- ------------------
[OK] All assets were successfully installed.
Added/updated the system/initialize.php file.
Symlinked the system/config/tcpdf.php file.
--- ------------------------ ----------------------------------------------------------------
Symlink Target / Error
--- ------------------------ ----------------------------------------------------------------
✔ web/files/demo files/demo
✔ web/files/opensauce files/opensauce
✔ system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
✔ web/assets assets
✔ web/system/themes system/themes
✔ system/logs var/logs
--- ------------------------ ----------------------------------------------------------------
Das scheint mir der entscheidende Logeintrag:
Code:
[22-Feb-2018 18:40:33 Europe/Zurich] [2018-02-22 18:40:33] app.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No active task" at phar:///home/merlinco/www/contao4.cms/web/contao-manager.phar.php/api/Controller/TaskController.php line 172 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No active task at phar:///home/merlinco/www/contao4.cms/web/contao-manager.phar.php/api/Controller/TaskController.php:172)"} []
memory_limit 1024M im Basisverzeichnis der Installation hilft nicht
Zitat:
Zitat von
peter.fl
: In welchem Verzeichnis oder für welches Verzeichnis muss ich memory_limit fix einestellen?
Hallo Peter
Ich hab mal die Option memory_limit mit dem Wert 1024M auf das Basisverzeichnis meiner Contao4-Installation gelegt. Konsolenausgabe bleibt jedoch wie bis anhin schwarz und Fenster schliesst nicht.
Mit memory_limit mit dem Wert 2048M hab ich mir dann grad die Installation abgeschossen. Weiss der Kuckuck, weshalb.
Gruss von Marcel
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
merlincom
Hallo Peter
Ich hab mal die Option memory_limit mit dem Wert 1024M auf das Basisverzeichnis meiner Contao4-Installation gelegt.
Wollte mir gerade mal mit WinSCP die Zeile 172 in /contao-manager.phar.php ansehen.
Hier steht in Zeile 172 sowas wie (kann es nicht kopieren, deshalb als Bild):
Anhang 20665
Wenn ich aber die Zeichencodierung von 1252 ANSI auf UTF-8 umstellen will, erscheint die Fehlermeldung:
Fehler beim Laden der Datei mit dem Encoding 'UTF-8'. Hat das was zu bedeuten?
Andersrum kann ich contao-manager.phar.php bis Zeile 103 lesen
Code:
<?php
error_reporting(-1);
if (function_exists('ini_set')) {
/** @noinspection UsageOfSilenceOperatorInspection */
@ini_set('display_errors', 1);
/** @noinspection UsageOfSilenceOperatorInspection */
@ini_set('display_startup_errors', 1);
}
if (version_compare(phpversion(), '5.5.9', '<')) {
die('You are using PHP '.phpversion().' but you need least PHP 5.5.9 to run the Contao Manager.');
}
if (!extension_loaded('Phar')) {
die('The PHP Phar extension is not enabled.');
}
if (function_exists('ioncube_loader_iversion') && ioncube_loader_iversion() < 40009) {
die('The PHP ionCube Loader extension prior to version 4.0.9 cannot handle .phar files.');
}
if (false !== ($suhosin = ini_get('suhosin.executor.include.whitelist'))) {
$allowed = array_map('trim', explode(',', $suhosin));
if (!in_array('phar', $allowed) && !in_array('phar://', $allowed)) {
die('The Suhosin extension does not allow to run .phar files.');
}
}
if (false !== ($multibyte = ini_get('zend.multibyte')) && '' !== $multibyte && 0 !== (int) $multibyte && 'Off' !== $multibyte) {
$unicode = ini_get(version_compare(phpversion(), '5.4', '<') ? 'detect_unicode' : 'zend.detect_unicode');
if ('' !== $unicode && 0 !== (int) $unicode && 'Off' !== $unicode) {
die('The detect_unicode setting needs to be disabled in your php.ini.');
}
}
unset($multibyte, $unicode);
if ('cgi-fcgi' === php_sapi_name() && extension_loaded('eaccelerator') && ini_get('eaccelerator.enable')) {
die('The PHP eAccelerator extension cannot handle .phar files.');
}
if (function_exists('date_default_timezone_set') && function_exists('date_default_timezone_get')) {
/** @noinspection UsageOfSilenceOperatorInspection */
date_default_timezone_set(@date_default_timezone_get());
}
if ('cli' === PHP_SAPI || !isset($_SERVER['REQUEST_URI'])) {
Phar::mapPhar('contao-manager.phar');
/** @noinspection UntrustedInclusionInspection */
/** @noinspection PhpIncludeInspection */
require 'phar://contao-manager.phar/api/console';
} else {
function rewrites() {
// The function argument is unreliable across servers, Nginx for example is always empty
list(,$url) = explode(basename(__FILE__), $_SERVER['REQUEST_URI'], 2);
if (strpos($url, '..')) {
return false;
}
if ('' === $url) {
header('Location: /'.basename(__FILE__).'/');
exit;
}
if (0 === strpos($url, '/api/')) {
return '/web/api.php'.$url;
}
if (!empty($url) && is_file('phar://'.__FILE__.'/web'.$url)) {
return '/web'.$url;
}
return '/web/index.html';
}
Phar::webPhar(
null,
'index.html',
null,
array(
'log' => 'text/plain',
'txt' => 'text/plain',
'php' => Phar::PHP, // parse as PHP
'css' => 'text/css',
'gif' => 'image/gif',
'html' => 'text/html',
'ico' => 'image/x-ico',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'js' => 'application/x-javascript',
'png' => 'image/png',
'json' => 'application/json'
),
'rewrites'
);
}
__HALT_COMPILER(); ?>
Entwickler, lasst Empathie erkennen und dass ihr am Problem drann bleibt
Zitat:
Zitat von
peter.fl
@Spooky:
nicht begriffen habe ist, was ich oder man nun machen soll. Warten auf neue Versionen? Arbeiten mit der Konsole? Arbeiten mit dem Manager, im Wissen dass, obwohl er hängen bleibt, am Schluss alles korrekt ausgeführt ist?
Hallo Peter
Nachdem das Problem nach Wochen noch immer besteht, entsteht der Eindruck, dass sich die Entwicker von Contao 4 um ein (vermeintlich) zentrales Update-Problem foutieren und die Community im Regen stehen lassen. Ich befürchte - auch wenn die Entwickler möglicherweise gar nichts Ursache für das Problem sind - aufgrund deren Untätigkeit einen Imageschaden für neue Contao. Das aber würde ich sehr bedauern, weil ich finde, Contao hat beispielsweise gegenüber Typo3 und Yoomla grandiose Vorteile. Also, hopp Contao-Entwickler, lasst mindest mal Empathie erkennen im Sinne davon, dass ihr Mitgefühl habt und am Problem drann bleibt ;-) Der Community-Dank ist euch sicher :-)
Marcel
Am Contao Manager entwickelt momentan nur eine Person
Zitat:
Zitat von
Spooky
Am Contao Manager entwickelt momentan nur eine Person. Du kannst diese Person aber gerne mit Pull Requests unterstützen ;).
Spooky - und das geht wie?
Contao-Manager auf aktuelle Version 1.0.0-beta17
Update Contao-Manager auf aktuelle Version 1.0.0-beta17 bringt hinsichtlich obigen Phänomen leider auch keiner Besserung.