[Koha-devel] Problem with upgrading and specify backup directory
Paul POULAIN
paul.poulain at free.fr
Wed Dec 8 04:52:12 CET 2004
Klaus Weidenbach a écrit :
>Heihei,
>
>Just tried to update to RC4 and got a problem with the koha.upgrade script.
>
>--- ERROR ---
>The upgrader will now try to backup your old files.
>
>Please specify a directory to store the backup in
>[/usr/local/backups]: /home/klaus/NFHS/datamaskiner/bibliotek/backup
>Use of uninitialized value in concatenation (.) or string at Install.pm line
>2117, <STDIN> line 5.
>Use of uninitialized value in concatenation (.) or string at Install.pm line
>2117, <STDIN> line 5.
>Use of uninitialized value in concatenation (.) or string at Install.pm line
>2117, <STDIN> line 5.
>Use of uninitialized value in concatenation (.) or string at Install.pm line
>2117, <STDIN> line 5.
>Error opening up backup
>file /usr/local/backups/Koha.backup_2004-12-08_13:00:34: No such file or
>directory
>--- END ---
>
>Seems it doesn't accept the specified folder. ;))
>
>
Are you sure you run the updater as a user with enough permissions ?
what happends if you add just after :
my $answer =
showmessage(getmessage('BackupDir',[$backupdir]),'free',$backupdir);
(in line 2089)
$backupdir = $answer;
?
--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)
More information about the Koha-devel
mailing list