Versioning Tab - Author and Version Number not displayed

Steps to reproduce

  1. Add this line to config.php
    ‘file_storage.save_version_author’ => false,
    I have also tried this as:
    ‘file_storage.save_version_author’ => true,

Expected behaviour

I should see the version number and author of any previous versions of a document.

Actual behaviour

Nothing, neither the version number nor the author are displayed.
Versioning works in terms of the previous versions being created but I cannot get it to display the version number or the author.

Server configuration

Operating system:
OpenSUSE Leap 15.4
Web server:
Apache2
Database:
MySQL
PHP version:
7 (7.4)
ownCloud version: (see ownCloud admin page)
10.11.0.6
Updated from an older ownCloud or fresh install:
Fresh install
Where did you install ownCloud from:
//download_opensuse.org/repositories/isv:ownCloud:server:10/15.4/isv:ownCloud:server:10.repo
Signing status (ownCloud 9.0 and above):
N/A

No errors have been found.

**The content of config/config.php:**

“config”: {
“updatechecker”: false,
“instanceid”: “oc8ovcywkzog”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“localhost”,
“rfel1.local”,
“nt2-dms”
],
“datadirectory”: “/srv/www/htdocs/owncloud/data”,
“overwrite.cli.url”: “http_//localhost/owncloud”,
“dbtype”: “sqlite3”,
“mysql.utf8mb4”: true,
“version”: “10.11.0.6”,
“allow_user_to_change_mail_address”: “”,
“logtimezone”: “UTC”,
“apps_paths”: [
{
“path”: “/srv/www/htdocs/owncloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/srv/www/htdocs/owncloud/apps-external”,
“url”: “/apps-external”,
“writable”: true
}
],
“installed”: true,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “25”,
“file_storage.save_version_author”: true
},


**List of activated apps:**
Got an error trying to run the below: "php command not found".
I have configured the service to run using wwwrun not www-data, don't know if this affects things.

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.


**Are you using external storage, if yes which one:** local/smb/sftp/...
No
**Are you using encryption:** yes/no
No
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
No
#### LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM oc_appconfig WHERE appid = ‘user_ldap’;

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.


### Client configuration
**Browser:**
MS Edge and Google Chrome
**Operating system:**
Windows 11
### Logs
#### Web server error log

AH00558: httpd-prefork: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message
[Thu Nov 17 10:20:51.747633 2022] [ssl:warn] [pid 914] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 17 10:20:51.816059 2022] [mpm_prefork:notice] [pid 914] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured – resuming normal operations
[Thu Nov 17 10:20:51.816100 2022] [core:notice] [pid 914] AH00094: Command line: ‘/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND’
[Thu Nov 17 14:37:18.104358 2022] [mpm_prefork:notice] [pid 914] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Nov 17 14:37:18.171056 2022] [ssl:warn] [pid 23648] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 17 14:37:18.200047 2022] [mpm_prefork:notice] [pid 23648] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured – resuming normal operations
[Thu Nov 17 14:37:18.200080 2022] [core:notice] [pid 23648] AH00094: Command line: ‘/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND’
[Thu Nov 17 14:41:58.998044 2022] [mpm_prefork:notice] [pid 23648] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Nov 17 14:41:59.077228 2022] [ssl:warn] [pid 24029] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 17 14:41:59.108556 2022] [mpm_prefork:notice] [pid 24029] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured – resuming normal operations
[Thu Nov 17 14:41:59.108600 2022] [core:notice] [pid 24029] AH00094: Command line: ‘/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND’
[Thu Nov 17 14:48:37.353086 2022] [mpm_prefork:notice] [pid 24029] AH00170: caught SIGWINCH, shutting down gracefully
AH00557: httpd-prefork: apr_sockaddr_info_get() failed for nt2-dms
AH00558: httpd-prefork: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message
[Thu Nov 17 14:48:51.126709 2022] [ssl:warn] [pid 1077] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 17 14:48:51.228115 2022] [mpm_prefork:notice] [pid 1077] AH00163: Apache/2.4.51 (Linux/SUSE) OpenSSL/1.1.1l PHP/7.4.33 configured – resuming normal operations
[Thu Nov 17 14:48:51.228151 2022] [core:notice] [pid 1077] AH00094: Command line: ‘/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidFile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND’


#### ownCloud log (data/owncloud.log)

