Versions App doesn't work for me

Steps to reproduce

Install NC22, install Versions App and it doesn’t work for me?
I dont know if my configuration/app is somehow broken or it’s a general bug?
Does anyone else have this issue?

Expected behaviour

Expecting to see multiple previous versions of a file

Actual behaviour

not seeing any previous versions

Server configuration detail

Operating system: Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64

Webserver: Apache/2.4.38 (Debian) (apache2handler)

Database: mysql 10.5.11

PHP version:

7.4.21
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, bz2, posix, Reflection, session, SimpleXML, pdo_sqlite, standard, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, Phar, exif, gd, gmp, imagick, imap, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, smbclient, sodium, zip, libsmbclient, Zend OPcache

Nextcloud version: 22.0.0 - 22.0.0.11

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: dockerhub

Signing status
List of activated apps
Enabled:
 - accessibility: 1.7.0
 - activity: 2.15.0
 - approval: 1.0.4
 - auto_groups: 1.3.1
 - breezedark: 22.0.0
 - bruteforcesettings: 2.2.0
 - camerarawpreviews: 0.7.11
 - checksum: 1.1.2
 - circles: 22.0.0
 - cloud_federation_api: 1.4.0
 - collectives: 0.10.22
 - cospend: 1.3.10
 - dav: 1.18.0
 - drawio: 1.0.1
 - duplicatefinder: 0.0.11
 - ehr: 0.1.5
 - external: 3.9.0
 - extract: 1.3.2
 - federatedfilesharing: 1.11.0
 - federation: 1.11.0
 - files: 1.16.0
 - files_external: 1.12.1
 - files_markdown: 2.3.4
 - files_pdfviewer: 2.3.0
 - files_rightclick: 1.1.0
 - files_sharing: 1.13.2
 - files_snapshots: 1.0.2
 - files_trashbin: 1.11.0
 - files_versions: 1.14.0
 - files_videoplayer: 1.11.0
 - gpxpod: 4.2.8
 - hidesidebars: 1.1.0
 - impersonate: 1.9.0
 - integration_whiteboard: 0.0.14
 - issuetemplate: 0.7.0
 - login_notes: 0.4.0
 - logreader: 2.7.0
 - lookup_server_connector: 1.9.0
 - mail: 1.10.2
 - metadata: 0.14.0
 - nextcloud_announcements: 1.11.0
 - notifications: 2.10.1
 - oauth2: 1.9.0
 - occweb: 0.0.7
 - password_policy: 1.12.0
 - phonetrack: 0.6.9
 - photos: 1.4.0
 - previewgenerator: 3.1.1
 - privacy: 1.6.0
 - provisioning_api: 1.11.0
 - recommendations: 1.1.0
 - registration: 1.3.0
 - richdocuments: 4.2.1
 - serverinfo: 1.12.0
 - settings: 1.3.0
 - sharebymail: 1.11.0
 - spreed: 12.0.1
 - support: 1.5.0
 - survey_client: 1.10.0
 - systemtags: 1.11.0
 - tasks: 0.14.0
 - text: 3.3.0
 - theming: 1.12.0
 - timetracker: 0.0.66
 - twofactor_backupcodes: 1.10.1
 - unsplash: 1.2.3
 - updatenotification: 1.11.0
 - user_status: 1.1.1
 - video_converter: 1.0.2
 - viewer: 1.6.0
 - weather_status: 1.1.0
 - workflow_media_converter: 1.2.10
 - workflowengine: 2.3.0
Disabled:
 - admin_audit
 - calendar
 - comments
 - contacts
 - contactsinteraction
 - dashboard
 - encryption
 - firstrunwizard
 - forms
 - sharingpath
 - user_ldap

Configuration (config/config.php)
{
    "htaccess.RewriteBase": "\/",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.secureserver.de"
    ],
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "22.0.0.11",
    "overwrite.cli.url": "https:\/\/cloud.serverwolf.de",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "overwritehost": "cloud.secureserver.de",
    "overwriteprotocol": "https",
    "app_install_overwrite": [
        "occweb",
        "issuetemplate",
        "tasks",
        "previewgenerator",
        "camerarawpreviews",
        "ehr",
        "forms",
        "hidesidebars"
    ],
    "enable_previews": true,
    "enabledPreviewProviders": [
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF",
        "OC\\Preview\\MSOffice2003",
        "OC\\Preview\\MSOfficeDoc",
        "OC\\Preview\\Image",
        "OC\\Preview\\Photoshop",
        "OC\\Preview\\TIFF",
        "OC\\Preview\\SVG",
        "OC\\Preview\\Font",
        "OC\\Preview\\Movie",
        "OC\\Preview\\MKV",
        "OC\\Preview\\MP4",
        "OC\\Preview\\AVI",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\PNG",
        "OC\\Preview\\GIF"
    ],
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "ssl",
    "default_phone_region": "DE",
    "maintenance": false,
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "loglevel": 2,
    "updater.release.channel": "stable"
}

Are you using external storage, if yes which one: local/smb

Are you using encryption: no

Client configuration

Browser: Chrome/92.0.4515.107 Safari/537.36

Here you can see there are no previous versions:
image
Even tho the file has been edited multiple times:

Please try to create a textfile via webinterface, then edit this file a few times via webinterface.

I you use it via client, some software creates new files, deletes the old one and copies the new file in the location of the old. That is not properly tracked by the sync client.

Thanks for your suggestion, I tried that but it doesn’t work as well…
Also none of my old text files has versions.

When I tried to uninstall/reinstall the app I could only disable and enable it. Is that normal? Maybe I should delete the app data and replace it by reinstalling or is that not a good idea?

Thanks for your help so far :slight_smile:

Logs would be helpful again, if after saving a textfile and after a cron run, if there are some errors?

Logs show no errors for this app.

Only pdf preview (security) but I know about this one and issuetemplate, but that’s also not related.