[BUG]: Render upload issue
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:
The "unuploadable" files are however possible to upload to another instance running on Render.
Are there known steps to reproduce?
No response
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".
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 what exactly are these types of files you are trying to upload. Unable to reproduce otherwise
@timothycarambat Trying to attach such a file below
@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 if you take the file that is failing to upload (not downloaded from github) and rename it to test, does it upload properly?
@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)
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 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.
@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.
@timothycarambat That did the trick, TY