This question has been flagged
1 Reply
4456 Views

I'm having trouble setting up the queue_job module.

logfile tells me the jobrunner has started properly:

2018-06-15 22:27:54,206 27562 INFO ? odoo.addons.queue_job.jobrunner: starting jobrunner thread (in threaded server)
2018-06-15 22:27:54,206 27562 INFO ? odoo.addons.queue_job.jobrunner.channels: Configured channel: root(C:1,Q:0,R:0,F:0)
2018-06-15 22:27:59,211 27562 INFO ? odoo.addons.queue_job.jobrunner.runner: starting
2018-06-15 22:27:59,211 27562 INFO ? odoo.addons.queue_job.jobrunner.runner: initializing database connections
2018-06-15 22:27:59,239 27562 DEBUG ? odoo.addons.queue_job.jobrunner.runner: queue_job is not installed for db test_1
2018-06-15 22:27:59,252 27562 DEBUG ? odoo.addons.queue_job.jobrunner.runner: queue_job is not installed for db portal_test
2018-06-15 22:27:59,270 27562 DEBUG ? odoo.addons.queue_job.jobrunner.channels: job cc96bc05-9ada-49d0-814e-215a1bb3d5b4 marked pending in channel root(C:1,Q:1,R:0,F:0)
2018-06-15 22:27:59,270 27562 INFO ? odoo.addons.queue_job.jobrunner.runner: queue job runner ready for db test1

But when it tries to run there's  a 404 error on /queue_job/runjob:

2018-06-15 22:26:25,877 16233 ERROR ? odoo.addons.queue_job.jobrunner.runner: exception in GET http://localhost:8069/queue_job/runjob?db=test1&job_uuid=cc96bc05-9ada-49d0-814e-215a1bb3d5b4
Traceback (most recent call last):
  File "/opt/odoo10_0/oca-queue/queue_job/jobrunner/runner.py", line 196, in urlopen
    response.raise_for_status()
  File "/opt/odoo10_0/_venv/local/lib/python2.7/site-packages/requests/models.py", line 862, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: NOT FOUND for url: http://localhost:8069/queue_job/runjob?db=test1&job_uuid=cc96bc05-9ada-49d0-814e-215a1bb3d5b4

I can wget http://localhost:8069 with no 404 error.

Any ideas?

Thanks.

Avatar
Discard
Best Answer

Hi Sirs,

Could you solve this???

Thanks,

Avatar
Discard