owncloud / owncloud/ocis

OCIS Revisions Purge Lists No Revisions

Open
#11,167 3 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

Running ```ocis revisions purge -p /var/lib/ocis/storage/users``` returns ```❎ No revisions found. Storage provider is clean.``` despite the space having files with revisions.

This command previously returned results before upgrading to OCIS 7.1.0 release.

Changes to the example file have only been committed to OCIS using the desktop client.

Command output:
Image

File Details:

Image

File Version Listing:
Image

## Steps to reproduce
1. Start an OCIS 7.1.0 instance
2. Upload an editable file (TXT for example).
3. Edit the file locally or in the web UI.
4. Confirm the file has a revision in the web UI.
5. Run ```ocis revisions purge -p /var/lib/ocis/storage/users```

## Expected behavior
We expect the ```revisions purge``` command to return a list of files that have revisions available to purge.

## Actual behavior
Command returns that the space is clean with no file revisions.

## Setup
OCIS 7.1.1 is running in a Docker container.

Configuration details are in the attached Docker compose file which has been privatized.

[OCIS.txt](https://github.com/user-attachments/files/19489401/OCIS.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.