[Koha-bugs] [Bug 22417] Add a task queue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 11 09:58:46 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417

--- Comment #108 from David Cook <dcook at prosentient.com.au> ---

Used this test plan for server setup:
1. apt install rabbitmq-server
2. service rabbitmq-server start
3. rabbitmq-plugins enable rabbitmq_stomp
4. apt install libnet-stomp-perl
5. cp debian/scripts/koha-functions.sh /usr/share/koha/bin/koha-functions.sh
6. cp debian/scripts/koha-worker /usr/bin/
7. koha-worker --start kohadev
8. tail -f /var/log/rabbitmq/*

Used this test plan for Staff Interface:
1. Go to http://localhost:8081/cgi-bin/koha/tools/batch_record_modification.pl
2. Create template at
http://localhost:8081/cgi-bin/koha/tools/marc_modification_templates.pl which
will add a 900$a field of "MQ_TEST" to the records I'm going to modify
3. Go back to
http://localhost:8081/cgi-bin/koha/tools/batch_record_modification.pl
4. Choose newly created template and use a list of record numbers including
1-10. Complete following actions.
5. Got this error message: 
 Cannot enqueue this job. (The error was: {UNKNOWN}: Failed to connect: Error
connecting to localhost:61613: Connection refused at
/usr/share/perl5/Net/Stomp.pm line 27.; giving up at
/usr/share/perl5/Net/Stomp.pm line 27. at
/kohadevbox/koha/Koha/BackgroundJob.pm line 61 . See the Koha logfile for more
information).
6. service rabbitmq-server restart
7. Repeat Step 4
8. Go to
http://localhost:8081/cgi-bin/koha/admin/background_jobs.pl?op=view&id=2
9. Got error:
DBIx::Class::Schema::source(): Can't find source for BackgroundJob at
/kohadevbox/koha/Koha/Objects.pm line 543
 at /usr/share/perl5/DBIx/Class/Exception.pm line 77

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list