Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Rollback not properly work #45

Description

@websi

At rollback the following message occur:

deploy:revert_release
      Invoking task 'deploy:symlink:release' for server 'example.com'
Skipping task `deploy:symlink:release'.
Capistrano tasks may only be invoked once. Since task `deploy:symlink:release' was previously invoked, invoke("deploy:symlink:release") at dkdeploy-typo3-cms-8.0.0/lib/dkdeploy/typo3/cms/dsl.rb:18 will be skipped.
If you really meant to run this task again, use invoke!("deploy:symlink:release")
THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you.
https://github.com/capistrano/capistrano/issues/1686

Activity

  1. self-assigned this
    on Dec 3, 2018
  2. websi commented on Dec 3, 2018

    @websi
    MemberAuthor

    I can not reproduce the issue. Add some tests for this.

    00:01 deploy:failed
          ERROR Error occurred at deployment. Rollback to old release
          Invoking task 'deploy:revert_release' for server '192.168.156.180'
    00:02 deploy:rollback_release_path
          Invoking task 'deploy:revert_release' for server 'dkdeploy-core.dev'
    00:02 deploy:revert_release
          Invoking task 'deploy:symlink:release' for server '192.168.156.180'
          Invoking task 'deploy:symlink:release' for server 'dkdeploy-core.dev'
    
  3. websi commented on Jun 26, 2019

    @websi
    MemberAuthor

    Not working with

    • capistrano (3.11.0)
    • dkdeploy-core (9.2.1)
    • ruby-2.5.5
    Caused by:
    
      [ Doctrine\DBAL\Driver\Mysqli\MysqliException ]
      Access denied for user ''@'localhost' (using password: NO)
    
    
    cache:flush [--files-only]
    01:35 deploy:failed
          ERROR Error occurred at deployment. Rollback to old release
          Invoking task 'deploy:revert_release' for server 'example.com'
    01:35 deploy:revert_release
          Invoking task 'deploy:symlink:release' for server 'example.com'
    Skipping task `deploy:symlink:release'.
    Capistrano tasks may only be invoked once. Since task `deploy:symlink:release' was previously invoked, invoke("deploy:symlink:release") at dkdeploy-typo3-cms-8.1.0/lib/dkdeploy/typo3/cms/dsl.rb:18 will be skipped.
    If you really meant to run this task again, use invoke!("deploy:symlink:release")
    THIS BEHAVIOR MAY CHANGE IN A FUTURE VERSION OF CAPISTRANO. Please join the conversation here if this affects you.
    https://github.com/capistrano/capistrano/issues/1686
    01:35 deploy:cleanup_rollback
          ERROR Calling tasks 'maintenance:disable, typo3:cms:scheduler:reactivate, typo3:cms:cache:clear_file_cache' for rollback action
    01:36 maintenance:disable
          Downloading maintenance.json 100.0%
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions