jestallings

api-error.log

Jul 25th, 2021
169
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [2021/07/25 10:29:48] [ERROR] Warning: Could not load REST API spec bundle: Can't locate object method "bundle" via package "JSON::Validator::OpenAPI::Mojolicious" at /usr/share/koha/lib/Koha/REST/V1.pm line 79.
  2. Koha::REST::V1::catch {...} /usr/share/koha/lib/Koha/REST/V1.pm (111)
  3. [2021/07/25 10:29:48] [ERROR] Warning: Could not load REST API spec bundle: Can't locate object method "bundle" via package "JSON::Validator::OpenAPI::Mojolicious" at /usr/share/koha/lib/Koha/REST/V1.pm line 79.
  4. Koha::REST::V1::catch {...} /usr/share/koha/lib/Koha/REST/V1.pm (111)
  5. [2021/07/25 10:29:53] [ERROR] Plugin Koha::Plugin::Com::Theke::PayViaPayPal route injection failed: The resulting spec is invalid. Skipping Pay Via PayPal Koha::REST::Plugin::PluginRoutes::catch {...} /usr/share/koha/lib/Koha/REST/Plugin/PluginRoutes.pm (96)
  6. [2021/07/25 10:29:53] [ERROR] Plugin Koha::Plugin::Com::Theke::PayViaPayPal route injection failed: The resulting spec is invalid. Skipping Pay Via PayPal Koha::REST::Plugin::PluginRoutes::catch {...} /usr/share/koha/lib/Koha/REST/Plugin/PluginRoutes.pm (96)
  7. [2021/07/25 10:29:54] [ERROR] Warning: Could not load REST API spec bundle: Invalid schema:
  8. /paths/~1transfer_limits~1batch/delete/parameters/0: oneOf failed: oneOf failed: (anyOf failed: Expected object or boolean, got string.. Expected boolean - got number.) Missing property. Properties not allowed: required, schema, description, in, name.
  9. /paths/~1transfer_limits~1batch/post/parameters/0: oneOf failed: oneOf failed: (anyOf failed: Expected object or boolean, got string.. Expected boolean - got number.) Missing property. Properties not allowed: in, description, required, schema, name.
  10. /paths/~1transfer_limits/post/parameters/0: oneOf failed: oneOf failed: Expected boolean - got number. Missing property. Properties not allowed: description, in, required, schema, name.
  11. /paths/~1transfer_limits/get/parameters/0: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Not in enum list: formData.. Expected boolean - got string.) Expected boolean - got string. (Not in enum list: path.. Expected boolean - got string.) Properties not allowed: name, description, in, required, type.
  12. /paths/~1transfer_limits/get/parameters/1: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Not in enum list: formData.. Expected boolean - got string.) Expected boolean - got string. (Not in enum list: path.. Expected boolean - got string.) Properties not allowed: name, description, in, type, required.
  13. /paths/~1transfer_limits/get/parameters/2: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Expected boolean - got string.. Not in enum list: formData.) Expected boolean - got string. (Expected boolean - got string.. Not in enum list: path.) Properties not allowed: type, required, description, in, name.
  14. /paths/~1transfer_limits/get/parameters/3: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Expected boolean - got string.. Not in enum list: header.) (Not in enum list: formData.. Expected boolean - got string.) Expected boolean - got string. (Expected boolean - got string.. Not in enum list: path.) Properties not allowed: type, required, description, in, name. at /usr/share/perl5/JSON/Validator/OpenAPI.pm line 28.
  15. JSON::Validator::OpenAPI::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x564c6e66ec60), HASH(0x564c6b01e5e0), HASH(0x564c6e7eb000)) called at /usr/share/perl5/Mojolicious/Plugin/OpenAPI.pm line 22
  16. Mojolicious::Plugin::OpenAPI::register(Mojolicious::Plugin::OpenAPI=HASH(0x564c6e7eb030), Koha::REST::V1=HASH(0x564c6a376218), HASH(0x564c6e62b1e0)) called at /usr/share/perl5/Mojolicious/Plugins.pm line 46
  17. Mojolicious::Plugins::register_plugin(Mojolicious::Plugins=HASH(0x564c6adbd128), "OpenAPI", Koha::REST::V1=HASH(0x564c6a376218), HASH(0x564c6e62b1e0)) called at /usr/share/perl5/Mojolicious.pm line 181
  18. Mojolicious::plugin(Koha::REST::V1=HASH(0x564c6a376218), "OpenAPI", HASH(0x564c6e62b1e0)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 130
  19. Koha::REST::V1::try {...} () called at /usr/share/perl5/Try/Tiny.pm line 103
  20. eval {...} called at /usr/share/perl5/Try/Tiny.pm line 94
  21. Try::Tiny::try(CODE(0x564c6ae4fac0), Try::Tiny::Catch=REF(0x564c6ae09268)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 144
  22. Koha::REST::V1::catch {...} ("Can't locate object method \"bundle\" via package \"JSON::Valida"...) called at /usr/share/perl5/Try/Tiny.pm line 124
  23. Try::Tiny::try(CODE(0x564c6ae4f8f8), Try::Tiny::Catch=REF(0x564c68438538)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 145
  24. Koha::REST::V1::startup(Koha::REST::V1=HASH(0x564c6a376218)) called at /usr/share/perl5/Mojolicious.pm line 174
  25. Mojolicious::new("Koha::REST::V1") called at /usr/share/perl5/Mojo/Server.pm line 17
  26. Mojo::Server::build_app(Mojo::Server=HASH(0x564c6a376188), "Koha::REST::V1") called at /usr/share/perl5/Mojolicious/Commands.pm line 71
  27. Mojolicious::Commands::start_app("Mojolicious::Commands", "Koha::REST::V1") called at /usr/share/koha/api/v1/app.pl line 21
  28. require /usr/share/koha/api/v1/app.pl called at (eval 501) line 1
  29. eval 'package Mojo::Server::Sandbox::e02d8dd2b7bd893f6bb5f5d2b2b726fa; require $path' called at /usr/share/perl5/Mojo/Server.pm line 54
  30. Mojo::Server::load_app(Mojo::Server::PSGI=HASH(0x564c6a375b10), "/usr/share/koha/api/v1/app.pl") called at /etc/koha/plack.psgi line 65
  31. Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi::__ANON__() called at /usr/share/perl5/Plack/Builder.pm line 118
  32. Plack::Builder::builder(CODE(0x564c634d87d8)) called at /etc/koha/plack.psgi line 67
  33. require /etc/koha/plack.psgi called at (eval 14) line 3
  34. eval 'package Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi;
  35. {
  36. my $app = do $_file;
  37. if ( !$app && ( my $error = $@ || $! )) { die $error; }
  38. $app;
  39. }
  40. ' called at /usr/share/perl5/Plack/Util.pm line 120
  41. Plack::Util::_load_sandbox("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Util.pm line 136
  42. Plack::Util::load_psgi("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Runner.pm line 179
  43. Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
  44. Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
  45. Plack::Runner::__ANON__() called at /usr/share/perl5/Starman/Server.pm line 174
  46. Starman::Server::child_init_hook(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 222
  47. Net::Server::PreFork::run_child(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187
  48. Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x564c62f67f98), 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 111
  49. Net::Server::PreFork::loop(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server.pm line 60
  50. Net::Server::run(Starman::Server=HASH(0x564c62f67f98), "port", ARRAY(0x564c634048f0), "host", "*", "proto", "tcp", "serialize", ...) called at /usr/share/perl5/Starman/Server.pm line 106
  51. Starman::Server::run(Starman::Server=HASH(0x564c62f67f98), CODE(0x564c62f67e60), HASH(0x564c62f67c20)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 25
  52. Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x564c62f67e78), CODE(0x564c62f67e60)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20
  53. Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x564c62d92780), Plack::Handler::Starman=HASH(0x564c62f67e78)) called at /usr/share/perl5/Plack/Runner.pm line 277
  54. Plack::Runner::run(Plack::Runner=HASH(0x564c62d320f8)) called at /usr/bin/starman line 38
  55. Koha::REST::V1::catch {...} /usr/share/koha/lib/Koha/REST/V1.pm (143)
  56. [2021/07/25 10:29:54] [ERROR] Warning: Could not load REST API spec bundle: Invalid schema:
  57. /paths/~1transfer_limits/get/parameters/0: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Expected boolean - got string.. Not in enum list: formData.) Expected boolean - got string. (Expected boolean - got string.. Not in enum list: path.) Properties not allowed: type, required, in, description, name.
  58. /paths/~1transfer_limits/get/parameters/1: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Not in enum list: formData.. Expected boolean - got string.) Expected boolean - got string. (Expected boolean - got string.. Not in enum list: path.) Properties not allowed: name, required, type, description, in.
  59. /paths/~1transfer_limits/get/parameters/2: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Expected boolean - got string.. Not in enum list: formData.) Expected boolean - got string. (Not in enum list: path.. Expected boolean - got string.) Properties not allowed: name, type, required, description, in.
  60. /paths/~1transfer_limits/get/parameters/3: oneOf failed: oneOf failed: Properties not allowed: type. oneOf failed: (Not in enum list: header.. Expected boolean - got string.) (Not in enum list: formData.. Expected boolean - got string.) Expected boolean - got string. (Expected boolean - got string.. Not in enum list: path.) Properties not allowed: in, description, type, required, name.
  61. /paths/~1transfer_limits/post/parameters/0: oneOf failed: oneOf failed: Expected boolean - got number. Missing property. Properties not allowed: schema, required, in, description, name.
  62. /paths/~1transfer_limits~1batch/post/parameters/0: oneOf failed: oneOf failed: (Expected boolean - got number.. anyOf failed: Expected object or boolean, got string.) Missing property. Properties not allowed: name, description, in, required, schema.
  63. /paths/~1transfer_limits~1batch/delete/parameters/0: oneOf failed: oneOf failed: (Expected boolean - got number.. anyOf failed: Expected object or boolean, got string.) Missing property. Properties not allowed: in, description, schema, required, name. at /usr/share/perl5/JSON/Validator/OpenAPI.pm line 28.
  64. JSON::Validator::OpenAPI::load_and_validate_schema(JSON::Validator::OpenAPI::Mojolicious=HASH(0x564c6e7810e0), HASH(0x564c6afbb4e8), HASH(0x564c6e694090)) called at /usr/share/perl5/Mojolicious/Plugin/OpenAPI.pm line 22
  65. Mojolicious::Plugin::OpenAPI::register(Mojolicious::Plugin::OpenAPI=HASH(0x564c6e4432d8), Koha::REST::V1=HASH(0x564c6a334028), HASH(0x564c6e5a3060)) called at /usr/share/perl5/Mojolicious/Plugins.pm line 46
  66. Mojolicious::Plugins::register_plugin(Mojolicious::Plugins=HASH(0x564c6ad84650), "OpenAPI", Koha::REST::V1=HASH(0x564c6a334028), HASH(0x564c6e5a3060)) called at /usr/share/perl5/Mojolicious.pm line 181
  67. Mojolicious::plugin(Koha::REST::V1=HASH(0x564c6a334028), "OpenAPI", HASH(0x564c6e5a3060)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 130
  68. Koha::REST::V1::try {...} () called at /usr/share/perl5/Try/Tiny.pm line 103
  69. eval {...} called at /usr/share/perl5/Try/Tiny.pm line 94
  70. Try::Tiny::try(CODE(0x564c6ae0d7d0), Try::Tiny::Catch=REF(0x564c6adc6f58)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 144
  71. Koha::REST::V1::catch {...} ("Can't locate object method \"bundle\" via package \"JSON::Valida"...) called at /usr/share/perl5/Try/Tiny.pm line 124
  72. Try::Tiny::try(CODE(0x564c6ae0d638), Try::Tiny::Catch=REF(0x564c68438388)) called at /usr/share/koha/lib/Koha/REST/V1.pm line 145
  73. Koha::REST::V1::startup(Koha::REST::V1=HASH(0x564c6a334028)) called at /usr/share/perl5/Mojolicious.pm line 174
  74. Mojolicious::new("Koha::REST::V1") called at /usr/share/perl5/Mojo/Server.pm line 17
  75. Mojo::Server::build_app(Mojo::Server=HASH(0x564c6a333f98), "Koha::REST::V1") called at /usr/share/perl5/Mojolicious/Commands.pm line 71
  76. Mojolicious::Commands::start_app("Mojolicious::Commands", "Koha::REST::V1") called at /usr/share/koha/api/v1/app.pl line 21
  77. require /usr/share/koha/api/v1/app.pl called at (eval 501) line 1
  78. eval 'package Mojo::Server::Sandbox::e02d8dd2b7bd893f6bb5f5d2b2b726fa; require $path' called at /usr/share/perl5/Mojo/Server.pm line 54
  79. Mojo::Server::load_app(Mojo::Server::PSGI=HASH(0x564c6a333920), "/usr/share/koha/api/v1/app.pl") called at /etc/koha/plack.psgi line 65
  80. Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi::__ANON__() called at /usr/share/perl5/Plack/Builder.pm line 118
  81. Plack::Builder::builder(CODE(0x564c634d87d8)) called at /etc/koha/plack.psgi line 67
  82. require /etc/koha/plack.psgi called at (eval 14) line 3
  83. eval 'package Plack::Sandbox::_2fetc_2fkoha_2fplack_2epsgi;
  84. {
  85. my $app = do $_file;
  86. if ( !$app && ( my $error = $@ || $! )) { die $error; }
  87. $app;
  88. }
  89. ' called at /usr/share/perl5/Plack/Util.pm line 120
  90. Plack::Util::_load_sandbox("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Util.pm line 136
  91. Plack::Util::load_psgi("/etc/koha/plack.psgi") called at /usr/share/perl5/Plack/Runner.pm line 179
  92. Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
  93. Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 24
  94. Plack::Runner::__ANON__() called at /usr/share/perl5/Starman/Server.pm line 174
  95. Starman::Server::child_init_hook(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 222
  96. Net::Server::PreFork::run_child(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187
  97. Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x564c62f67f98), 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 111
  98. Net::Server::PreFork::loop(Starman::Server=HASH(0x564c62f67f98)) called at /usr/share/perl5/Net/Server.pm line 60
  99. Net::Server::run(Starman::Server=HASH(0x564c62f67f98), "port", ARRAY(0x564c634048f0), "host", "*", "proto", "tcp", "serialize", ...) called at /usr/share/perl5/Starman/Server.pm line 106
  100. Starman::Server::run(Starman::Server=HASH(0x564c62f67f98), CODE(0x564c62f67e60), HASH(0x564c62f67c20)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 25
  101. Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x564c62f67e78), CODE(0x564c62f67e60)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20
  102. Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x564c62d92780), Plack::Handler::Starman=HASH(0x564c62f67e78)) called at /usr/share/perl5/Plack/Runner.pm line 277
  103. Plack::Runner::run(Plack::Runner=HASH(0x564c62d320f8)) called at /usr/bin/starman line 38
  104. Koha::REST::V1::catch {...} /usr/share/koha/lib/Koha/REST/V1.pm (143)
  105.  
RAW Paste Data