element-hq / element-hq/element-web

Chat Export of large room hangs on "Generating a Zip" indefinitely

Open
#27,615 9 comments 0 reactions 0 assignees View on GitHub
A-Export-Chat O-Occasional S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Export a large room 'from the beginning', with 'include attachments' checked and the 'Size Limit' set to 2000MB.
2. Wait until the export process gets to the "Generating a Zip" stage.

### Outcome

#### What did you expect?

I can download a zip after several hours, or I see an error message.

#### What happened instead?

The UI hangs indefinitely on the "Generating a Zip" stage. The spinner keeps spinning.
In the browser console I see the following lines (edited to remove what I think is irrelevant):
```
... snip ...
Creating output...
... snip ...
ExportDialog.tsx:118 Uncaught (in promise) DOMException: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.
(anonymous) @ ExportDialog.tsx:118
Show 1 more frame
Show less
```

### Operating system

Fedora 39

### Browser information

Version 125.0.6422.141 (Official Build, ungoogled-chromium) (64-bit)

### URL for webapp

app.element.io

### Application version

Element version: 1.11.69 Crypto version: Rust SDK 0.7.0 (068a0af), Vodozemac 0.6.0

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.