Public link not createable through web-interface on ownCloud 10.0.8.5


#1

Steps to reproduce

  1. Login to web-interface of ownCloud
  2. Select the share button of a random (non-shared) directory and select “public link” and click the “Create public link” button.
  3. The popup only shows the current directory name and no other fields/options. Hit the “share” button, nothing happens.

Public links created through desktop-client work without problems and also show up in the web-interface. In webinterface only thing possible is deletion of a public link. Edit, etc. doesn’t work in that case either!

Expected behaviour

Provide fields like “link name” and share button actually creating the link.

Actual behaviour

Nothing happens, nothing ends up in log of owncloud (loglevel 0) nor in php log (debug).

Server configuration

Operating system: CentOS 6

Web server: Apache 2.4.33

Database: MySQL 5.7

PHP version: 7.1.18

ownCloud version: (see ownCloud admin page) 10.0.8.5

Updated from an older ownCloud or fresh install: updated from 10.0.7

Where did you install ownCloud from: zip downloaded from owncloud.org

Signing status (ownCloud 9.0 and above):

No errors have been found.

The content of config/config.php:

{
    "system": {
        "instanceid": "ocwchot38odu",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.hucon.pl"
        ],
        "datadirectory": "\/home\/cloud\/domains\/cloud.hucon.pl\/cloud_data",
        "overwrite.cli.url": "http:\/\/cloud.hucon.pl",
        "dbtype": "mysql",
        "version": "10.0.8.5",
        "dbname": "cloud_cloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "php",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 0,
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "htaccess.RewriteBase": "\/",
        "appstore.experimental.enabled": true,
        "singleuser": false,
        "session_keepalive": true,
        "versions_retention_obligation": "auto, 60",
        "operation.mode": "single-instance",
        "enable_previews": true
    }
}

List of activated apps:

Enabled:
  - announcementcenter: 1.2.0
  - audioplayer: 2.3.0
  - checksum: 0.3.5
  - configreport: 0.1.1
  - dav: 0.3.2
  - diagnostics: 0.1.2
  - encryption: 1.3.1
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_pdfviewer: 0.8.2
  - files_sharing: 0.10.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 16.0.2
  - impersonate: 0.2.0
  - market: 0.2.4
  - music: 0.6.1
  - notifications: 0.3.3
  - provisioning_api: 0.5.0
  - updatenotification: 0.2.1
Disabled:
  - comments
  - external
  - systemtags
  - theme-example
  - user_external

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: LDAP/ActiveDirectory/Webdav/…: no

Client configuration

Browser: Chrome, Safari, FireFox – all have same issue.

Operating system: MacOS 10.13 and Windows 10 have been tested and both show.

Logs

Web server error log

no httpd errors

ownCloud log (data/owncloud.log)

EMPTY

Browser log

Javascript console:

jquery-migrate.min.js?v=e122f6801fca38f936dafa858c26fff3:2 JQMIGRATE: Migrate is installed, version 1.4.0
soundmanager2-jsmin.js?v=e122f6801fca38f936dafa858c26fff3:34 SoundManager V2.97a.20170601 (HTML5-only mode)
soundmanager2-jsmin.js?v=e122f6801fca38f936dafa858c26fff3:34 SoundManager 2 HTML5 support: mp3 = true, mp4 = true, ogg = true, opus = true, wav = true, flac = true
soundmanager2-jsmin.js?v=e122f6801fca38f936dafa858c26fff3:34 SoundManager 2: Ready. ✓
4js.js?v=e122f6801fca38f936dafa858c26fff3:2287 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js?v=e122f6801fca38f936dafa858c26fff3:2287
markFileAsShared @ share.js?v=e122f6801fca38f936dafa858c26fff3:305
_updateFileActionIcon @ share.js?v=e122f6801fca38f936dafa858c26fff3:237
(anonymous) @ share.js?v=e122f6801fca38f936dafa858c26fff3:149
_.each._.forEach @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:153
(anonymous) @ share.js?v=e122f6801fca38f936dafa858c26fff3:130
dispatch @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
r.handle @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
trigger @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
a.event.trigger @ jquery-migrate.min.js?v=e122f6801fca38f936dafa858c26fff3:2
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
each @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
each @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
trigger @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
_nextPage @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:963
setFiles @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:1015
reloadCallback @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:1651
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
j @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
fireWith @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
e.(anonymous function) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
(anonymous) @ client.js?v=e122f6801fca38f936dafa858c26fff3:476
Promise.then (async)
getFolderContents @ client.js?v=e122f6801fca38f936dafa858c26fff3:469
reload @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:1570
changeDirectory @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:1430
_onUrlChanged @ filelist.js?v=e122f6801fca38f936dafa858c26fff3:560
dispatch @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
r.handle @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
trigger @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
a.event.trigger @ jquery-migrate.min.js?v=e122f6801fca38f936dafa858c26fff3:2
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
each @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
each @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
trigger @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
_onPopState @ app.js?v=e122f6801fca38f936dafa858c26fff3:276
initialize @ app.js?v=e122f6801fca38f936dafa858c26fff3:110
(anonymous) @ app.js?v=e122f6801fca38f936dafa858c26fff3:317
(anonymous) @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:768
setTimeout (async)
_.delay @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:767
executeBound @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:701
bound @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:733
(anonymous) @ app.js?v=e122f6801fca38f936dafa858c26fff3:316
j @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
fireWith @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
ready @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
I @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
sharedialogmailview.js?v=e122f6801fca38f936dafa858c26fff3:197 Uncaught TypeError: this.$el.find(...).select2 is not a function
    at child._afterRender (sharedialogmailview.js?v=e122f6801fca38f936dafa858c26fff3:197)
    at child.<anonymous> (sharedialogmailview.js?v=e122f6801fca38f936dafa858c26fff3:62)
    at executeBound (underscore.js?v=e122f6801fca38f936dafa858c26fff3:701)
    at child.bound [as render] (underscore.js?v=e122f6801fca38f936dafa858c26fff3:733)
    at child.render (sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:270)
    at Object.adjustDialog (sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:367)
    at Object.<anonymous> (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2)
    at j (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2)
    at Object.<anonymous> (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2)
