[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using dbconfig-common to upgrade an old database



On Thu, Mar 20, 2008 at 11:11:02AM +0000, Colin Turner wrote:

> I'm now packaging my new 4.0 for official submission, and I decided to
> use dbconfig-common to handle the database. So far that has been a
> qualified success. My new package installs find on a new system, and on
> an upgrade it does upgrade the database.
> 
> However, I can't seem to get it to honour the old configuration in the
> upgrade, and I wondered if anyone here could help me.

Hi,

if this is not a typo, it's probably the cause of the problem:

> dbconfig-load-include -f php /usr/share/opus/include/load_old_database.php

vs.

>         dbc_load_include="php:/usr/share/opus/include/load-old-database.php"

Try s/-/_/g :)

Otherwise, please give a link to the source package so it's easier to
look into.

Cheers,
-- 
Niko Tyni   ntyni@debian.org


Reply to: