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

Rollback not properly work #45

Open
websi opened this issue Jun 8, 2018 · 2 comments
Open

Rollback not properly work #45

websi opened this issue Jun 8, 2018 · 2 comments
Assignees
Labels

Comments

@websi
Copy link
Member

websi commented Jun 8, 2018

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
@websi websi added the bug label Jun 8, 2018
@websi websi self-assigned this Dec 3, 2018
@websi
Copy link
Member Author

websi commented Dec 3, 2018

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'

@websi
Copy link
Member Author

websi commented Jun 26, 2019

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant