Coder Social home page Coder Social logo

dkdeploy / dkdeploy-typo3-cms Goto Github PK

View Code? Open in Web Editor NEW
16.0 14.0 7.0 566 KB

dkdeploy-typo3-cms provides functionality for fully automated deployments targeting TYPO3 CMS applications

Home Page: https://dkdeploy.github.io/

License: MIT License

Ruby 64.04% Gherkin 35.96%
dkdeploy capistrano typo3 capistrano-tasks rubygem

dkdeploy-typo3-cms's People

Contributors

dkd-ebert avatar ncreuschling avatar nicolasleger avatar websi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dkdeploy-typo3-cms's Issues

cap dev assets:add_default_content breaks with IO error

      03 rm -f fileadmin.tar.gz
    โœ” 03 user@machine 0.056s
** Invoke file_access:set_custom_access (first_time)
** Execute file_access:set_custom_access
cap aborted!
TypeError: can't dump IO
s:in `dump'
/User/.rvm/gems/ruby-2.3.3/gems/capistrano-3.5.0/lib/capistrano/dsl.rb:53:in `on'
/User/.rvm/gems/ruby-2.3.3/gems/dkdeploy-core-7.0.2/lib/dkdeploy/tasks/file_access.rake:51:in `block (3 levels) in <top (required)>'
/User/.rvm/gems/ruby-2.3.3/gems/dkdeploy-core-7.0.2/lib/dkdeploy/tasks/file_access.rake:50:in `each'
/User/.rvm/gems/ruby-2.3.3/gems/dkdeploy-core-7.0.2/lib/dkdeploy/tasks/file_access.rake:50:in `block (2 levels) in <top (required)>'
Tasks: TOP => file_access:set_custom_access

Task "typo3:cms:add_admin_user" not working with TYPO3 9 LTS

After creating a new backend user the login does not work anymore.

Error message:

No implementation found to handle given hash. This happens if the stored hash uses a mechanism not supported by current server. Follow the wiki link to fix this issue.

MD5 is not supported anymore.
We must use typo3_console to create a new backend user.

Protype:

desc 'Add TYPO3 admin backend user'
task :add_admin_user, :typo3_username, :typo3_password do |_, args|
  typo3_username = ask_variable(args, :typo3_username, 'tasks.db.username')
  typo3_password = ask_variable(args, :typo3_password, 'tasks.db.password') { |question| question.echo = '*' }
  # Do not use "typo3_console" to prevent output of password within log
  output = capture_typo3_console_in_loop 1, 'backend:createadmin', '--no-interaction', typo3_username, typo3_password
  run_locally do
    info output
  end
end

Related: #12

deployment fails with error "TypeError: no _dump_data is defined for class Thread::Mutex" by using sshkit 1.11+

deployment fails with Error "TypeError: no _dump_data is defined for class Thread::Mutex" by using sshkit versions 1.11-11.15.

cap aborted!
TypeError: no _dump_data is defined for class Thread::Mutex

Tasks: TOP => deploy:set_current_revision
(See full trace by running task with --trace)
The deploy has failed with an error: no _dump_data is defined for class Thread::Mutex
00:47 deploy:failed
ERROR Error occurred at deployment. Rollback to old release
/Users/dimitriebert/.rvm/gems/ruby-2.3.5/gems/capistrano-3.9.1/lib/capistrano/dsl.rb:70:in 'dump': no _dump_data is defined for class Thread::Mutex (TypeError)

Related to this commit capistrano/sshkit@27b88ca

It results Thread::Mutex data in release_roles and can not be serialized by capistrano

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.