File Gallery Returning Error 504 When Uploading/Deleting/Modifying Files
- Status
- Open
- Subject
- File Gallery Returning Error 504 When Uploading/Deleting/Modifying Files
- Version
- 24.x
- Category
- Error
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- New
- Submitted by
- Erik
- Lastmod by
- Erik
- Rating
- Description
When trying to upload, delete, or otherwise modify files, the file gallery returns HTTP error 504 Invalid Backend Response. This occurs with both the default file explorer and elFinder.
After refreshing the page, the requested action appears to have executed anyway (i.e. when trying to delete a file, error 504 appears and the file does not disappear, but upon refresh it is gone).
Previously, files would upload quickly and immediately appear in the file gallery, or be deleted and disappear immediately.The error appears regardless of file type (tested .jpg, .png, .pdf, .txt, docx) and quantity (tried 1, 2 and more files at a time). Each file was less than 250kb each. The upload/delete progress bar in elFinder is also very slow now, even when performed on a single file.
The issue seems to have gotten worse over time as more files were uploaded to the file gallery, where before the error only appeared occasionally when trying to upload/delete a large number of files. Prior to this error, I did encounter instances in elFinder where the progress bar would stall and eventually show a failure message, despite the files actually being successfully uploaded.I checked php.ini and made the following adjustments without success:
- Change upload_max_filesize from 2M to 100M
- Change max_file_uploads from 20 to 100
- Change post_max_size from 8M to 0 for no limit
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8181
- Created
- Monday 29 August, 2022 21:32:13 UTC
by Erik - LastModif
- Monday 29 August, 2022 21:32:13 UTC