You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system:
Linux (Ubuntu 16.04) Web server:
Apache 2
Database:
MySQL PHP version:
5.6 cloud server: Nextcloud or ownCloud
ownCloud cloud version: (see admin page or version.php)
10.0.10 Updated from an older installation or fresh install:
updated List of activated apps:
App list
Enabled:
calendar: 1.6.0
comments: 0.3.0
configreport: 0.1.1
contacts: 1.5.4
dav: 0.4.0
external: 1.2
federatedfilesharing: 0.3.1
federation: 0.1.0
files: 1.5.1
files_external: 0.7.1
files_sharing: 0.11.0
files_trashbin: 0.9.1
files_versions: 1.3.0
files_videoplayer: 0.9.8
gallery: 16.1.0
market: 0.2.5
notifications: 0.3.5
onlyoffice: 2.1.1
polls: 0.8.1
provisioning_api: 0.5.0
updatenotification: 0.2.1
wallpaper: 0.1
Disabled:
encryption
firstrunwizard
richdocuments
systemtags
user_external
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local folder, smb share, sftp, etc.
no
Are you using encryption: yes/no
no
Are you using custom gallery.cnf config files: yes/no
no
Web server error log
Web server error log
nothing extraordinary
Cloud log
Cloud log
nothing gallery related
Client configuration
Browser:
Chrome Operating system:
Linux Ubuntu 16.04
Browser log
Browser log
VM2006:1 PUT https://cloud.csa-gmbh.com/ocs/v2.php/apps/files_sharing/api/v1/shares/undefined?format=json 404 (Not Found)
share.js?v=e8c7a2863…da54ef0371ad4f:1112 Uncaught TypeError: Cannot read property 'message' of undefined
at Object. (share.js?v=e8c7a2863…da54ef0371ad4f:1112)
at j (jquery.js:3099)
at Object.fireWith [as rejectWith] (jquery.js:3211)
at x (jquery.js:8266)
at XMLHttpRequest. (jquery.js:8605)
The text was updated successfully, but these errors were encountered:
I do observe the same problem here. However the owncloud.log file is a bit more talkative. The issue seems to boil down to this line where an 'undefined' is sent in a query for 'id' where an integer would be expected:
{"reqId":"XPeQSH8AAQEAAEX9IoQAAAAK","level":3,"time":"2019-06-05T09:50:01+00:00","remoteAddr":"XXX.XXX.XXX.XXX","user":"XXX","app":"PHP","method":"PUT","url":"/owncloud/ocs/v2.php/apps/files_sharing/api/v1/shares/undefined?format=json","message":"Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT * FROM "oc_share" WHERE ("id" = ?) AND ("share_type" IN (?, ?, ?)) AND (("item_type" = ?) OR ("item_type" = ?))' with params ["undefined", 0, 1, 3, "file", "folder"]:\n\nSQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "undefined" at /usr/src/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php#91"}
Bug report
Steps to reproduce
Expected behaviour
Actual behaviour
Server configuration
Operating system:
Linux (Ubuntu 16.04)
Web server:
Apache 2
Database:
MySQL
PHP version:
5.6
cloud server: Nextcloud or ownCloud
ownCloud
cloud version: (see admin page or version.php)
10.0.10
Updated from an older installation or fresh install:
updated
List of activated apps:
App list
Enabled:
Disabled:
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local folder, smb share, sftp, etc.
no
Are you using encryption: yes/no
no
Are you using custom gallery.cnf config files: yes/no
no
Web server error log
Web server error log
nothing extraordinary
Cloud log
Cloud log
nothing gallery related
Client configuration
Browser:
Chrome
Operating system:
Linux Ubuntu 16.04
Browser log
Browser log
VM2006:1 PUT https://cloud.csa-gmbh.com/ocs/v2.php/apps/files_sharing/api/v1/shares/undefined?format=json 404 (Not Found)
share.js?v=e8c7a2863…da54ef0371ad4f:1112 Uncaught TypeError: Cannot read property 'message' of undefined
at Object. (share.js?v=e8c7a2863…da54ef0371ad4f:1112)
at j (jquery.js:3099)
at Object.fireWith [as rejectWith] (jquery.js:3211)
at x (jquery.js:8266)
at XMLHttpRequest. (jquery.js:8605)
The text was updated successfully, but these errors were encountered: