Versions App not working on shared or group folders

It seems the Versions App isn’t working on our on-prem install of Nextcloud. It works just fine when creating and editing text files in personal folders, but when a file is created in a share or moved to a share it no longer shows any versions.

I’m not seeing any messages in the log files about this and there are no errors that pop up so I don’t know where to start with getting this issue fixed.

Any help will be appreciated!

Nextcloud Version

  • Nextcloud 27.1.3

Database

  • Type: mysql
  • Version: 10.5.22
  • Size: 296.2 MB

PHP Version

  • Version: 8.2.12
  • Memory limit: 1 GB
  • Max execution time: 3600
  • Upload max size: 2 MB

Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, intl, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, mcrypt, mysqli, pdo_mysql, pdo_sqlite, xmlreader, zip, apcu, igbinary, imagick, luasandbox, msgpack, memcached, redis, Zend OPcache

Versions in groupfolders should work just fine. But moving files to other locations does not preserve versions. This is a missing feature.

No, it doesnt!
Versions do not work in groupfolders, only for Excel files.

Tested with various file extentions, but only for Excel they work.
Versions work on personal folders or shares without any issues.