server_1 | 2022-02-16T06:00:42.086Z - info: Loading Error Query result: true
server_1 | 2022-02-16T06:00:42.086Z - info: Start execution of Chapter/Book Publish Command - publishComponent
server_1 | 2022-02-16T06:00:43.387Z - info: Start execution of Update Status of Book and BookComponent Command - updateStatus
server_1 | `QueryBuilder#joinEager` method is deprecated. You should use the `withGraphJoined` method instead. `joinEager` method will be removed in 3.0
server_1 | {
server_1 | method: 'select',
server_1 | options: {},
server_1 | timeout: false,
server_1 | cancelOnTimeout: false,
server_1 | bindings: [ '65c4db04-9938-444e-96d9-eef1df355a63' ],
server_1 | __knexQueryUid: 'miDVxDFKh8s4T46sgP1nV',
server_1 | sql: 'select "collections"."id" as "id", "collections"."type" as "type", "collections"."created" as "created", "collections"."updated" as "updated", "collections"."owner_id" as "owner_id", "collections"."organisation_id" as "organisation_id", "collections"."file_cover" as "file_cover", "collections"."status" as "status", "collections"."workflow" as "workflow", "collections"."title" as "title", "collections"."domain" as "domain", "collections"."abstract" as "abstract", "collections"."abstract_title" as "abstract_title", "collections"."parent_id" as "parent_id", "collections"."components" as "components", "collections"."metadata" as "metadata", "collections"."settings" as "settings", "collections"."alias" as "alias", "collections"."domain_id" as "domain_id", "collections"."collection_type" as "collection_type", "books"."id" as "books:id", "books"."type" as "books:type", "books"."created" as "books:created", "books"."updated" as "books:updated", "books"."organisation_id" as "books:organisation_id", "books"."file_cover" as "books:file_cover", "books"."file_abstract" as "books:file_abstract", "books"."owner_id" as "books:owner_id", "books"."divisions" as "books:divisions", "books"."status" as "books:status", "books"."agreement" as "books:agreement", "books"."domain_id" as "books:domain_id", "books"."domain" as "books:domain", "books"."book_submit_id" as "books:book_submit_id", "books"."abstract" as "books:abstract", "books"."abstract_title" as "books:abstract_title", "books"."title" as "books:title", "books"."workflow" as "books:workflow", "books"."edition" as "books:edition", "books"."sub_title" as "books:sub_title", "books"."alt_title" as "books:alt_title", "books"."settings" as "books:settings", "books"."metadata" as "books:metadata", "books"."alias" as "books:alias", "books"."collection_id" as "books:collection_id", "books"."published_date" as "books:published_date" from "collections" left join "books" on "books"."collection_id" = "collections"."id" where "collections"."id" = ?'
server_1 | }
server_1 | 2022-02-16T06:00:43.629Z - info: BookComponent e60d3a93-4ae8-47dc-b971-a360a95ad8b3 has been updated successfully with status: publishing
server_1 | 2022-02-16T06:00:43.630Z - info: Start execution of Domain Book Update Command - update
server_1 | 2022-02-16T06:00:43.630Z - info: Start execution of Domain GetDetails Command - getDetails
server_1 | 2022-02-16T06:00:49.207Z - error:
server_1 | {
server_1 | message: 'stream is not a function',
server_1 | stack: 'TypeError: stream is not a function\n' +
server_1 | ' at UpdateCommand.run (/home/node/app/server/services/CommandService/domainCommands/commands/updateCommand.js:93:19)\n' +
server_1 | ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
server_1 | ' at async Domain.executeCommand (/home/node/app/server/services/CommandService/baseCommand.js:27:20)\n' +
server_1 | ' at async PublishComponent.run (/home/node/app/server/services/CommandService/chapterCommands/commands/publishComponent.js:107:7)\n' +
server_1 | ' at async Chapter.executeCommand (/home/node/app/server/services/CommandService/baseCommand.js:27:20)\n' +
server_1 | ' at async /home/node/app/server/api/graphql/bookComponent/bookComponent.resolvers.js:585:9'
server_1 | }
server_1 | 2022-02-16T06:00:49.209Z - error:
server_1 | {
server_1 | message: 'Running command: Domain Book Update Command Failed',
server_1 | stack: 'Error: Running command: Domain Book Update Command Failed\n' +
server_1 | ' at Domain.executeCommand (/home/node/app/server/services/CommandService/baseCommand.js:30:15)\n' +
server_1 | ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
server_1 | ' at async PublishComponent.run (/home/node/app/server/services/CommandService/chapterCommands/commands/publishComponent.js:107:7)\n' +
server_1 | ' at async Chapter.executeCommand (/home/node/app/server/services/CommandService/baseCommand.js:27:20)\n' +
server_1 | ' at async /home/node/app/server/api/graphql/bookComponent/bookComponent.resolvers.js:585:9'
server_1 | }
server_1 | 2022-02-16T06:00:49.212Z - error: Running command: Chapter/Book Publish Command Failed
server_1 | {
server_1 | error: {
server_1 | message: 'Running command: Chapter/Book Publish Command Failed',
server_1 | locations: [ { line: 2, column: 3 } ],
server_1 | path: [ 'publishBookComponents' ],
server_1 | extensions: {
server_1 | code: 'INTERNAL_SERVER_ERROR',
server_1 | exception: {
server_1 | stacktrace: [
server_1 | 'Error: Running command: Chapter/Book Publish Command Failed',
server_1 | ' at Chapter.executeCommand (/home/node/app/server/services/CommandService/baseCommand.js:30:15)',
server_1 | ' at processTicksAndRejections (node:internal/process/task_queues:96:5)',
server_1 | ' at async /home/node/app/server/api/graphql/bookComponent/bookComponent.resolvers.js:585:9'
server_1 | ]
server_1 | }
server_1 | }
server_1 | }
server_1 | }
server_1 | 2022-02-16T06:00:49.214Z - info: ::ffff:172.18.0.1 - - [16/Feb/2022:06:00:49 +0000] "POST /graphql HTTP/1.1" 200 186 "http://localhost:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0"