File/folder sharing not working after upgrading from v17 to v18.0.4

Steps to reproduce

  • Go to files
  • Click on share icon

Expected behaviour

Right side menu opens to access share options

Actual behaviour

Right side menu opens on tab Sharing but content is empty.
Chrome Console shows Error: “additionalScripts.js:1 Uncaught TypeError: OC.Share.ShareConfigModel is not a constructor
at i.render (additionalScripts.js:1)
at i.setFileInfo (detailtabview.js:104)
at i.selectTab (detailsview.js:178)
at FileList.showDetailsView (filelist.js:579)
at Object.actionHandler (share.js:442)
at Object.action (fileactions.js:136)
at HTMLAnchorElement. (fileactions.js:428)
at HTMLAnchorElement.dispatch (jquery.js:4435)
at HTMLAnchorElement._.handle (jquery.js:4121)”

Server configuration detail

Operating system: Linux 4.15.0 #1 SMP Mon Mar 16 15:39:59 MSK 2020 x86_64

Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)

Database: mysql 5.7.30

PHP version:

7.2.30-1+ubuntu18.04.1+deb.sury.org+1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, msgpack, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache

Nextcloud version: 18.0.4 - 18.0.4.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated from v 17

Where did you install Nextcloud from: unknown

Signing status

Array
(
)

List of activated apps
Enabled:
 - accessibility: 1.4.0
 - activity: 2.11.0
 - admin_audit: 1.8.0
 - apporder: 0.10.0
 - bruteforcesettings: 1.6.0
 - calendar: 2.0.3
 - camerarawpreviews: 0.7.3
 - cloud_federation_api: 1.1.0
 - comments: 1.8.0
 - contacts: 3.3.0
 - cospend: 0.5.4
 - data_request: 1.5.0
 - dav: 1.14.0
 - extract: 1.2.4
 - federatedfilesharing: 1.8.0
 - federation: 1.8.0
 - files: 1.13.1
 - files_external: 1.9.0
 - files_markdown: 2.2.0
 - files_pdfviewer: 1.7.0
 - files_retention: 1.7.0
 - files_rightclick: 0.15.2
 - files_sharing: 1.10.1
 - files_trashbin: 1.8.0
 - files_versions: 1.11.0
 - files_videoplayer: 1.7.0
 - firstrunwizard: 2.7.0
 - flowupload: 1.0.0
 - impersonate: 1.5.1
 - issuetemplate: 0.6.0
 - logreader: 2.3.0
 - lookup_server_connector: 1.6.0
 - metadata: 0.11.1
 - music: 0.14.1
 - notes: 3.4.0
 - notifications: 2.6.0
 - oauth2: 1.6.0
 - password_policy: 1.8.0
 - photos: 1.0.0
 - privacy: 1.2.0
 - provisioning_api: 1.8.0
 - quickaccesssorting: 1.0.3
 - quota_warning: 1.7.0
 - ransomware_protection: 1.6.1
 - recommendations: 0.6.0
 - serverinfo: 1.8.0
 - settings: 1.0.0
 - spreed: 8.0.9
 - support: 1.1.0
 - systemtags: 1.8.0
 - tasks: 0.13.1
 - terms_of_service: 1.4.0
 - text: 2.0.0
 - theming: 1.9.0
 - theming_customcss: 1.6.0
 - twofactor_admin: 2.1.0
 - twofactor_backupcodes: 1.7.0
 - twofactor_totp: 4.1.3
 - updatenotification: 1.8.0
 - uploaddetails: 0.1.3
 - user_ldap: 1.8.0
 - viewer: 1.2.0
 - workflowengine: 2.0.0
Disabled:
 - admin_notifications
 - announcementcenter
 - appointments
 - browser_warning
 - encryption
 - mail
 - maps
 - nextcloud_announcements
 - sharebymail
 - survey_client
 - timetracker
 - workflow_script

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.example.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "18.0.4.2",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "UTC",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 0,
    "debug": true,
    "data-fingerprint": "DATA_FINGERPRINT",
    "updater.release.channel": "stable",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
    "mysql.utf8mb4": true,
    "mail_smtpsecure": "ssl",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "app_install_overwrite": [
        "files_downloadactivity",
        "admin_notifications",
        "uploaddetails"
    ],
    "trashbin_retention_obligation": 14,
    "overwrite.cli.url": "http:\/\/cloud.example.com",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

Are you using external storage, if yes which one:

Are you using encryption: false

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

LDAP configuration (delete this par if not used)

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Operating system: Windows 10 Pro

Logs

Web server error log
Insert your web server log here 
Nextcloud log
Insert your Nextcloud log here
Browser log

JQMIGRATE: Migrate is installed, version 1.4.1
ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1
t @ index.js:8
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ notifications.js:1
n @ notifications.js:1
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ notifications.js:1
(anonymous) @ notifications.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
e.default @ index.js:8
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ vue.esm.js:8
n @ notifications.js:1
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ index.js:8
n @ notifications.js:1
(anonymous) @ notifications.js:1
(anonymous) @ notifications.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
(anonymous) @ templates.js:2
(anonymous) @ templates.js:279
files.js:52 Proxying an event bus of version 1.1.2 with 0.2.1
t @ files.js:52
(anonymous) @ files.js:52
o @ files.js:1
(anonymous) @ files.js:52
o @ files.js:1
(anonymous) @ files.js:52
o @ files.js:1
(anonymous) @ files.js:32
o @ files.js:1
(anonymous) @ mime.js:23
o @ files.js:1
(anonymous) @ files.js:52
o @ files.js:1
(anonymous) @ files.js:1
(anonymous) @ files.js:1
external.js:20 Uncaught TypeError: Cannot set property ‘showAddExternalDialog’ of undefined
at external.js:20
at external.js:175
(anonymous) @ external.js:20
(anonymous) @ external.js:175
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
(anonymous) @ systemtags.js:1
n @ systemtags.js:1
(anonymous) @ systemtags.js:1
n @ systemtags.js:1
(anonymous) @ systemtags.js:1
(anonymous) @ systemtags.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
(anonymous) @ comments.js:1
n @ comments.js:1
(anonymous) @ comments.js:1
n @ comments.js:1
(anonymous) @ comments.js:1
(anonymous) @ comments.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
t.default @ files_versions.js:1
(anonymous) @ files_versions.js:1
n @ files_versions.js:1
(anonymous) @ files_versions.js:1
n @ files_versions.js:1
(anonymous) @ files_versions.js:1
n @ files_versions.js:1
(anonymous) @ files_versions.js:1
n @ files_versions.js:1
(anonymous) @ files_versions.js:1
(anonymous) @ files_versions.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
(anonymous) @ templates.js:2
(anonymous) @ templates.js:157
ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1
t @ index.js:8
(anonymous) @ index.js:8
n @ files_sharing_tab.js:1
(anonymous) @ index.js:8
n @ files_sharing_tab.js:1
(anonymous) @ index.js:8
n @ files_sharing_tab.js:1
(anonymous) @ Tooltip.js:24
n @ files_sharing_tab.js:1
(anonymous) @ Avatar.js:67
n @ popper.js:25
(anonymous) @ Avatar.js:67
n @ popper.js:25
(anonymous) @ popper.js:25
(anonymous) @ popper.js:25
n @ files_sharing_tab.js:1
(anonymous) @ Tooltip.js:24
(anonymous) @ Tooltip.js:24
n @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1317
n @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1
ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1
t @ index.js:10
(anonymous) @ index.js:10
n @ files_sharing_tab.js:1
(anonymous) @ index.js:10
n @ files_sharing_tab.js:1
(anonymous) @ index.js:10
n @ files_sharing_tab.js:1
(anonymous) @ ActionButton.js:43
n @ files_sharing_tab.js:1
(anonymous) @ Tooltip.js:24
(anonymous) @ Tooltip.js:24
n @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1317
n @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1
(anonymous) @ files_sharing_tab.js:1
viewer.js:351 Proxying an event bus of version 1.1.2 with 0.2.0
t @ viewer.js:351
(anonymous) @ viewer.js:351
n @ viewer.js:1
(anonymous) @ viewer.js:351
n @ viewer.js:1
(anonymous) @ viewer.js:351
n @ viewer.js:1
(anonymous) @ index.js:1
n @ viewer.js:1
(anonymous) @ viewer.js:351
n @ viewer.js:1
(anonymous) @ viewer.js:1
(anonymous) @ viewer.js:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
(anonymous) @ templates.js:2
(anonymous) @ templates.js:37
DevTools failed to load SourceMap: Could not parse content for https://cloud.example.com/apps/terms_of_service/js/terms_of_service_user.js.map: Unexpected token < in JSON at position 0
sorting.js:90 customorder
globals.js:66 Clipboard is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
_setupClipboard @ mainfileinfodetailview.js:70
initialize @ mainfileinfodetailview.js:66
t.View @ constants.js:22
i @ constants.js:22
i @ constants.js:22
initialize @ filelist.js:302
FileList @ filelist.js:32
initialize @ app.js:84
(anonymous) @ app.js:344
(anonymous) @ jquery.js:564
setTimeout (async)
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
I @ jquery.js:564
i @ jquery.js:564
(anonymous) @ app.js:343
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
globals.js:66 The select2 library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
render @ systemtags.js:1
render @ systemtags.js:1
setFileInfo @ systemtags.js:1
(anonymous) @ detailsview.js:212
.each..forEach @ jquery.js:564
setFileInfo @ detailsview.js:211
_updateDetailsView @ filelist.js:606
reload @ filelist.js:2006
changeDirectory @ filelist.js:1854
_onUrlChanged @ filelist.js:721
I @ jquery.js:564
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
dispatch @ jquery.js:564
_.handle @ jquery.js:564
trigger @ jquery.js:564
e.event.trigger @ jquery-migrate.min.js:1
(anonymous) @ jquery.js:564
each @ jquery.js:15
each @ jquery.js:15
trigger @ jquery.js:564
_onPopState @ app.js:303
initialize @ app.js:129
(anonymous) @ app.js:344
(anonymous) @ jquery.js:564
setTimeout (async)
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
I @ jquery.js:564
i @ jquery.js:564
(anonymous) @ app.js:343
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
globals.js:66 The select2 library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
render @ systemtags.js:1
render @ systemtags.js:1
setFileInfo @ systemtags.js:1
(anonymous) @ detailsview.js:212
.each..forEach @ jquery.js:564
setFileInfo @ detailsview.js:211
_updateDetailsView @ filelist.js:606
reload @ filelist.js:2006
changeDirectory @ filelist.js:1854
_onUrlChanged @ filelist.js:721
I @ jquery.js:564
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
dispatch @ jquery.js:564
_.handle @ jquery.js:564
trigger @ jquery.js:564
e.event.trigger @ jquery-migrate.min.js:1
(anonymous) @ jquery.js:564
each @ jquery.js:15
each @ jquery.js:15
trigger @ jquery.js:564
_onPopState @ app.js:303
initialize @ app.js:129
(anonymous) @ app.js:344
(anonymous) @ jquery.js:564
setTimeout (async)
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
I @ jquery.js:564
i @ jquery.js:564
(anonymous) @ app.js:343
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
VM819:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Object.success (sorting.js:223)
at c (jquery.js:3099)
at Object.fireWith [as resolveWith] (jquery.js:3211)
at k (jquery.js:8264)
at XMLHttpRequest. (jquery.js:8605)
(anonymous) @ sorting.js:223
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
m.each.m. @ jquery.js:564
setInitialQuickaccessSettings @ sorting.js:222
(anonymous) @ sorting.js:74
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
m.each.m. @ jquery.js:564
initialize @ sorting.js:72
NavigationExtender @ sorting.js:36
(anonymous) @ sorting.js:25
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
10globals.js:66 The humanFileSize library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
_createRow @ filelist.js:1582
fileList._createRow @ tagsplugin.js:236
e._createRow @ comments.js:1
e._createRow @ additionalScripts.js:1
_renderRow @ filelist.js:1766
_nextPage @ filelist.js:1255
setFiles @ filelist.js:1333
reloadCallback @ filelist.js:2071
(anonymous) @ jquery.js:564
c @ jquery.js:564
fireWith @ jquery.js:564
Deferred.m.each.r. @ jquery.js:564
(anonymous) @ client.js:502
Promise.then (async)
getFolderContents @ client.js:495
reload @ filelist.js:1998
changeDirectory @ filelist.js:1854
_onUrlChanged @ filelist.js:721
I @ jquery.js:564
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
dispatch @ jquery.js:564
.handle @ jquery.js:564
trigger @ jquery.js:564
e.event.trigger @ jquery-migrate.min.js:1
(anonymous) @ jquery.js:564
each @ jquery.js:15
each @ jquery.js:15
trigger @ jquery.js:564
onPopState @ app.js:303
initialize @ app.js:129
(anonymous) @ app.js:344
(anonymous) @ jquery.js:564
setTimeout (async)
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
I @ jquery.js:564
i @ jquery.js:564
(anonymous) @ app.js:343
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
additionalScripts.js:1 Uncaught (in promise) TypeError: OC.Share.markFileAsShared is not a function
at Object.updateFileActionIcon (additionalScripts.js:1)
at share.js:395
at Function.
.each.
.forEach (underscore.js:186)
at HTMLDivElement. (share.js:373)
at HTMLDivElement.dispatch (jquery.js:4435)
at HTMLDivElement.
.handle (jquery.js:4121)
at Object.trigger (jquery.js:4350)
at Object.e.event.trigger (jquery-migrate.min.js:2)
at HTMLTableSectionElement. (jquery.js:4901)
at Function.each (jquery.js:374)
_updateFileActionIcon @ additionalScripts.js:1
(anonymous) @ additionalScripts.js:1
.each..forEach @ jquery.js:564
(anonymous) @ additionalScripts.js:1
dispatch @ jquery.js:564
_.handle @ jquery.js:564
trigger @ jquery.js:564
e.event.trigger @ jquery-migrate.min.js:1
(anonymous) @ jquery.js:564
each @ jquery.js:15
each @ jquery.js:15
trigger @ jquery.js:564
_nextPage @ filelist.js:1274
setFiles @ filelist.js:1333
reloadCallback @ filelist.js:2071
(anonymous) @ jquery.js:564
c @ jquery.js:564
fireWith @ jquery.js:564
Deferred.m.each.r. @ jquery.js:564
(anonymous) @ client.js:502
Promise.then (async)
getFolderContents @ client.js:495
reload @ filelist.js:1998
changeDirectory @ filelist.js:1854
_onUrlChanged @ filelist.js:721
I @ jquery.js:564
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
dispatch @ jquery.js:564
_.handle @ jquery.js:564
trigger @ jquery.js:564
e.event.trigger @ jquery-migrate.min.js:1
(anonymous) @ jquery.js:564
each @ jquery.js:15
each @ jquery.js:15
trigger @ jquery.js:564
_onPopState @ app.js:303
initialize @ app.js:129
(anonymous) @ app.js:344
(anonymous) @ jquery.js:564
setTimeout (async)
(anonymous) @ jquery.js:564
(anonymous) @ jquery.js:564
I @ jquery.js:564
i @ jquery.js:564
(anonymous) @ app.js:343
c @ jquery.js:564
fireWith @ jquery.js:564
ready @ jquery.js:564
P @ jquery.js:564
globals.js:66 The select2 library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
render @ systemtags.js:1
render @ systemtags.js:1
setFileInfo @ systemtags.js:1
(anonymous) @ detailsview.js:212
.each..forEach @ jquery.js:564
setFileInfo @ detailsview.js:211
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The select2 library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
render @ systemtags.js:1
render @ systemtags.js:1
setFileInfo @ systemtags.js:1
(anonymous) @ detailsview.js:212
.each..forEach @ jquery.js:564
setFileInfo @ detailsview.js:211
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
.handle @ jquery.js:564
additionalScripts.js:1 Uncaught TypeError: OC.Share.ShareConfigModel is not a constructor
at i.render (additionalScripts.js:1)
at i.setFileInfo (detailtabview.js:104)
at i.selectTab (detailsview.js:178)
at FileList.showDetailsView (filelist.js:579)
at Object.actionHandler (share.js:442)
at Object.action (fileactions.js:136)
at HTMLAnchorElement. (fileactions.js:428)
at HTMLAnchorElement.dispatch (jquery.js:4435)
at HTMLAnchorElement.
.handle (jquery.js:4121)
render @ additionalScripts.js:1
setFileInfo @ detailtabview.js:104
selectTab @ detailsview.js:178
showDetailsView @ filelist.js:579
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
_formatItem @ activitytabview.js:124
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
parseMessage @ richObjectStringParser.js:22
_formatItem @ activitytabview.js:127
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
_formatItem @ activitytabview.js:129
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
getUnixMilliseconds @ activitymodel.js:26
getRelativeDate @ activitymodel.js:35
_formatItem @ activitytabview.js:137
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
_formatItem @ activitytabview.js:140
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
_formatItem @ activitytabview.js:124
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
parseMessage @ richObjectStringParser.js:22
_formatItem @ activitytabview.js:127
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The escapeHTML library is deprecated! It will be removed in nextcloud 19.
ne @ globals.js:64
r @ globals.js:64
_formatItem @ activitytabview.js:129
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
getUnixMilliseconds @ activitymodel.js:26
getRelativeDate @ activitymodel.js:35
_formatItem @ activitytabview.js:137
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:64
get @ globals.js:64
_formatItem @ activitytabview.js:140
_onAddModel @ activitytabview.js:165
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
_onModelEvent @ constants.js:22
m @ constants.js:22
p @ constants.js:22
c @ constants.js:22
a.trigger @ constants.js:22
set @ constants.js:22
e.success @ constants.js:22
c @ jquery.js:564
fireWith @ jquery.js:564
k @ jquery.js:564
(anonymous) @ jquery.js:564
load (async)
send @ jquery.js:564
ajax @ jquery.js:564
t.ajax @ constants.js:22
t.sync @ constants.js:22
sync @ constants.js:22
fetch @ constants.js:22
setFileInfo @ activitytabview.js:68
setFileInfo @ detailsview.js:208
_updateDetailsView @ filelist.js:631
showDetailsView @ filelist.js:577
actionHandler @ additionalScripts.js:1
action @ fileactions.js:136
(anonymous) @ fileactions.js:428
dispatch @ jquery.js:564
_.handle @ jquery.js:564
globals.js:66 The select2 library is deprecated! It will be removed in nextcloud 19.

Probably the interesting part:
1st error: Uncaught TypeError: Cannot set property ‘showAddExternalDialog’ of undefined
2nd error: Uncaught SyntaxError: Unexpected end of JSON input
3rd error: Uncaught (in promise) TypeError: OC.Share.markFileAsShared is not a function
4th error: Uncaught TypeError: OC.Share.ShareConfigModel is not a constructor

GitHub-Issue

After i tried numerous things, i used an inkognito tab in Chrome and realised i had no more problems.
So i deleted all browser data for my Nextcloud and now everything works like a charm.

1 Like