[sisyphus] В надежде запустить redmine

Di denyago на rambler.ru
Вс Июл 4 16:02:32 UTC 2010


Доброго времени суток!

Попробовал заставить работать redmine, но не преуспел.

# redmine-rake db:migrate db:migrate_plugins
redmine-rake: processing `test2'...
(in /usr/share/redmine)
rake aborted!
production_maintenance database is not configured

(See full trace by running task with --trace)
redmine-rake: WARNING: `rake SCHEMA=/dev/null 
RAILS_ENV=production_maintenance X_ALT_SITEID=test2 
RAILS_ETC=/etc/redmine/test2 db:migrate db:migrate_plugins' exited with 1

С другой стороны,
rake SCHEMA=/dev/null RAILS_ENV=production X_ALT_SITEID=test2 
RAILS_ETC=/etc/redmine/test2 db:migrate db:migrate_plugins
заканчивается успешно.

# cat /etc/redmine/test2/database.yml
production:
  adapter: sqlite3
  database: /tmp/test2
  encoding: utf8

# ll /tmp
drwxrwxrwt  7 root root 4096 Jul  4 18:29 ./

# rpm -qa | grep ruby
ruby-racc-runtime-1.4.6-alt1.1
ruby-nokogiri-1.4.0-alt1
ruby-prof-0.7.3-alt1
ruby-activerecord-2.3.8-alt1
ruby-actionmailer-2.3.8-alt1
ruby-json-1.1.7-alt1
ruby-fcgi-0.8.7-alt2
ruby-mongrel-1.1.5-alt5
ruby-rmagick-2.11.0-alt1
ruby-builder-2.1.2-alt3
ruby-xml-simple-1.0.12-alt1
ruby-tzinfo-0.3.13-alt1
ruby-stdlibs-1.9.1-alt1.r26040.1
sqlite3-ruby-1.3.0-alt1
ruby-tool-rdoc-1.9.1-alt1.r26040.1
ruby-tool-irb-1.9.1-alt1.r26040.1
ruby-test-unit-2.0.6-alt2
ruby-rack-1.1.0-alt2
ruby-gem_plugin-0.2.3-alt2
ruby-openid-2.1.8-alt1
rubytree-0.5.2-alt1
ruby-activerecord-sqlite3-adapter-2.3.8-alt1
ruby-tmail-1.2.3.1-alt2
libxml-ruby-1.1.3-alt1
ruby-i18n-0.3.7-alt2
ruby-activesupport-2.3.8-alt1
ruby-actionpack-2.3.8-alt1.1
ruby-activeresource-2.3.8-alt1
ruby-railties-2.3.8-alt1
ruby-rails-2.3.8-alt1
ruby-mongrel_cluster-1.0.5-alt4
libruby-devel-1.9.1-alt1.r26040.1
ruby-memcache-client-1.7.4-alt1
libruby-1.9.1-alt1.r26040.1
rpm-build-ruby-0.1.0-alt1
ruby-1.9.1-alt1.r26040.1
ruby-rake-0.8.4-alt1
ruby-rack-handler-webrick-1.1.0-alt2
ruby-coderay-0.9.2-alt1
ruby-daemons-1.0.10-alt2
ruby-text-format-1.0.0-alt3
# rpm -qa | grep sqlite
libsqlite-2.8.17-alt2
libsqlite3-3.6.23.1-alt3
sqlite3-ruby-1.3.0-alt1
ruby-activerecord-sqlite3-adapter-2.3.8-alt1
sqlite-2.8.17-alt2
python-module-pysqlite2-2.4.1-alt1.1
sqlite3-3.6.23.1-alt3

С трейсом:

# rake SCHEMA=/dev/null RAILS_ENV=production_maintenance 
X_ALT_SITEID=test2 RAILS_ETC=/etc/redmine/test2 db:migrate 
db:migrate_plugins --trace
(in /usr/share/redmine)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
production_maintenance database is not configured
/usr/share/ruby/vendor_ruby/1.9/active_record/connection_adapters/abstract/connection_specification.rb:62:in 
`establish_connection'
/usr/share/ruby/vendor_ruby/1.9/active_record/connection_adapters/abstract/connection_specification.rb:55:in 
`establish_connection'
/usr/share/ruby/vendor_ruby/1.9/initializer.rb:450:in `initialize_database'
/usr/share/ruby/vendor_ruby/1.9/initializer.rb:147:in `process'
/usr/share/ruby/vendor_ruby/1.9/initializer.rb:119:in `run'
/usr/share/redmine/config/environment.rb:33:in `<top (required)>'
/usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in 
`require'
/usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in 
`block in require'
/usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:521:in 
`new_constants_in'
/usr/share/ruby/vendor_ruby/1.9/active_support/dependencies.rb:156:in 
`require'
/usr/share/ruby/vendor_ruby/1.9/tasks/misc.rake:4:in `block in <top 
(required)>'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:617:in `call'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:617:in `block in execute'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:612:in `each'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:612:in `execute'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:578:in `block in 
invoke_with_call_chain'
/usr/share/ruby/1.9/monitor.rb:190:in `mon_synchronize'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:571:in `invoke_with_call_chain'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:588:in `block in 
invoke_prerequisites'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:585:in `each'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:585:in `invoke_prerequisites'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:577:in `block in 
invoke_with_call_chain'
/usr/share/ruby/1.9/monitor.rb:190:in `mon_synchronize'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:571:in `invoke_with_call_chain'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:564:in `invoke'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2027:in `invoke_task'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2005:in `block (2 levels) in 
top_level'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2005:in `each'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2005:in `block in top_level'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2044:in 
`standard_exception_handling'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:1999:in `top_level'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:1977:in `block in run'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:2044:in 
`standard_exception_handling'
/usr/share/ruby/vendor_ruby/1.9/rake.rb:1974:in `run'
/usr/bin/rake:27:in `<main>'


----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : denyago.vcf
Тип     : text/x-vcard
Размер  : 366 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20100704/b70a09aa/attachment.vcf>


Подробная информация о списке рассылки Sisyphus