ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Di <denyago@rambler.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] В надежде запустить redmine
Date: Sun, 04 Jul 2010 19:02:32 +0300
Message-ID: <4C30B098.1030507@rambler.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 4986 bytes --]

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

Попробовал заставить работать 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>'



[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


             reply	other threads:[~2010-07-04 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04 16:02 Di [this message]
2010-07-06 21:09 ` Alexey I. Froloff
2010-07-07  7:54   ` Денис Ягофаров
2010-07-09 18:30     ` Alexey I. Froloff
2010-07-10  8:49       ` Денис Ягофаров

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C30B098.1030507@rambler.ru \
    --to=denyago@rambler.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git