From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] В надежде запустить redmine
Date: Wed, 07 Jul 2010 10:54:01 +0300
Message-ID: <4C343299.3080309@rambler.ru> (raw)
In-Reply-To: <20100706210902.GA3425@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]
07.07.2010 00:09, Alexey I. Froloff пишет:
> On Sun, Jul 04, 2010 at 07:02:32PM +0300, Di wrote:
>
>> rake aborted!
>> production_maintenance database is not configured
>>
> В README всё написано. Надо настроить базу ещё в одном конфиге
Всё так и было настроено.
(прикрепил конфиги)
drwxrwxrwt 7 root root 4096 Jul 6 23:08 ./
-rw-rw-rw- 1 root root 210944 Jul 4 20:13 /tmp/test2
Вроде, с конфигами всё хорошо... как и с правами =\
Пробую настроить:
# pwd
/usr/share/redmine
# rake SCHEMA=/dev/null RAILS_ENV=production_maintenance
X_ALT_SITEID=test2 RAILS_ETC=/etc/redmine/test2 db:migrate
db:migrate_plugins
(in /usr/share/redmine)
rake aborted!
production_maintenance database is not configured
(See full trace by running task with --trace)
# rake SCHEMA=/dev/null RAILS_ENV=production X_ALT_SITEID=test2
RAILS_ETC=/etc/redmine/test2 db:migrate db:migrate_plugins
(in /usr/share/redmine)
# rake SCHEMA=/dev/null RAILS_ENV=maintenance X_ALT_SITEID=test2
RAILS_ETC=/etc/redmine/test2 db:migrate db:migrate_plugins
(in /usr/share/redmine)
rake aborted!
undefined method `[]' for nil:NilClass
(See full trace by running task with --trace)
Т.е. БД он заполняет в режиме production, но как раз полезную штуку с
режимами production/maintenance и разделением прав, сделать не
получается. Может, это связано с тем, что я sqlite использую (хотя, это
было очень странно)?
[-- Attachment #2: database.yml --]
[-- Type: text/plain, Size: 68 bytes --]
production:
adapter: sqlite3
database: /tmp/test2
encoding: utf8
[-- Attachment #3: database-maintenance.yml --]
[-- Type: text/plain, Size: 68 bytes --]
production:
adapter: sqlite3
database: /tmp/test2
encoding: utf8
[-- Attachment #4: denyago.vcf --]
[-- Type: text/x-vcard, Size: 370 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:80445201209
tel;cell:80662933760
note;quoted-printable:xmmp: denyago@gmail.com=0D=0A=
xmmp: diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard
next prev parent reply other threads:[~2010-07-07 7:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-04 16:02 Di
2010-07-06 21:09 ` Alexey I. Froloff
2010-07-07 7:54 ` Денис Ягофаров [this message]
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=4C343299.3080309@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