Ergebnis 1 bis 4 von 4

Thema: Installer Problem 4.9. - contao:generate-app-secret

  1. #1
    Contao-Nutzer
    Registriert seit
    16.09.2012.
    Beiträge
    59

    Standard Installer Problem 4.9. - contao:generate-app-secret

    Hallo zusammen,

    der installer läuft nicht durch und bleibt beim app secret erstellt hängen.

    Wir hatten vor ein paar Monaten mal das Problem mit dem Kernel Secret das wir manuell in der parameters.yml setzen mussten. Das kam direkt von Leo Feyer ...
    Hat das was mit dem contao:generate-app-secret zu tun?

    Ansonsten würde ich eigentlich gerne nur auf Contao 4.13. updaten.
    Hosting liegt bei Hosteurope.

    Meine composer.json
    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "4.9.*",
            "contao/comments-bundle": "4.9.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.9.*",
            "contao/listing-bundle": "4.9.*",
            "contao/manager-bundle": "4.9.*",
            "contao/news-bundle": "4.9.*",
            "contao/newsletter-bundle": "4.9.*",
            "madeyourday/contao-rocksolid-antispam": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-mega-menu": "^2.1",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "rsm/rsm-googlerecaptcha-modul": "^1.0",
            "terminal42/contao-leads": "^1.4",
            "terminal42/notification_center": "^1.5"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    compuser install log
    Code:
    $ /usr/bin/php8.2 -q -c /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/contao-manager/php.ini -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    Package lexik/maintenance-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    104 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 98:
                                                                                   
      An error occurred while executing the "contao:generate-app-secret" command:  
                                                                                   
    install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.154
    Partner-ID
    10107

    Standard

    Um auf Contao 4.13 zu aktualisieren ändere die composer.json auf
    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/manager-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*",
            "madeyourday/contao-rocksolid-antispam": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-mega-menu": "^2.1",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "rsm/rsm-googlerecaptcha-modul": "^1.0",
            "terminal42/contao-leads": "^1.4",
            "terminal42/notification_center": "^1.5"
        },
        "extra": {
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    und führe danach eine vollständige Paketaktualisierung durch. Das Problem mit dem Command ist dann vermutlich auch erledigt.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    16.09.2012.
    Beiträge
    59

    Standard

    hab es probiert.
    installation scheint jetzt komplett durch. im Contao Manager ist nun alles aktuell. Datenbank Migration ist durch.

    Aber am Ende kommt eine andere Post install meldung:

    Code:
    $ /usr/bin/php8.2 -q -c /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/contao-manager/php.ini -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Notice: tempnam(): file created in the system's temporary directory in /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 684
    Fatal error: Uncaught ValueError: Path cannot be empty in /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php:692
    Stack trace:
    #0 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(692): file_put_contents('', '<?xml version="...')
    #1 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(658): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->shouldEnableEntityLoader()
    #2 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/config/Util/XmlUtils.php(89): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false)
    #3 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array)
    #4 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(405): Symfony\Component\Config\Util\XmlUtils::loadFile('/is/htdocs/wp13...', Array)
    #5 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(50): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/is/htdocs/wp13...')
    #6 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/doctrine/doctrine-bundle/DependencyInjection/DoctrineExtension.php(164): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('dbal.xml')
    #7 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/doctrine/doctrine-bundle/DependencyInjection/DoctrineExtension.php(101): Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension->dbalLoad(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
    #8 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(76): Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
    #9 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(42): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
    #10 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Compiler/Compiler.php(82): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
    #11 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/ContainerBuilder.php(757): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
    #12 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/http-kernel/Kernel.php(546): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
    #13 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(295): Symfony\Component\HttpKernel\Kernel->initializeContainer()
    #14 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/http-kernel/Kernel.php(789): Contao\ManagerBundle\HttpKernel\ContaoKernel->initializeContainer()
    #15 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/http-kernel/Kernel.php(128): Symfony\Component\HttpKernel\Kernel->preBoot()
    #16 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/framework-bundle/Console/Application.php(168): Symfony\Component\HttpKernel\Kernel->boot()
    #17 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/framework-bundle/Console/Application.php(74): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
    #18 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #19 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/contao/manager-bundle/bin/contao-setup(44): Symfony\Component\Console\Application->run()
    #20 /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/bin/contao-setup(119): include('/is/htdocs/wp13...')
    #21 {main}
      thrown in /is/htdocs/wp13544691_V805GK7LGD/aktuell/contao/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 692
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    109 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255
    # Process terminated with exit code 255
    # Result: Unknown error

  4. #4
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.154
    Partner-ID
    10107

    Standard

    Bist du bei HostEurope? Wenn ja ist es vermutlich dieses Problem: https://community.contao.org/de/show...stem-directory
    » sponsor me via GitHub or PayPal or Revolut

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •