volanja / ansible-redmine Goto Github PK
View Code? Open in Web Editor NEWRedmine by ansible
Redmine by ansible
Now, I add user 'redmine' and install ruby used by rbenv in /home/redmine
.
So, If I installed ruby in root system. I can not start redmine.
I will change /etc/init.d/redmine
.
PDF出力時も表示されていること。
Install redmine 3.0.0 & ruby 2.2.0.
But redmine_oauth_provider errored.
# ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
# su - redmine
$ cd redmine/plugins/redmine_oauth_provider
$ rake redmine:plugins:migrate RAILS_ENV=production
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
undefined method `assert_valid_keys' for :unique:Symbol/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:875:in `add_index_options'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:478:in `add_index'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:662:in `block in method_missing'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:632:in `block in say_with_time'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:632:in `say_with_time'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:652:in `method_missing'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:417:in `method_missing'
/home/redmine/redmine/plugins/redmine_oauth_provider/db/migrate/001_create_oauth_tables.rb:37:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:569:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:609:in `exec_migration'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:590:in `block (2 levels) in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:589:in `block in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:588:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:765:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:995:in `block in execute_migration_in_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:1041:in `block in ddl_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:220:in `transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:1041:in `ddl_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:956:in `block in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:in `each'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:820:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:798:in `migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:474:in `migrate_plugin'
/home/redmine/redmine/lib/redmine/plugin.rb:446:in `migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:460:in `block in migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:459:in `each'
/home/redmine/redmine/lib/redmine/plugin.rb:459:in `migrate'
/home/redmine/redmine/lib/tasks/redmine.rake:127:in `block (3 levels) in <top (required)>'
NoMethodError: undefined method `assert_valid_keys' for :unique:Symbol
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:875:in `add_index_options'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:478:in `add_index'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:662:in `block in method_missing'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:632:in `block in say_with_time'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:632:in `say_with_time'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:652:in `method_missing'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:417:in `method_missing'
/home/redmine/redmine/plugins/redmine_oauth_provider/db/migrate/001_create_oauth_tables.rb:37:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:569:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:609:in `exec_migration'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:590:in `block (2 levels) in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:589:in `block in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:588:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:765:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:995:in `block in execute_migration_in_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:1041:in `block in ddl_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:220:in `transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:1041:in `ddl_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:956:in `block in migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:in `each'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:in `migrate'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:820:in `up'
/home/redmine/redmine/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:798:in `migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:474:in `migrate_plugin'
/home/redmine/redmine/lib/redmine/plugin.rb:446:in `migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:460:in `block in migrate'
/home/redmine/redmine/lib/redmine/plugin.rb:459:in `each'
/home/redmine/redmine/lib/redmine/plugin.rb:459:in `migrate'
/home/redmine/redmine/lib/tasks/redmine.rake:127:in `block (3 levels) in <top (required)>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)
stdout: Migrating redmine_oauth_provider (Redmine Oauth Provider plugin)...
== 1 CreateOauthTables: migrating =============================================
-- create_table(:client_applications)
-> 0.2298s
-- add_index(:client_applications, :key, {:unique=>true})
-> 0.0140s
-- create_table(:oauth_tokens)
-> 0.0608s
-- add_index(:oauth_tokens, :token, {:unique=>true})
-> 0.0102s
-- create_table(:oauth_nonces)
-> 0.0953s
-- add_index(:oauth_nonces, [:nonce, :timestamp], :unique)
FATAL: all hosts have already failed -- aborting
PDF出力時も表示されていること。
Hi,
Recently we've released galaxy.ansibleworks.com which is a site that lets people share roles in Ansible with other users.
Would you be interested in submitting this content there so the community can find it?
(NOTE: if you content isn't already in role form, galaxy does require roles, and you should also update any legacy variables like $foo to {{ foo }} at this time as well)
If you are not interested that's totally fine, but I thought I would ask. (Feel free to delete this ticket).
Thanks very much!
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.