-
Notifications
You must be signed in to change notification settings - Fork 2
PDF thumbnails do not work in compose
deployment
#1151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just confirmed this works with |
So, apparently, the image contains both This does not appear to be a problem for other packages which use dynamic imports of specific paths ( |
Looking at the first such failure we find another error message regarding missing patient-web-1 | {
patient-web-1 | error: Error: libuuid.so.1: cannot open shared object file: No such file or directory
patient-web-1 | at Object.Module._extensions..node (internal/modules/cjs/loader.js:1175:18)
patient-web-1 | at Module.load (internal/modules/cjs/loader.js:981:32)
patient-web-1 | at Module.Mp.load (/home/nonroot/dist/programs/server/runtime.js:37:33)
patient-web-1 | at Function.Module._load (internal/modules/cjs/loader.js:821:12)
patient-web-1 | at Module.require (internal/modules/cjs/loader.js:1005:19)
patient-web-1 | at require (internal/modules/cjs/helpers.js:107:18)
patient-web-1 | at Object.<anonymous> (/home/nonroot/dist/programs/server/npm/node_modules/canvas/lib/bindings.js:3:18)
patient-web-1 | at Module._compile (internal/modules/cjs/loader.js:1116:14)
patient-web-1 | at Module.Mp._compile (/home/nonroot/dist/programs/server/runtime.js:77:23)
patient-web-1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1145:10)
patient-web-1 | at Module.load (internal/modules/cjs/loader.js:981:32)
patient-web-1 | at Module.Mp.load (/home/nonroot/dist/programs/server/runtime.js:37:33)
patient-web-1 | at Function.Module._load (internal/modules/cjs/loader.js:821:12)
patient-web-1 | at Module.require (internal/modules/cjs/loader.js:1005:19)
patient-web-1 | at require (internal/modules/cjs/helpers.js:107:18)
patient-web-1 | at Object.<anonymous> (/home/nonroot/dist/programs/server/npm/node_modules/canvas/lib/canvas.js:9:18)
patient-web-1 | => awaited here:
patient-web-1 | at Function.Promise.await (/home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_s
erver.js:56:12)
patient-web-1 | at imports/lib/pdf/pdf.ts:25:31
patient-web-1 | at /home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
patient-web-1 | => awaited here:
patient-web-1 | at Function.Promise.await (/home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_s
erver.js:56:12)
patient-web-1 | at imports/lib/pdf/pdfthumbnails.ts:225:21
patient-web-1 | at /home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
patient-web-1 | => awaited here:
patient-web-1 | at Function.Promise.await (/home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_s
erver.js:56:12)
patient-web-1 | at imports/api/uploads.ts:88:15
patient-web-1 | at /home/nonroot/dist/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 {
patient-web-1 | code: 'ERR_DLOPEN_FAILED'
patient-web-1 | }
patient-web-1 | }
The error message is a bit laborious to decrypt because |
We are running
|
Since the main image is |
compose
deploymentcompose
deployment
Here are the logs I get:
The text was updated successfully, but these errors were encountered: