Groupfolders 15.3.2 versioning expire bug?

Hi everyone! Newbie poster here, so please correct me if my post is not correctly formulated :grinning:

It was previously reported (https://help.nextcloud.com/t/versions-folder-of-groupfolders-isnt-cleared-automatically/175394) that versioning was not working on groupfolders files, in some cases causing the consumption of rather a lot of storage space. This problem appears to have been addressed in app release 15.3.2. However, now I am experiencing an hourly error in my logs:

OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '79667-1699379642' for key 'gf_versions_uniq_index'

Attempting to run the versions expire by command line also throws errors:

/usr/bin/php occ groupfolders:expire

.
.
.

In DbalException.php line 71:
                                                                                                                                                                            
  An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '79667-1699379642' for key 'gf_versions_uniq_index'  
                                                                                                                                                                            

In ExceptionConverter.php line 64:
                                                                                                                                                                            
  An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '79667-1699379642' for key 'gf_versions_uniq_index'  
                                                                                                                                                                            

In Exception.php line 30:
                                                                                                                             
  SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '79667-1699379642' for key 'gf_versions_uniq_index'  
                                                                                                                             

In Statement.php line 101:
                                                                                                                             
  SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '79667-1699379642' for key 'gf_versions_uniq_index'  
                                                                   

This is happening on two different servers I administer. Is anyone else experiencing this problem?

Thanks!
Colin

1 Like

There is already an Issue. Report your observations there. Workarounds will normaly be reported there first:

Much luck,
ernolf

1 Like

This is also already discussed here:

1 Like

unfortunately, nobody seems to be working on the issue and there is no known workaround. It has been around since September and it breaks absolutely vital functionality, yet it is given no attention. Since “groupfolders” is one of Nextcloud’s “featured apps”, this is kind of annoying and unexpected (although groupfolders has been suffering from poor maintenance in the past, I have to say).

1 Like

You posted at GitHub already.
Why crossposting here as well?

I will marked this topic as solved and will close it.
We should stay with the mentioned GitHub issue and keep discussion there.

This topic was automatically opened after 19 hours.