{“reqId”:“JyOdzdZm4TDFpP2H7tQ7”,“level”:3,“time”:“2022-11-16T16:00:20+00:00”,“remoteAddr”:“127.0.0.1”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/owncloud/index.php/login",“message”:“Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?”}
{“reqId”:“JyOdzdZm4TDFpP2H7tQ7”,“level”:3,“time”:“2022-11-16T16:00:20+00:00”,“remoteAddr”:“127.0.0.1”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/owncloud/index.php/login",“message”:“Exception: {“Exception”:“OC\\HintException”,“Message”:“Memcache \\OC\\Memcache\\APCu not available for local cache”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(465): OC\\Memcache\\Factory->__construct()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}(*** sensitive parameters replaced )\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1242): OC\\ServerContainer->query()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(617): OC\\Server->getMemCacheFactory()\n#6 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced )\n#7 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#8 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#9 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1458): OC\\ServerContainer->query()\n#10 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(924): OC\\Server->getAppManager()\n#11 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced )\n#12 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#13 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#14 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(156): OC\\ServerContainer->query()\n#15 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}( sensitive parameters replaced )\n#16 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#17 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#18 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1663): OC\\ServerContainer->query()\n#19 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(430): OC\\Server->getThemeService()\n#20 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced )\n#21 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#22 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#23 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1197): OC\\ServerContainer->query()\n#24 \/srv\/www\/htdocs\/owncloud\/lib\/private\/legacy\/util.php(612): OC\\Server->getL10NFactory()\n#25 \/srv\/www\/htdocs\/owncloud\/lib\/private\/legacy\/util.php(585): OC_Util::addTranslations()\n#26 \/srv\/www\/htdocs\/owncloud\/lib\/private\/legacy\/template.php(146): OC_Util::addScript()\n#27 \/srv\/www\/htdocs\/owncloud\/lib\/private\/legacy\/template.php(83): OC_Template::initTemplateEngine()\n#28 \/srv\/www\/htdocs\/owncloud\/lib\/private\/legacy\/template.php(343): OC_Template->__construct()\n#29 \/srv\/www\/htdocs\/owncloud\/index.php(63): OC_Template::printErrorPage()\n#30 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Factory.php",“Line”:99}"}
{“reqId”:“YMADclw93ArzJTY1StEw”,“level”:3,“time”:“2022-11-16T16:44:25+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“index”,“method”:“GET”,“url”:"/owncloud/index.php/settings/admin?sectionid=general",“message”:“Exception: {“Exception”:“RedisException”,“Message”:“Connection refused”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(127): Redis->connect()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(149): OC\\RedisFactory->create()\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Redis.php(37): OC\\RedisFactory->getInstance()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Factory.php(136): OC\\Memcache\\Redis->__construct()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(747): OC\\Memcache\\Factory->createLocking()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}(
sensitive parameters replaced )\n#6 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#7 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#8 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1532): OC\\ServerContainer->query()\n#9 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Files\/View.php(125): OC\\Server->getLockingProvider()\n#10 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(180): OC\\Files\\View->__construct()\n#11 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced )\n#12 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#13 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#14 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(963): OC\\ServerContainer->query()\n#15 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(762): OC\\Server->getEncryptionManager()\n#16 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(676): OC::registerEncryptionWrapper()\n#17 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(1060): OC::init()\n#18 \/srv\/www\/htdocs\/owncloud\/index.php(53): require_once(’\/srv\/www\/htdocs…’)\n#19 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php",“Line”:127}"}
{“reqId”:“4PEc6juuiEJoaDr9Tdbk”,“level”:3,“time”:“2022-11-16T16:45:17+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“index”,“method”:“GET”,“url”:"/owncloud/index.php/settings/admin?sectionid=general",“message”:“Exception: {“Exception”:“RedisException”,“Message”:“Connection refused”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(127): Redis->connect()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(149): OC\\RedisFactory->create()\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Redis.php(37): OC\\RedisFactory->getInstance()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Factory.php(136): OC\\Memcache\\Redis->__construct()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(747): OC\\Memcache\\Factory->createLocking()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}(
sensitive parameters replaced )\n#6 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#7 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#8 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1532): OC\\ServerContainer->query()\n#9 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Files\/View.php(125): OC\\Server->getLockingProvider()\n#10 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(180): OC\\Files\\View->__construct()\n#11 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced )\n#12 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#13 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#14 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(963): OC\\ServerContainer->query()\n#15 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(762): OC\\Server->getEncryptionManager()\n#16 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(676): OC::registerEncryptionWrapper()\n#17 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(1060): OC::init()\n#18 \/srv\/www\/htdocs\/owncloud\/index.php(53): require_once(’\/srv\/www\/htdocs…’)\n#19 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php",“Line”:127}"}
{“reqId”:“G8SIdx32STzhPUXMmtki”,“level”:3,“time”:“2022-11-16T16:47:27+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json",“message”:“RedisException: Connection refused at /srv/www/htdocs/owncloud/lib/private/RedisFactory.php#127”}
{“reqId”:“0u7d93azOXtTZN5LGTKI”,“level”:3,“time”:“2022-11-16T16:47:30+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“index”,“method”:“GET”,“url”:"/owncloud/index.php/settings/admin?sectionid=general",“message”:“Exception: {“Exception”:“RedisException”,“Message”:“Connection refused”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(127): Redis->connect()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php(149): OC\\RedisFactory->create()\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Redis.php(37): OC\\RedisFactory->getInstance()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Memcache\/Factory.php(136): OC\\Memcache\\Redis->__construct()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(747): OC\\Memcache\\Factory->createLocking()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}(
sensitive parameters replaced )\n#6 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#7 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#8 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(1532): OC\\ServerContainer->query()\n#9 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Files\/View.php(125): OC\\Server->getLockingProvider()\n#10 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(180): OC\\Files\\View->__construct()\n#11 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/pimple\/pimple\/src\/Pimple\/Container.php(122): OC\\Server->OC\\{closure}( sensitive parameters replaced ***)\n#12 \/srv\/www\/htdocs\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(108): Pimple\\Container->offsetGet()\n#13 \/srv\/www\/htdocs\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#14 \/srv\/www\/htdocs\/owncloud\/lib\/private\/Server.php(963): OC\\ServerContainer->query()\n#15 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(762): OC\\Server->getEncryptionManager()\n#16 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(676): OC::registerEncryptionWrapper()\n#17 \/srv\/www\/htdocs\/owncloud\/lib\/base.php(1060): OC::init()\n#18 \/srv\/www\/htdocs\/owncloud\/index.php(53): require_once(’\/srv\/www\/htdocs…’)\n#19 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/lib\/private\/RedisFactory.php",“Line”:127}"}
{“reqId”:“lhZ6gFHQi9YMUhzoPQaN”,“level”:4,“time”:“2022-11-18T08:41:59+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“webdav”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/MaskedUser/Documents/config.php",“message”:“Exception: HTTP/1.1 400 expected filesize 1317 got 0: {“Exception”:“Sabre\\DAV\\Exception\\BadRequest”,“Message”:“expected filesize 1317 got 0”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(173): OCA\\DAV\\Connector\\Sabre\\File->put()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(1098): OCA\\DAV\\Connector\\Sabre\\Directory->createFile()\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(504): Sabre\\DAV\\Server->createFile()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpPut()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(472): Sabre\\DAV\\Server->emit()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(253): Sabre\\DAV\\Server->invokeMethod()\n#6 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Server.php(349): Sabre\\DAV\\Server->start()\n#7 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#8 \/srv\/www\/htdocs\/owncloud\/remote.php(165): require_once(’\/srv\/www\/htdocs…’)\n#9 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php",“Line”:233}"}
{“reqId”:“ifecHjlmkvIimD5DGKgS”,“level”:4,“time”:“2022-11-18T08:52:41+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“MaskedUser”,“app”:“webdav”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/MaskedUser/Documents/config.php",“message”:“Exception: HTTP/1.1 400 expected filesize 1317 got 0: {“Exception”:“Sabre\\DAV\\Exception\\BadRequest”,“Message”:“expected filesize 1317 got 0”,“Code”:0,“Trace”:”#0 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(173): OCA\\DAV\\Connector\\Sabre\\File->put()\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(1098): OCA\\DAV\\Connector\\Sabre\\Directory->createFile()\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(504): Sabre\\DAV\\Server->createFile()\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpPut()\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(472): Sabre\\DAV\\Server->emit()\n#5 \/srv\/www\/htdocs\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(253): Sabre\\DAV\\Server->invokeMethod()\n#6 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Server.php(349): Sabre\\DAV\\Server->start()\n#7 \/srv\/www\/htdocs\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#8 \/srv\/www\/htdocs\/owncloud\/remote.php(165): require_once(’\/srv\/www\/htdocs…’)\n#9 {main}",“File”:"\/srv\/www\/htdocs\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php",“Line”:233}"}

Could only post most recent lines of log files as this is restricted to 32,000 characters.

Regards,

Oli

Either we are talking about different things or this is not supported. Could you clarify?

@alfredb OliMan74 is talking about the feature File Versions: Store and Display the Author of File Versions

@OliMan74 the correct config entry is
'file_storage.save_version_author' => true

Internally the autors are stored in json files in <datadirectory>/<userid>/files_versions, so this is only working for newly created versions after the config was activated. Any prior versions will not show the user metadata.

Additionally double check your Setup. It looks like you did not install the redis server and the apcu php module, for the latter see the Ubuntu manual as a reference: Install the Required Packages

3 Likes

@cortho Lesson learned. Thank you. :wink:

2 Likes

Thank you for the help with this, yes creating a new file does indeed now include the author which is good however, the feature I was mainly interested in is the ability to see the file version number and this is still not displayed.

Versions numbering is something which is currently not implemented.

2 Likes