Ergebnis 1 bis 4 von 4

Thema: Installation Contao 4.5.0

  1. #1
    Contao-Nutzer
    Registriert seit
    28.02.2012.
    Ort
    Kleinostheim
    Beiträge
    191

    Standard Installation Contao 4.5.0

    Hi zusammen,

    zunächst mal allen ein frohes neues Jahr.

    Ich habe gerade versucht ein Update von der Version 4.4.9 auf die Version 4.5.0 zu machen (streng genommen einfach ein "composer update").

    Dabei erhalte ich folgende Fehlermeldung:
    Code:
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 9 installs, 23 updates, 1 removal
      - Removing jeremykendall/php-domain-parser (3.0.0)
      - Installing ocramius/package-versions (1.2.0): Downloading (100%)
      - Updating twig/twig (v1.35.0 => v2.4.4): Downloading (100%)
      - Updating friendsofsymfony/http-cache (2.0.2 => 2.1.0): Downloading (100%)
      - Installing egulias/email-validator (2.1.3): Downloading (100%)
      - Updating swiftmailer/swiftmailer (v5.4.8 => v6.0.2): Downloading (100%)
      - Updating symfony/swiftmailer-bundle (v2.6.7 => v3.1.6): Downloading (100%)
      - Updating sensio/framework-extra-bundle (v3.0.29 => v5.1.3): Downloading (100%)
      - Installing league/uri-interfaces (1.0.0): Downloading (100%)
      - Installing league/uri-parser (1.3.0): Downloading (100%)
      - Installing league/uri-schemes (1.1.1): Downloading (100%)
      - Installing league/uri-hostname-parser (1.0.4): Downloading (100%)
      - Installing league/uri-components (1.6.0): Downloading (100%)
      - Installing league/uri-manipulations (1.3.0): Downloading (100%)
      - Removing league/uri (4.2.2)
      - Updating leafo/scssphp (v0.6.7 => v0.7.4): Downloading (100%)
      - Updating knplabs/knp-time-bundle (1.7.5 => 1.8.0): Downloading (100%)
      - Updating knplabs/knp-menu-bundle (v2.2.0 => v2.2.1): Downloading (100%)
      - Updating contao-components/tinymce4 (4.6.7.2 => 4.7.4): Downloading (100%)
      - Updating contao-components/mediaelement (4.2.6 => 4.2.7): Downloading (100%)
      - Updating contao-components/highlight (8.9.1 => 9.12.0): Downloading (100%)
      - Updating contao-components/dropzone (4.3.0 => 5.1.1): Downloading (100%)
      - Updating contao-components/ace (1.2.8 => 1.2.9): Downloading (100%)
      - Installing ausi/slug-generator (v1.0.0): Downloading (100%)
      - Updating contao/core-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/calendar-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/manager-plugin (2.1.1 => 2.2.0): Downloading (100%)
      - Updating contao/installation-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/manager-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/listing-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/news-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating contao/newsletter-bundle (4.4.9 => 4.5.0): Downloading (100%)
      - Updating terminal42/contao-leads (1.4.7 => 1.4.9): Downloading (100%)
    Writing lock file
    Generating autoload files
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    
    In ContainerBuilder.php line 1018:
    
      You have requested a non-existent service "swiftmailer.mailer.transport.mail".
    
    
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
    
    
      [RuntimeException]
      An error occurred while executing the "contao:install-web-dir" command:
      In ContainerBuilder.php line 1018:
    
        You have requested a non-existent service "swiftmailer.mailer.transport.mail".
    
    
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
    In meiner app/config/parameters.yml steht u.a. folgendes:
    Code:
        mailer_transport: mail
        mailer_host: 127.0.0.1
        mailer_user: eintolleruser
        mailer_password: abcdefg
        mailer_port: 25
        mailer_encryption: ~
    Kennt jemand das Problem oder hat einen Tipp für mich?

    lg
    oetzi

  2. #2
    Contao-Fan Avatar von bjarke
    Registriert seit
    07.06.2011.
    Beiträge
    351
    Partner-ID
    5067

    Standard

    Da SwiftMailer ab Version 6 nur noch folgende Transporter smtp, sendmail oder gmail zulässt, musst du mailer_transport: mail in mailer_transport: smtp ändern.

  3. #3
    Contao-Nutzer
    Registriert seit
    28.02.2012.
    Ort
    Kleinostheim
    Beiträge
    191

    Standard

    1000 Dank. Funktioniert wunderbar!

    lg
    oetzi

  4. #4
    Contao-Hauptentwickler
    AG Core-Entwicklung
    Avatar von leo
    Registriert seit
    05.06.2009.
    Ort
    Wuppertal
    Beiträge
    816

    Standard

    Ich hab das jetzt so angepasst, dass Contao in der Managed-Edition automatisch "sendmail" nimmt, wenn noch "mail" konfiguriert ist:

    https://github.com/contao/manager-bu...22a5992a13f1d7

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
  •