I’ve installed OCIS on my Ubuntu 24.04 LTS system, configured with Apache as a reverse proxy. I’m using version 5.0.6 (though I also tried version 6.2 with the same result). The client system is running Sonoma 14.5 with Chrome Version 127.0.6533.100.
Here’s the issue: I uploaded a LibreOffice .docx file to my Personal folder, and it appears correctly on the server and is visible in the browser. However, when I try to download the file, Chrome prompts me to select a download location but then shows an error saying “File wasn’t available on site.” Other browsers like Firefox and Opera don’t even prompt for a download location and fail to download the file without providing an error message.
I restarted OCIS, but the problem remains. As a test, I exported the .docx file to PDF and placed it in the Personal folder. The PDF opened in the browser and downloaded without issues.
I checked the OCIS log file, and every time I attempt to download (this time 3WGL.gif) a file with this error, it is logged as:
{
"level": "error",
"service": "proxy",
"error": "signature mismatch: expected 9c21559ae720e16e8b99ff5c98a4ba5e186040051d3643aef32a9fc93a558b5f != actual 3a019ab7f21956780d8e4cb0eda8c89f51472e941385b5e194d5f51cff4ce5b6",
"authenticator": "signed_url",
"path": "/remote.php/dav/spaces/2527fddb-0e6e-4b32-963e-cb9c8c43ba54$afe71af0-3bab-4b21-9030-208b34907837/ibis3/google_ads/3WGL.gif",
"url": "/remote.php/dav/spaces/2527fddb-0e6e-4b32-963e-cb9c8c43ba54$afe71af0-3bab-4b21-9030-208b34907837/ibis3/google_ads/3WGL.gif?OC-Credential=jacek&OC-Date=2024-08-12T01%3A25%3A14.015Z&OC-Expires=1200&OC-Verb=GET&OC-Algo=PBKDF2%2F10000-SHA512&OC-Signature=3a019ab7f21956780d8e4cb0eda8c89f51472e941385b5e194d5f51cff4ce5b6",
"time": "2024-08-11T18:25:14-07:00",
"message": "Could not get user by claim"
}
While searching for a solution, I discovered that if I select two or more files and click “Download,” OCIS creates a download.tar
file, which can then be downloaded successfully.
Additionally, I found that accessing the same files on Android works without any issues. This suggests that the problem is likely confined to downloading a single file via a browser.