upgrade script and config file....
Heihei, I have reported some time ago that I had a problem with the 'koha.conf' file and the koha.upgrade script if the config file is not in the default destination. I got the hint here that I should do: $ export KOHA_CONF=/path/to/koha.conf before running the update script. Well, I tried it today with the 2.2.0 release, but it is not working. Just took a short look on the script and I think this KOHA_CONF will never get read *gg* The method 'loadconfigfile' in the 'Install.pm' will just read $etcdir, so there is no other way than modifying the path to my koha.conf file in the 'koha.upgrade' script, isn't it? Still wishing a command line option for this somehow, or well at least a warning if the koha.conf file couldn't get found, because the database backup will fail anyway or a hint that you need to set the path to it somewhere first if you not installed into the default destination would maybe help quite a lot already. ;)) Thanks!!! Oh the translation files look now different from RC5 and I think I will try again soon if I got it installed. Thanks! =)) Regards, Klaus -- take care! xo,klaus
Klaus Weidenbach <Klaus.Weidenbach@gmx.net> wrote:
the 'Install.pm' will just read $etcdir, so there is no other way than=20 modifying the path to my koha.conf file in the 'koha.upgrade' script, isn't=
You can set etcdir (and prefix too) before running koha.upgrade: export etcdir=/etc # or whatever export prefix=/usr/local/koha # or whatever ./koha.upgrade If that doesn't work, it's a bug. I'll put "add koha.conf warning" to my TODO. -- MJR/slef
participants (2)
-
Klaus Weidenbach -
MJ Ray