Loading...
 
Skip to main content

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
(0)
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+
Demonstrate Bug (older Tiki versions)
Ticket ID
8181
Created
Monday 29 August, 2022 21:32:13 UTC
by Erik
LastModif
Monday 29 August, 2022 21:32:13 UTC


Show PHP error messages