Skip to content
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

import/slack: progress bar does not work in version 6.0.0 #28364

Open
avelino opened this issue Mar 10, 2023 · 11 comments
Open

import/slack: progress bar does not work in version 6.0.0 #28364

avelino opened this issue Mar 10, 2023 · 11 comments

Comments

@avelino
Copy link
Contributor

avelino commented Mar 10, 2023

Description:

in version 6 the import progress bar stopped working

Screenshot 2023-03-10 at 14 17 41

Steps to reproduce:

  1. import any zip file from slack export

Expected behavior:

Actual behavior:

Server Setup Information:

  • Version of Rocket.Chat Server: 6.0.0
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.2
  • MongoDB Version: 4.4.15

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

@garvitkhandelwal
Copy link

@avelino Can you share a screen recording as for me the progress bar is working fine.

@pierre-lehnen-rc
Copy link
Contributor

A screenshot of the process I'm currently running here:

image

Refreshing the page also doesn't fix the progress.
This is during the actual import process, the progress is shown properly while the file is being read.

@garvitkhandelwal
Copy link

@pierre-lehnen-rc may i know the size of your import.

@pierre-lehnen-rc
Copy link
Contributor

I tried it with a 340MB zip file

@garvitkhandelwal
Copy link

Ack. Can i start working on it or wait for someone to add me as the assignee?

@garvitkhandelwal
Copy link

Picking this issue up.

@avelino
Copy link
Contributor Author

avelino commented Mar 13, 2023

Picking this issue up.

@garvitkhandelwal I don't know what I need to comment on, is this a question for @pierre-lehnen-rc?

@garvitkhandelwal
Copy link

Picking this issue up.

@garvitkhandelwal I don't know what I need to comment on, is this a question for @pierre-lehnen-rc?

No @avelino I understood the issue and was just updating that I'm picking this up so that other contributors know.

@garvitkhandelwal
Copy link

@pierre-lehnen-rc The api api/v1/getImportProgress is always giving completed and total count as 0. Who can check this?
I can share the cURL.

@garvitkhandelwal
Copy link

@pierre-lehnen-rc Anything on this?

@shaymdev
Copy link

I'm seeing issues with the progress of the "import pending files" from a slack import. It feels like it might fit under this same bug. It is stuck showing 0/127. It continues to make the network requests for status updates, and recieves the response below.

{
    "operation": {
        "_id": "64e4d2b04ae026c568a23f89",
        "type": "Pending Files",
        "importerKey": "pending-files",
        "ts": 1692717744317,
        "status": "importer_importing_files",
        "valid": true,
        "user": "FscXaS8z2vmc6w3y4",
        "_updatedAt": "2023-08-22T15:22:24.348Z",
        "count": {
            "messages": 127,
            "total": 127
        },
        "messagesstatus": null,
        "fileData": {
            "users": [],
            "channels": [],
            "message_count": 127
        }
    },
    "success": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants