Skip to content

NC 15.0.0, versions do not appear, TypeError: this.sync is not a function #13319

@lecyril

Description

@lecyril

Following the advice of stratege1401 on nextcloud forum
Please bear with me, this is my very first bug report on github, I will try to do my best!

Steps to reproduce

  1. Create a file
  2. Make a change so a new version is created
  3. Verify that a new file in /nextcloud-data/username/files-versions has effectively been created
  4. In the web interface, click on Details -> Versions for that particular file

Expected behaviour

The list of previous versions of the file should appear.

Actual behaviour

Nothing is displayed.
The other tabs work normally: activity shows that the file has been modified, Share allows for sharing the file. Only "versions" does apparently nothing.
Output from Firefox and Chrome consoles (see below): TypeError: this.sync is not a function** core.js:2101:14. I can provide other details if needed.
It might be related to my php configuration, so I included a link to the whole phpinfo() below.

Server configuration

Operating system: linux / shared hosting

Web server: Apache

Database: 10.1.37-MariaDB

PHP version: 7.2.13 - see phpinfo

Nextcloud version: 15.0.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated gradually since NC11 whenever updates were available

Where did you install Nextcloud from: From nextcloud.com web installer initially (NC11), then using auto-updater

Details ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed No errors have been found. ```

List of activated apps:

App list

Accessibility 1.1.0 Officielle
Activity 2.8.2 Officielle
Auditing / Logging 1.5.0 Officielle
Contacts 3.0.1 Officielle
Default encryption module 2.3.0 Officielle
External storage support 1.6.0 Officielle
Federation 1.5.0 Officielle
File sharing 1.7.0 Officielle
First run wizard 2.4.0 Officielle
Gallery 18.2.0 Officielle
Log Reader 2.0.0 Officielle
Nextcloud announcements 1.4.0 Officielle
Notifications 2.3.0 Officielle
Password policy 1.5.0 Officielle
PDF viewer 1.4.0 Officielle
Share by mail 1.5.0 Officielle
Support 1.0.0 Officielle
Text editor 2.7.0 Officielle
Theming 1.6.0 Officielle
Update notification 1.5.0 Officielle
Versions 1.8.0 Officielle

Nextcloud configuration:

Config report
$CONFIG = array (
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'secret' => 'XXX',
  'trusted_domains' => 
  array (
    0 => 'XXX',
  ),
  'datadirectory' => '/home/secondes/nextcloud-data',
  'overwrite.cli.url' => 'XXX',
  'dbtype' => 'mysql',
  'version' => '15.0.0.10',
  'dbname' => 'XXX',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXX',
  'dbpassword' => 'XXX',
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'debug' => false,
  'updater.secret' => 'XXX',
  'maintenance' => false,
  'enable_certificate_management' => false,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'XXX',
  'theme' => '',
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
  'versions_retention_obligation' => 'auto',
  'mail_smtphost' => 'XXX',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'XXX',
  'mail_smtppassword' => 'XXX',
  'mail_smtpsecure' => 'ssl',
);

Are you using external storage, if yes which one: no

Are you using encryption: yes

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Firefox 60.0.1 / Chrome 67.0.3396.87

Operating system: Windows 10

Logs

Web server error log

Web server error log
Nothing relevant to the error according to the timestamps

Nextcloud log (data/nextcloud.log)

Nextcloud log
Nothing relevant to the error according to the timestamps

Browser log

Firefox console, when I hit "Versions" on the web interface
    **`TypeError: this.sync is not a function** core.js:2101:14
fetch    https://XXX/core/vendor/core.js:2101:14
nextPage    https://XXX/index.php/js/files_versions/merged.js:270:4
setFileInfo    https://XXX/index.php/js/files_versions/merged.js:360:5
selectTab    https://XXX/index.php/js/files/merged-index.js:9972:4
_onClickTab    https://XXX/index.php/js/files/merged-index.js:9876:4
_onClickTab self-hosted:975:17 
dispatch    https://XXX/core/vendor/core.js:3:6414
add/r.handle    https://XXX/core/vendor/core.js:3:3224

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions