Ergebnis 1 bis 10 von 10

Thema: Contao Update via Konsole

  1. #1
    Contao-Nutzer
    Registriert seit
    23.10.2017.
    Beiträge
    114

    Standard Contao Update via Konsole

    Hallo zusammen,

    ich würde gerne Contao von Version 4.4 auf 4.5 aktualisieren. So wie ich das verstanden habe, geht das nur mittels Konsole. Ich habe auch die entsprechenden Befehle gefunden und SSH Zugang zum Hosting (via PuTTY). Wofür ich aber leider keinerlei Anleitung finde: Wie rufe ich eigentlich die Contao-Konsole auf?

    Gruß

    Tefracky

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

    Standard

    Du kannst das auch mit dem Contao Manager machen, wenn dir das lieber ist. Setze die Version von "Contao Open Source CMS" auf 4.5.* und führe eine Paketaktualisierung durch.

  3. #3
    Contao-Urgestein Avatar von Franko
    Registriert seit
    22.06.2009.
    Beiträge
    1.503
    Partner-ID
    6122
    Geändert von Franko (25.01.2018 um 13:56 Uhr)
    Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...

  4. #4
    Contao-Nutzer
    Registriert seit
    23.10.2017.
    Beiträge
    114

    Standard

    Vielen Dank! Gesagt getan, aber es funktioniert leider nicht.

    Code:
    /var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: don't install terminal42/header-replay-bundle 1.4.1
        - contao/core-bundle 4.5.2 requires terminal42/header-replay-bundle ^1.4 -> satisfiable by terminal42/header-replay-bundle[1.4.0, 1.4.1].
        - contao/core-bundle 4.5.3 requires terminal42/header-replay-bundle ^1.4 -> satisfiable by terminal42/header-replay-bundle[1.4.0, 1.4.1].
        - contao/manager-bundle 4.5.2 requires terminal42/header-replay-bundle ^1.4 -> satisfiable by terminal42/header-replay-bundle[1.4.0, 1.4.1].
        - contao/manager-bundle 4.5.3 requires terminal42/header-replay-bundle ^1.4 -> satisfiable by terminal42/header-replay-bundle[1.4.0, 1.4.1].
        - Conclusion: don't install terminal42/header-replay-bundle 1.4.0
        - Conclusion: don't install contao/core-bundle 4.5.1
        - Installation request for contao/newsletter-bundle (locked at 4.4.13, required as 4.4.*) -> satisfiable by contao/newsletter-bundle[4.4.13].
        - contao/manager-bundle 4.5.0 requires contao/core-bundle 4.5.* -> satisfiable by contao/core-bundle[4.5.0, 4.5.1, 4.5.2, 4.5.3].
        - contao/manager-bundle 4.5.1 requires contao/core-bundle 4.5.* -> satisfiable by contao/core-bundle[4.5.0, 4.5.1, 4.5.2, 4.5.3].
        - Conclusion: don't install contao/core-bundle 4.5.0|install contao/core-bundle 4.5.1
        - Installation request for contao/manager-bundle 4.5.* -> satisfiable by contao/manager-bundle[4.5.0, 4.5.1, 4.5.2, 4.5.3].
    
    <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    
    Installation failed, reverting /var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/composer.json to its original content.
    --------------------------------------------------------
    Exception occured: Error: command exit code was 2
    #0 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Composer/AbstractComposerCommandTask.php(166): Tenside\Core\Task\Composer\AbstractComposerCommandTask->executeCommand(Object(Tenside\Core\Task\Composer\WrappedCommand\RequireCommand), Object(Symfony\Component\Console\Input\ArrayInput), Object(Tenside\Core\Task\TaskOutput))
    #1 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Task.php(173): Tenside\Core\Task\Composer\AbstractComposerCommandTask->doPerform()
    #2 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Runner.php(89): Tenside\Core\Task\Task->perform('/var/www/vhosts...')
    #3 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(82): Tenside\Core\Task\Runner->run('/var/www/vhosts...')
    #4 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(240): Tenside\CoreBundle\Command\RunTaskCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #5 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(61): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #6 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(875): Tenside\CoreBundle\Command\RunTaskCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #7 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(215): Symfony\Component\Console\Application->doRunCommand(Object(Tenside\CoreBundle\Command\RunTaskCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #8 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/api/ApiApplication.php(71): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #9 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(122): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #10 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/api/console(83): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 /var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php(55): require('phar:///var/www...')
    #12 {main}
    Chained exception: Error: command exit code was 2
    #0 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Composer/AbstractComposerCommandTask.php(166): Tenside\Core\Task\Composer\AbstractComposerCommandTask->executeCommand(Object(Tenside\Core\Task\Composer\WrappedCommand\RequireCommand), Object(Symfony\Component\Console\Input\ArrayInput), Object(Tenside\Core\Task\TaskOutput))
    #1 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Task.php(173): Tenside\Core\Task\Composer\AbstractComposerCommandTask->doPerform()
    #2 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core/src/Task/Runner.php(89): Tenside\Core\Task\Task->perform('/var/www/vhosts...')
    #3 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(82): Tenside\Core\Task\Runner->run('/var/www/vhosts...')
    #4 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(240): Tenside\CoreBundle\Command\RunTaskCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #5 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/tenside/core-bundle/src/Command/RunTaskCommand.php(61): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #6 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(875): Tenside\CoreBundle\Command\RunTaskCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #7 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(215): Symfony\Component\Console\Application->doRunCommand(Object(Tenside\CoreBundle\Command\RunTaskCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #8 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/api/ApiApplication.php(71): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #9 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/vendor/symfony/console/Application.php(122): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #10 phar:///var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php/api/console(83): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 /var/www/vhosts/hosting104991.af9be.netcup.net/httpdocs/contao4/web/contao-manager.phar.php(55): require('phar:///var/www...')
    #12 {main}
    --------------------------------------------------------
    
    
    Process terminated with exit code 1
    Reason: General error

  5. #5
    Contao-Urgestein Avatar von Franko
    Registriert seit
    22.06.2009.
    Beiträge
    1.503
    Partner-ID
    6122

    Standard

    Da war was mit dem Header-Replay-Bundles:
    https://community.contao.org/de/show...l=1#post462738
    Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...

  6. #6
    Contao-Nutzer
    Registriert seit
    23.10.2017.
    Beiträge
    114

    Standard

    Das kann durchaus ein Problem sein, aber auch ein Löschen des Cache hat nichts gebracht.

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

    Standard

    Du hast das contao/newsletter-bundle auf Version 4.4.13 fixiert.

  8. #8
    Contao-Urgestein Avatar von Franko
    Registriert seit
    22.06.2009.
    Beiträge
    1.503
    Partner-ID
    6122

    Standard

    Zitat Zitat von tefracky Beitrag anzeigen
    Das kann durchaus ein Problem sein, aber auch ein Löschen des Cache hat nichts gebracht.
    Welchen Cache hast Du denn gelöscht - So wie ich es verstanden habe mußt Du den composer cache löschen ...

    Und dann eventuell mal auf der shell das hier probieren:
    https://community.contao.org/de/show...l=1#post462738
    Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...

  9. #9
    Contao-Urgestein Avatar von Franko
    Registriert seit
    22.06.2009.
    Beiträge
    1.503
    Partner-ID
    6122

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Du hast das contao/newsletter-bundle auf Version 4.4.13 fixiert.
    Sorry - Spooky ist wohl versierter ...
    Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...

  10. #10
    Contao-Nutzer
    Registriert seit
    23.10.2017.
    Beiträge
    114

    Standard

    Danke für die Antworten. Ich habe einfach alle Composer Bundes auf 4.5.x gestellt, damit lief es dann durch.

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
  •