dkdeploy / dkdeploy-typo3-cms Goto Github PK
View Code? Open in Web Editor NEWdkdeploy-typo3-cms provides functionality for fully automated deployments targeting TYPO3 CMS applications
Home Page: https://dkdeploy.github.io/
License: MIT License
dkdeploy-typo3-cms provides functionality for fully automated deployments targeting TYPO3 CMS applications
Home Page: https://dkdeploy.github.io/
License: MIT License
At dkdeploy-typo3-cms
the TYPO3 specific configuration should be added.
Please check this changes:
dkdeploy/dkdeploy-core#17
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
We need a task to setup all active TYPO3 extension.
namespace :typo3 do
namespace :cms do
desc 'Task to import static extension data into TYPO3'
task :setup_active_extensions do
typo3_console 'extension:setupactive', '--verbose'
end
end
end
With typo3_console 5.0.0 the support for the TYPO3 binary was dropped.
So method typo3_cli
does not work anymore.
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 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
The template do not use the variable $GLOBAL
for assigning values within array TYPO3_CONF_VARS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.