after download the excel file which sent from rocketchat mobile app, I have seen that Its size is 0kb and then I cannot open them.
I just see this when receiving the excel file which sends from the mobile app. On the web browser, everything is ok.
Please, share with me if you have handled this issue.
I am trying to install RocketChat on a server.
So here’s my issues:
CentOS7 - just can’t get it to work at all. ‘main.js’ issues and no amount of Google’ing can get the issue resolved.
Hi.
So I am not sure that your issue relates to the previous one so you should really start a new thread or we will all get confused.
Next, if you need help you need to learn how to ask for help properly.
This may assist:
Nonetheless…
Have you read the documentation?
If you struggle I really suggest for simplicity you look at Ubuntu and a Snap install. Great to get you started.
Hello, I have the same issue. May I ask: If I understand correctly, it works for you if you start the process from the browser instead of the app? I will give it a try from the browser later during the day.
Thanks!
Which issue? Please explain a little more.
Sure, I am sorry for not explaing more from the start. And now I notice, that my issue does not correspond to this thread. Anyway, I will start posting it here…
Information on the Server: Self-Hosted, version information see image.
On my iPhone: iOS 14.6. RocketChat App Version 4.17.0.24353.
This is an extract from the log-file when I tried it the last time:
#######
I20210306-07:23:24.530(0) Exception while invoking method saveSettings Error: TOTP Required [totp-required] at _checkCodeForUser (app/2fa/server/code/index.ts:161:9) at MethodInvocation. (app/2fa/server/twoFactorRequired.ts:31:4) at MethodInvocation.methodsMap. (app/lib/server/lib/debug.js:76:34) at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1771:12) at packages/ddp-server/livedata_server.js:1689:15 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at packages/ddp-server/livedata_server.js:1687:36 at new Promise () at Server.applyAsync (packages/ddp-server/livedata_server.js:1686:12) at Server.apply (packages/ddp-server/livedata_server.js:1625:26) at Server.call (packages/ddp-server/livedata_server.js:1607:17) at Object.post (app/api/server/v1/misc.js:262:26) at app/api/server/api.js:394:82 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at Object._internalRouteActionHandler [as action] (app/api/server/api.js:394:39) at Route.share.Route.Route._callEndpoint (packages/nimble_restivus/lib/route.coffee:150:32) at packages/nimble_restivus/lib/route.coffee:59:33 at packages/simple_json-routes.js:98:9 => awaited here: at Promise.await (/snap/rocketchat-server/1455/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12) at Server.apply (packages/ddp-server/livedata_server.js:1638:22) at Server.call (packages/ddp-server/livedata_server.js:1607:17) at Object.post (app/api/server/v1/misc.js:262:26) at app/api/server/api.js:394:82 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) at Object._internalRouteActionHandler [as action] (app/api/server/api.js:394:39) at Route.share.Route.Route._callEndpoint (packages/nimble_restivus/lib/route.coffee:150:32) at packages/nimble_restivus/lib/route.coffee:59:33 at packages/simple_json-routes.js:98:9
I20210306-11:16:46.915(0) Exception in callback of async function: [Error: EBADF: bad file descriptor, close] { errno: -9, code: ‘EBADF’, syscall: ‘close’ }
I20210306-11:19:06.589(0) Exception in callback of async function: [Error: EBADF: bad file descriptor, read] { errno: -9, code: ‘EBADF’, syscall: ‘read’ }
I20210306-11:19:06.594(0) Exception in callback of async function: [Error: EBADF: bad file descriptor, close] { errno: -9, code: ‘EBADF’, syscall: ‘close’ }
#########
The issue is: When a user exports his/her information using the export option, the email arrives, but the downloaded file has 0kb in size. Has anybody experienced this issue, too?
Thanks
Is this related?
Are you trying to export a previously encrypted chat?
Yes, exactly, all chats I am trying to export are encrypted. Is that why I get the error message “TOTP Required”? But what could I do differently?
Thanks!
Most likely yes.
Don’t encrypt them?
All joking aside, the messages are only visible because they are decrypted in Rocket.Chat using a key in the session.
I don’t believe you can view them outside Rocket as there is no key to decrypt them.
It probably shouldn’t error on this though, but I need to check github to see if this has already been seen.
You’re right, I did not think about it. It does make sense that I am not able to export the chats if they’re encrypted because I can only view them during the session with my decryption key in use…
Many thanks for taking a look into it! because I agree, it shouldn’t error. At the end of the day, it’s not uncommon that Rocket.Chat users encrypt their chats, there is even an option to automatically encrypt all rooms.