_afterRender @ sharedialogmailview.js?v=e122f6801fca38f936dafa858c26fff3:197
(anonymous) @ sharedialogmailview.js?v=e122f6801fca38f936dafa858c26fff3:62
executeBound @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:701
bound @ underscore.js?v=e122f6801fca38f936dafa858c26fff3:733
render @ sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:270
adjustDialog @ sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:367
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
j @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
fireWith @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
j @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
fireWith @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
e.(anonymous function) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
(anonymous) @ oc-dialogs.js?v=e122f6801fca38f936dafa858c26fff3:710
j @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
fireWith @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:2
x @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:4
(anonymous) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:4
load (async)
send @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:4
ajax @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:4
n.(anonymous function) @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:4
_getMessageTemplate @ oc-dialogs.js?v=e122f6801fca38f936dafa858c26fff3:708
message @ oc-dialogs.js?v=e122f6801fca38f936dafa858c26fff3:246
show @ sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:357
_showPopupForShare @ sharedialoglinklistview.js?v=e122f6801fca38f936dafa858c26fff3:211
onAddButtonClick @ sharedialoglinklistview.js?v=e122f6801fca38f936dafa858c26fff3:157
dispatch @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
r.handle @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
8sharedialogexpirationview.js?v=e122f6801fca38f936dafa858c26fff3:159 Uncaught TypeError: Cannot read property 'val' of undefined
    at child.getValue (sharedialogexpirationview.js?v=e122f6801fca38f936dafa858c26fff3:159)
    at child._save (sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:129)
    at child._onClickSave (sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:300)
    at HTMLButtonElement.<anonymous> (jquery.ocdialog.js?v=e122f6801fca38f936dafa858c26fff3:108)
    at HTMLButtonElement.dispatch (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3)
    at HTMLButtonElement.r.handle (jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3)
getValue @ sharedialogexpirationview.js?v=e122f6801fca38f936dafa858c26fff3:159
_save @ sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:129
_onClickSave @ sharedialoglinkshareview.js?v=e122f6801fca38f936dafa858c26fff3:300
(anonymous) @ jquery.ocdialog.js?v=e122f6801fca38f936dafa858c26fff3:108
dispatch @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3
r.handle @ jquery.min.js?v=e122f6801fca38f936dafa858c26fff3:3

#2

I think i have read somewhere in a thread here that this is a known bug getting fixed with the new ownCloud version. From what i can remember it was something about a disabled app. Maybe you have some luck searching for existing threads with the forums search?


#3

please see https://github.com/owncloud/core/issues/31454 -

enabling systemtags app is a temporary workaround - the proper fix will be included in ownCloud 10.0.9


Sharing files doesn't work (at all): can't create link
#4

yep. I took the systemtags app from a backup, ran occ upgrade, occ app:enable systemtags and it is working now again.

Good this will be fixed in 10.0.9. I couldn’t find the systemtags app at all anymore on the market or site from owncloud. Only ended up in the enterprise-only workflow applications when trying to search anything regarding tags.

Anyhow, thanks a lot for pointing this out!


Owncloud 10.0.8 - public link
#5

Indeed strange - as when I am checking the official download tar packages - the app systemtags is included in the tarball (see apps/systemtags )