You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing error tryng to upload images or files:
When i paste a image in ticket form from the clipboard:
5|trudesk | TypeError: Busboy is not a constructor
5|trudesk | at ticketsController.uploadImageMDE (/etc/trudesk/src/controllers/tickets.js:538:16)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/route.js:137:13)
5|trudesk | at middleware.redirectToLogin (/etc/trudesk/src/middleware/middleware.js:77:10)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/route.js:137:13)
5|trudesk | at Route.dispatch (/etc/trudesk/node_modules/express/lib/router/route.js:112:3)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at /etc/trudesk/node_modules/express/lib/router/index.js:281:22
5|trudesk | at Function.process_params (/etc/trudesk/node_modules/express/lib/router/index.js:341:12)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/index.js:275:10)
5|trudesk | at Function.handle (/etc/trudesk/node_modules/express/lib/router/index.js:174:3)
5|trudesk | at router (/etc/trudesk/node_modules/express/lib/router/index.js:47:12)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at trim_prefix (/etc/trudesk/node_modules/express/lib/router/index.js:323:13)
5|trudesk | at /etc/trudesk/node_modules/express/lib/router/index.js:284:7
5|trudesk | at Function.process_params (/etc/trudesk/node_modules/express/lib/router/index.js:341:12)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/index.js:275:10)
5|trudesk | at /etc/trudesk/src/middleware/index.js:116:20
5|trudesk | at /etc/trudesk/src/settings/settingsUtil.js:156:45
5|trudesk | at runMicrotasks ()
5|trudesk | at processTicksAndRejections (node:internal/process/task_queues:96:5)
This appear in the form:
Also when I try to upload via the clip icons trudesk service restart:
5|trudesk | TypeError: Cannot read properties of undefined (reading 'indexOf')
5|trudesk | at Multipart. (/etc/trudesk/src/controllers/tickets.js:667:16)
5|trudesk | at Multipart.emit (node:events:527:28)
5|trudesk | at HeaderParser.cb (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:348:14)
5|trudesk | at HeaderParser.push (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:161:20)
5|trudesk | at SBMH.ssCb [as _cb] (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:384:37)
5|trudesk | at feed (/etc/trudesk/node_modules/streamsearch/lib/sbmh.js:219:14)
5|trudesk | at SBMH.push (/etc/trudesk/node_modules/streamsearch/lib/sbmh.js:104:16)
5|trudesk | at Multipart._write (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:559:19)
5|trudesk | at writeOrBuffer (node:internal/streams/writable:389:12)
5|trudesk | at write (node:internal/streams/writable:330:10)
5|trudesk | at Multipart.Writable.write (node:internal/streams/writable:334:10)
5|trudesk | at IncomingMessage.ondata (node:internal/streams/readable:754:22)
5|trudesk | at IncomingMessage.emit (node:events:527:28)
5|trudesk | at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)
5|trudesk | at flow (node:internal/streams/readable:1011:34)
5|trudesk | at resume (node:internal/streams/readable:992:3)
5|trudesk | at processTicksAndRejections (node:internal/process/task_queues:83:21)
PM2 | App [trudesk:5] exited with code [1] via signal [SIGINT]
PM2 | App [trudesk:5] starting in -fork mode-
PM2 | App [trudesk:5] online
5|trudesk | 05-09-2022 11:50:30 [2923584] info: . .o8 oooo
5|trudesk | 05-09-2022 11:50:30 [2923584] info: .o8 "888 888 5|trudesk | 05-09-2022 11:50:30 [2923584] info: .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo 5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888 888""8P 888 888 d88' 888 d88' 88b d88( "8 888 .8P'
5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888 888 888 888 888 888 888ooo888 "Y88b. 888888. 5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888 . 888 888 888 888 888 888 .o o. )88b 888 88b.
5|trudesk | 05-09-2022 11:50:30 [2923584] info: "888" d888b V88V"V8P' Y8bod88P" `Y8bod8P' 8""888P' o888o o888o
5|trudesk | 05-09-2022 11:50:30 [2923584] info: ==========================================================================
5|trudesk | 05-09-2022 11:50:30 [2923584] info: trudesk v1.2.0 Copyright (C) 2014-2022 Chris Brame
Can you help me? Thanks Environment:
Trudesk Version: 1.2
OS (e.g. from /etc/os-release): red hat 8
Node.JS Version: 16.15.0
MongoDB Version: 5
Is this hosted on cloud.trudesk.io: nope
The text was updated successfully, but these errors were encountered:
## [1.2.1](v1.2.0...v1.2.1) (2022-05-14)
### Bug Fixes
* **notifications:** issue where notifications would not update [#495](#495) ([f529734](f529734))
* **tickets:** error when uploading attachments [#500](#500) ([d861f04](d861f04))
* **tickets:** unable to upload image in reply [#500](#500) ([ddf2486](ddf2486))
* **uploads:** removal of EXIF data on profile picture uploads ([097b482](097b482))
Hi
I am experiencing error tryng to upload images or files:
When i paste a image in ticket form from the clipboard:
5|trudesk | TypeError: Busboy is not a constructor
5|trudesk | at ticketsController.uploadImageMDE (/etc/trudesk/src/controllers/tickets.js:538:16)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/route.js:137:13)
5|trudesk | at middleware.redirectToLogin (/etc/trudesk/src/middleware/middleware.js:77:10)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/route.js:137:13)
5|trudesk | at Route.dispatch (/etc/trudesk/node_modules/express/lib/router/route.js:112:3)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at /etc/trudesk/node_modules/express/lib/router/index.js:281:22
5|trudesk | at Function.process_params (/etc/trudesk/node_modules/express/lib/router/index.js:341:12)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/index.js:275:10)
5|trudesk | at Function.handle (/etc/trudesk/node_modules/express/lib/router/index.js:174:3)
5|trudesk | at router (/etc/trudesk/node_modules/express/lib/router/index.js:47:12)
5|trudesk | at Layer.handle [as handle_request] (/etc/trudesk/node_modules/express/lib/router/layer.js:95:5)
5|trudesk | at trim_prefix (/etc/trudesk/node_modules/express/lib/router/index.js:323:13)
5|trudesk | at /etc/trudesk/node_modules/express/lib/router/index.js:284:7
5|trudesk | at Function.process_params (/etc/trudesk/node_modules/express/lib/router/index.js:341:12)
5|trudesk | at next (/etc/trudesk/node_modules/express/lib/router/index.js:275:10)
5|trudesk | at /etc/trudesk/src/middleware/index.js:116:20
5|trudesk | at /etc/trudesk/src/settings/settingsUtil.js:156:45
5|trudesk | at runMicrotasks ()
5|trudesk | at processTicksAndRejections (node:internal/process/task_queues:96:5)
This appear in the form:
Also when I try to upload via the clip icons trudesk service restart:
5|trudesk | TypeError: Cannot read properties of undefined (reading 'indexOf')
5|trudesk | at Multipart. (/etc/trudesk/src/controllers/tickets.js:667:16)
5|trudesk | at Multipart.emit (node:events:527:28)
5|trudesk | at HeaderParser.cb (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:348:14)
5|trudesk | at HeaderParser.push (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:161:20)
5|trudesk | at SBMH.ssCb [as _cb] (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:384:37)
5|trudesk | at feed (/etc/trudesk/node_modules/streamsearch/lib/sbmh.js:219:14)
5|trudesk | at SBMH.push (/etc/trudesk/node_modules/streamsearch/lib/sbmh.js:104:16)
5|trudesk | at Multipart._write (/etc/trudesk/node_modules/busboy/lib/types/multipart.js:559:19)
5|trudesk | at writeOrBuffer (node:internal/streams/writable:389:12)
5|trudesk | at write (node:internal/streams/writable:330:10)
5|trudesk | at Multipart.Writable.write (node:internal/streams/writable:334:10)
5|trudesk | at IncomingMessage.ondata (node:internal/streams/readable:754:22)
5|trudesk | at IncomingMessage.emit (node:events:527:28)
5|trudesk | at IncomingMessage.Readable.read (node:internal/streams/readable:527:10)
5|trudesk | at flow (node:internal/streams/readable:1011:34)
5|trudesk | at resume (node:internal/streams/readable:992:3)
5|trudesk | at processTicksAndRejections (node:internal/process/task_queues:83:21)
PM2 | App [trudesk:5] exited with code [1] via signal [SIGINT]
PM2 | App [trudesk:5] starting in -fork mode-
PM2 | App [trudesk:5] online
5|trudesk | 05-09-2022 11:50:30 [2923584] info: . .o8 oooo
5|trudesk | 05-09-2022 11:50:30 [2923584] info: .o8 "888
888 5|trudesk | 05-09-2022 11:50:30 [2923584] info: .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo 5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888
888""8P888
888 d88'888 d88'
88b d88( "8 888 .8P'5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888 888 888 888 888 888 888ooo888
"Y88b. 888888. 5|trudesk | 05-09-2022 11:50:30 [2923584] info: 888 . 888 888 888 888 888 888 .o o. )88b 888
88b.5|trudesk | 05-09-2022 11:50:30 [2923584] info: "888" d888b
V88V"V8P'
Y8bod88P" `Y8bod8P' 8""888P' o888o o888o5|trudesk | 05-09-2022 11:50:30 [2923584] info: ==========================================================================
5|trudesk | 05-09-2022 11:50:30 [2923584] info: trudesk v1.2.0 Copyright (C) 2014-2022 Chris Brame
Can you help me? Thanks
Environment:
The text was updated successfully, but these errors were encountered: