I think Nextcloud isn't keeping the file versions it's supposed to

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2):
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04 Server

The issue you are facing:

My config file contains the following:
‘versions_retention_obligation’ => ‘60, auto’;

What I think this should do is keep all versions of files for 60 days and then apply default rules.

I have a file which I edit multiple times a day. I was just trying to go back to a version from last Wednesday and the versions I can see are:

1 version from 28.09
1 version from 27.09
1 version from 21.09

Those are really few versions. Like I said, I edit the file multiple times a day and I was expecting there to be many versions from each day. That’s what I was getting in ownCloud, before migrating to Nextcloud.

I can post the Nextcloud logs, etc., but they seem to contain a lot of personal information, so I’d rather didn’t until it was absolutely necessary.

I would appreciate any input on this.

1 Like

I’m having the same problem. It seems to me as if Version Control is broken because I haven’t even overridden ‘versions_retention_obligation’ in config.php and still I get random versions of files I edit quite often. Sometimes there are few versions, sometimes there are none!
Hopefully someone will let us know something…