kanku-worker crashes after image download if database is not existant ...
Opened this issue · 0 comments
M0ses commented
... but build is not recognized as failed by kanku-dispatcher
From worker log:
[2018/01/12 18:27:14][DEBUG][12781] Kanku::Daemon::Worker 310 - EXCEPTION REFERENCE: DBIx::Class::Exception
[2018/01/12 18:27:14][ERROR][12781] Kanku::Daemon::Worker 319 - DBIx::Class::Storage::DBI::_prepare_sth(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: image_download_history [for Statement "SELECT me.vm_image_url, me.vm_image_file, me.download_time FROM image_download_history me WHERE ( me.vm_image_url = ? )"] at /opt/kanku/bin/../lib/Kanku/Handler/ImageDownload.pm line 184
[2018/01/12 18:27:14][ERROR][12781] Kanku::Daemon::Worker 156 - encountered object 'DBIx::Class::Storage::DBI::_prepare_sth(): DBI Exception: DBD::SQLite::db prepare_cached failed: no such table: image_download_history [for Statement "SELECT me.vm_image_url, me.vm_image_file, me.download_time FROM image_download_history me WHERE ( me.vm_image_url = ? )"] at /opt/kanku/bin/../lib/Kanku/Handler/ImageDownload.pm line 184
', but neither allow_blessed, convert_blessed nor allow_tags settings are enabled (or TO_JSON/FREEZE method missing) at /opt/kanku/bin/../lib/Kanku/Daemon/Worker.pm line 321.