https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662 --- Comment #276 from David Cook <dcook@prosentient.com.au> --- (In reply to Mirko Tietgen from comment #275)
(In reply to David Cook from comment #273)
It sounds like you've got the code dependencies but you'll need to set up the harvester daemon and run it as per https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662#c198.
Thanks, that helped. Some comments: - The Koha user can't create a directory in "/var/spool/koha/$instance/". We have the DB backups there and the folder belongs to root. I think /var/spool/koha/$instance/OAI" belonging to the Koha user would work better
I think I've already taken that into account? When you do koha-create, it should use root access to create the relevant directory in /var/spool/koha/$instance/ and assign the permissions to the Koha user. I know I've already looked at this but maybe I'll need to look again. I don't think anyone else has had a problem with it?
- I have a problem related to the schema change in bug 22155
[2019-05-02 10:06:00][DEBUG] [download][pid 2866][STDERR] Creating child process to download and feed parent process parser. at Koha/OAI/Harvester/Downloader.pm line 287. [2019-05-02 10:06:00][DEBUG] [download][pid 2866][STDERR] Creating parent process parser. at Koha/OAI/Harvester/Downloader.pm line 293. [2019-05-02 10:06:01][DEBUG] Registering POE::Session=ARRAY(0x91f7df8) as import for cf4d071b-76a9-4fff-b13d-c5a8bd27ed4a [2019-05-02 10:06:01][DEBUG] Child pid 3032 started as wheel 126 [2019-05-02 10:06:01][DEBUG] [import][pid 3032][STDERR] DBD::mysql::st execute failed: Unknown column 'me.marcflavour' in 'field list' [for Statement "SELECT `me`.`id`, `me`.`biblionumber`, `me`.`format`, `me`.`marcflavour`, `me`.`metadata`, `me`.`timestamp` FROM `biblio_metadata` `me` WHERE ( ( `me`.`biblionumber` = ? AND `me`.`format` = ? AND `me`.`marcflavour` = ? ) )" with ParamValues: 0='1271', 1='marcxml', 2='MARC21'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832. [2019-05-02 10:06:01][DEBUG] [import][pid 3032][STDERR] DBIx::Class::Storage::DBI::_dbh_execute(): Unknown column 'me.marcflavour' in 'field list' at /usr/share/koha/lib/Koha/Objects.pm line 92 [2019-05-02 10:06:01][DEBUG] [import][pid 3032] closed all pipes [2019-05-02 10:06:01][DEBUG] [import][pid 3032] exited with status 0
Ah, interesting. I'll keep that in mind for when I find some time to work on this. -- You are receiving this mail because: You are watching all bug changes.