[GH-ISSUE #1494] [BUG]: Render upload issue #956

Closed
opened 2026-02-22 18:22:24 -05:00 by yindo · 11 comments
Owner

Originally created by @RahSwe on GitHub (May 22, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1494

Originally assigned to: @shatfield4, @timothycarambat on GitHub.

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Starting a fresh Render server, some files are not possible to upload, getting the error report below:

image

The "unuploadable" files are however possible to upload to another instance running on Render.

Are there known steps to reproduce?

No response

Originally created by @RahSwe on GitHub (May 22, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1494 Originally assigned to: @shatfield4, @timothycarambat on GitHub. ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Starting a fresh Render server, some files are not possible to upload, getting the error report below: <img width="581" alt="image" src="https://github.com/Mintplex-Labs/anything-llm/assets/163884933/e6064b9e-b76b-45ae-bd3c-93f31e84c52f"> The "unuploadable" files are however possible to upload to another instance running on Render. ### Are there known steps to reproduce? _No response_
yindo added the possible buginvestigating labels 2026-02-22 18:22:24 -05:00
yindo closed this issue 2026-02-22 18:22:24 -05:00
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

To avoid confusion, the "working instance" has not been redeployed the last 48 hrs.

Have tried to delete the new instance, set up another one, verified that all settings are identical as the "working but old instance", increased disk size further, but same problem with the same files on the new instance. Can however keep uploading certain other files, but many files are not possible to upload on the "new instance".

@RahSwe commented on GitHub (May 22, 2024): To avoid confusion, the "working instance" has not been redeployed the last 48 hrs. Have tried to delete the new instance, set up another one, verified that all settings are identical as the "working but old instance", increased disk size further, but same problem with the same files on the new instance. Can however keep uploading certain other files, but many files are not possible to upload on the "new instance".
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

Edit: It does not seem to be a Render issue. I started a new AWS instance, with the same result, i.e. same files are not possible to upload with the same error message.

@RahSwe commented on GitHub (May 22, 2024): Edit: It does not seem to be a Render issue. I started a new AWS instance, with the same result, i.e. same files are not possible to upload with the same error message.
Author
Owner

@timothycarambat commented on GitHub (May 22, 2024):

@RahSwe what exactly are these types of files you are trying to upload. Unable to reproduce otherwise

@timothycarambat commented on GitHub (May 22, 2024): @RahSwe what exactly are these types of files you are trying to upload. Unable to reproduce otherwise
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

@timothycarambat Trying to attach such a file below

Advokaten och alibivittnet - NJA 2021 s. 576.pdf

@RahSwe commented on GitHub (May 22, 2024): @timothycarambat Trying to attach such a file below [Advokaten och alibivittnet - NJA 2021 s. 576.pdf](https://github.com/Mintplex-Labs/anything-llm/files/15409009/Advokaten.och.alibivittnet.-.NJA.2021.s.576.pdf)
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

@timothycarambat I downloaded the file which I uploaded here and then tried to upload it to ALLM. It worked. The difference seems to be that punctuations were added in the filename when uploaded to Github. I.e. it seems that it is now not possible to upload files to ALLM with spaces in the document name.

@RahSwe commented on GitHub (May 22, 2024): @timothycarambat I downloaded the file which I uploaded here and then tried to upload it to ALLM. It worked. The difference seems to be that punctuations were added in the filename when uploaded to Github. I.e. it seems that it is now not possible to upload files to ALLM with spaces in the document name.
Author
Owner

@shatfield4 commented on GitHub (May 22, 2024):

@RahSwe if you take the file that is failing to upload (not downloaded from github) and rename it to test, does it upload properly?

@shatfield4 commented on GitHub (May 22, 2024): @RahSwe if you take the file that is failing to upload (not downloaded from github) and rename it to `test`, does it upload properly?
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

@shatfield4 Yes, it works to upload if it I remove all the spaces in the name (or name the file test), but I get the error for all files with spaces in the document name (compare the file names in the screenshot, the failed ones all have spaces between words)

@RahSwe commented on GitHub (May 22, 2024): @shatfield4 Yes, it works to upload if it I remove all the spaces in the name (or name the file test), but I get the error for all files with spaces in the document name (compare the file names in the screenshot, the failed ones all have spaces between words)
Author
Owner

@shatfield4 commented on GitHub (May 22, 2024):

Are you able to copy and paste the exact filename here in github? I am thinking there is a hidden character where the spaces are which is causing this error to happen.

@shatfield4 commented on GitHub (May 22, 2024): Are you able to copy and paste the exact filename here in github? I am thinking there is a hidden character where the spaces are which is causing this error to happen.
Author
Owner

@RahSwe commented on GitHub (May 22, 2024):

@shatfield4
This is copy of the file name of an unuploadable file (on Mac): "God Advokatsed (Bentelius, 1998).pdf"

It should be just regular spaces. It works fine to upload the file to previous versions of ALLM.

@RahSwe commented on GitHub (May 22, 2024): @shatfield4 This is copy of the file name of an unuploadable file (on Mac): "God Advokatsed (Bentelius, 1998).pdf" It should be just regular spaces. It works fine to upload the file to previous versions of ALLM.
Author
Owner

@RahSwe commented on GitHub (May 23, 2024):

@timothycarambat @shatfield4
Further tests:
I have managed to upload most files by replacing spaces with underlines.
However this file still cannot be uploaded, even without spaces.
It however works if I rename it by removing the second part of the document name.

Advokaten_och_alibivittnet_NJA 2021_s._576.pdf

@RahSwe commented on GitHub (May 23, 2024): @timothycarambat @shatfield4 Further tests: I have managed to upload most files by replacing spaces with underlines. However this file still cannot be uploaded, even without spaces. It however works if I rename it by removing the second part of the document name. [Advokaten_och_alibivittnet_NJA 2021_s._576.pdf](https://github.com/Mintplex-Labs/anything-llm/files/15418468/Advokaten_och_alibivittnet_NJA.2021_s._576.pdf)
Author
Owner

@RahSwe commented on GitHub (May 23, 2024):

@timothycarambat That did the trick, TY

@RahSwe commented on GitHub (May 23, 2024): @timothycarambat That did the trick, TY
yindo changed title from [BUG]: Render upload issue to [GH-ISSUE #1494] [BUG]: Render upload issue 2026-06-05 14:38:09 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#956