View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20862 | Feature requests | Other | public | 2026-11-17 14:07 | 2026-11-17 14:14 |
| Reporter | coratgerl | Assigned To | |||
| Priority | none | Severity | feature | ||
| Status | new | Resolution | open | ||
| Summary | 20862: Feature request: pluggable storage for upload/ so LimeSurvey can run without a local disk | ||||
| Description | We want to run LimeSurvey 7 on stateless containers that scale to zero. The local disk is ephemeral and not shared between instances. The blocker is the upload directory. uploaddir is a real local folder. Respondent files (upload/surveys/{id}/files/), survey images, themes and plugins installed from the admin are read and written with local calls: is_file, readfile, move_uploaded_file, scandir, GD on a path, ZipArchive on a directory. There is no storage interface we can point at an S3-compatible bucket. A file saved by instance A is invisible to instance B, and it disappears when the instance scales to zero. Mounting the bucket as a filesystem is not available in this runtime. The only plugin hook we found, beforeProcessFileUpload, can push a file to S3 at upload time and set movefile to false. It does not cover reading the file back, deleting it, exporting it, the quota, or the file manager. Those stay on the local disk. Goal: no upload directory on the server. Files live in a bucket. | ||||
| Additional Information | Two ways to get there. Either would be enough. Option A — complete the plugin hooks. Option B — a native storage adapter. We can propose a pull request against the develop branch once this ticket is accepted. Option A is the smaller core change. Option B is the one that makes every file path, not only respondent uploads, leave the local disk. No .lss attached: this is not a survey defect, it is the absence of a storage backend. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Git branch / Pull Request URL | |||||
| Users affected % | 0 | ||||