Closed Schmuuu closed 4 years ago
cc @nextcloud/server-triage Looks like map but I'm not sure. A (failing) hook should actually not kill a request.
Hey @Schmuuu
Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFolderIdUserId()
This is for maps :)
cc @eneiluj @tacruc @v1r0x :)
Hi @skjnldsv :)
Hey @Schmuuu
Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFolderIdUserId()
This is for maps :)
I know, but this is all, which was written in the nextcloud.log (besides the extremely long error message for community_documentserver which I left out because even only one entry of that error message is much too long to post here). I just posted the log output here, because it is always asked for ;)
It's known and fixed in master. Should be fixed with the next release.
Thanks @tacruc that's nice to know. Is there a chance to receive a fix for NC18? There are still some weeks to go until NC18.0.1 will be released.
@skjnldsv I just noticed you transferred this issue over to the maps repo, but this is an issue with sharing files/ folders in the Files app (not the maps app). The browser console even reads:
POST https://my.domain.tld/ocs/v2.php/apps/files_sharing/api/vi/shares - HTTP 1.1 - 404 - Not Found
Could you please transfer the issue back to nextcloud/server?
I don't care about any maps issues right now. The most important feature, sharing files, is broken for me right now. And I just found out that all shares are lost right now. For some reason, sharing and unsharing files to collect debug data for this issue resulted in a loss of all shares (the db table is empty). So I would really love to have this taken care of in the nextcloud/server repo and to receive a fix for this issue.
Its not an issue with the server. Si it has notging to di with 18.0.1. Maps will get a bugfix release in a few weeks.
So sharing files will work if I disable the maps app? I'm confused. Could you please clarify what users can do to avoid this issue and can safely share files and folders in the nextcloud files app?
fixed with #262
@Schmuuu Well maps needs to rescan photos if they are changed/updated, so maps code is exectude on some fileChangeEvents. Shareing a file seams to activate those code. Unfortunately we renamed some functions which broke the hook. Hence there is an error.
Its not an issue with the server. Si it has notging to di with 18.0.1. Maps will get a bugfix release in a few weeks.
Which means that for those weeks, maps must be disabled because in my experience, this bug actually breaks sharing, as to the file owner it looks as though the file is being shared, and the share also appears in the oc_shares table, still, to the target user, the file isn't being shown. So this issue breaks what looks to me like the very heart of Nextcloud.
Hi @vasyugan
This is a very strange and confusing issue indeed. For the user who doesn't see the share, can you check if it appears here and just needs to be accepted?
That was the case for me. And I always had to approve a share, even though in the personal settings of the users I set:
Hi @vasyugan
This is a very strange and confusing issue indeed. For the user who doesn't see the share, can you check if it appears here and just needs to be accepted?
Just re-checked. There is no notification. The file just doesn't appear. BTW, it wouldn't make sense that with maps active, you need to first accept a share, while you don't need without. I think, this "accept share" mechanism applies to remote shares only.
Steps to reproduce
Expected behaviour
Actual behaviour
Additional information: Unsharing works without any error messages. Also: creating shares as public link works without issues.
Server configuration detail
Operating system: Linux 4.19.98-1-lts nextcloud/server#1 SMP Thu, 23 Jan 2020 10:06:59 +0000 x86_64
Webserver: nginx/1.16.1 (fpm-fcgi)
Database: mysql 10.4.11
PHP version:
7.4.2 Modules loaded: Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, PDO, bz2, posix, readline, Reflection, session, SimpleXML, standard, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, Phar, curl, exif, ftp, gd, gmp, intl, iconv, pdo_mysql, pdo_sqlite, sockets, sqlite3, zip, apcu, igbinary, imagick, redis, smbclient, libsmbclient, Zend OPcache
Nextcloud version: 18.0.0 - 18.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install: upgraded from NC 17.0.2
Where did you install Nextcloud from: official download site
Signing status
Array ( )List of activated apps
``` Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - admin_audit: 1.8.0 - analytics: 2.0.0 - announcementcenter: 3.7.0 - apporder: 0.9.0 - audioplayer: 2.9.0 - bookmarks: 2.3.4 - calendar: 2.0.1 - camerarawpreviews: 0.7.3 - checksum: 0.4.4 - circles: 0.18.1 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - contacts: 3.1.8 - cookbook: 0.5.7 - cospend: 0.3.2 - dav: 1.14.0 - deck: 0.8.0 - documentserver_community: 0.1.5 - event_update_notification: 1.0.1 - external: 3.5.0 - extract: 1.2.3 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_accesscontrol: 1.8.1 - files_automatedtagging: 1.8.0 - files_downloadactivity: 1.7.0 - files_external: 1.9.0 - files_lock: 0.8.1 - files_markdown: 2.2.0 - files_pdfviewer: 1.7.0 - files_readmemd: 1.1.3 - files_retention: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_texteditor: 2.9.0 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - groupfolders: 6.0.1 - guests: 1.4.0 - issuetemplate: 0.6.0 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - maps: 0.1.4 - metadata: 0.11.1 - nextcloud_announcements: 1.7.0 - notes: 3.1.1 - notifications: 2.6.0 - oauth2: 1.6.0 - ocr: 5.0.7 - onlyoffice: 4.1.4 - password_policy: 1.8.0 - photos: 1.0.0 - polls: 1.1.6 - previewgenerator: 2.2.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - qownnotesapi: 20.1.0 - quota_warning: 1.7.0 - ransomware_protection: 1.6.0 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - spreed: 8.0.1 - support: 1.1.0 - suspicious_login: 3.0.1 - systemtags: 1.8.0 - talk_simple_poll: 1.1.0 - tasks: 0.11.3 - telephoneprovider: 1.0.3 - text: 2.0.0 - theming: 1.9.0 - twofactor_admin: 2.0.0 - twofactor_backupcodes: 1.7.0 - twofactor_totp: 4.1.2 - updatenotification: 1.8.0 - video_converter: 0.1.3 - viewer: 1.2.0 - workflow_pdf_converter: 1.3.1 - workflowengine: 2.0.0 Disabled: - dicomviewer - encryption - ransomware_detection - recommendations - sharerenamer - social - socialsharing_email - survey_client - user_ldap ```Configuration (config/config.php)
``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.mydomain.tld", "192.168.178.240", "localhost" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "version": "18.0.0.10", "logtimezone": "Europe\/Berlin", "appstore.experimental.enabled": true, "appstoreenabled": true, "appcodechecker": true, "apps_paths": [ { "path": "\/var\/www\/nextcloud\/apps", "url": "\/apps", "writable": true } ], "mail_smtpmode": "smtp", "mail_smtpauth": 1, "mail_smtpport": "587", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\TIFF", "OCA\\CameraRawPreviews\\RawPreview", "OCA\\CameraRawPreviews\\IndesignPreview", "OC\\Preview\\Movie", "OC\\Preview\\Photoshop" ], "blacklisted_files": [ ".htaccess", "Thumbs.db", "thumbs.db" ], "filelocking.enabled": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "password": "***REMOVED SENSITIVE VALUE***", "timeout": 0 }, "maintenance": false, "config_is_read_only": false, "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/", "updater.release.channel": "stable", "loglevel": 2, "theme": "", "installed": true, "overwrite.cli.url": "https:\/\/cloud.mydomain.tld", "defaultapp": "apporder", "mysql.utf8mb4": true, "app_install_overwrite": [ "tasks", "files_readmemd", "polls", "apporder", "video_converter", "metadata", "telephoneprovider", "issuetemplate", "contacts", "files_texteditor", "maps" ] } ```Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: none
Client configuration
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Operating system: Manjaro 18.1.5 (Linux 5.4.14-2-MANJARO)
Logs
Web server error log
``` no relevant entries ```Nextcloud log
``` {"reqId":"8u8Jm8B3ZMfDntrMD0ZH","level":3,"time":"2020-01-30T23:27:38+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"User1","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares","message":{"Exception":"Exception", "Message":"Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFolderIdUserId()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args" :[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_Sharing\\Control ler\\ShareAPIController","createShare",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"ocs.file s_sharing.ShareAPI.createShare"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/var/www/next cloud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/files_sharing/api/v1/shares"]},{"file":"/var/www/nextcloud/ocs/v2.php","line":24,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/ne xtcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"Error","Message":"Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFolderIdUserId()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/legacy/hook.php","lin e":111,"function":"postShare","class":"OCA\\Maps\\Hooks\\FileHooks","type":"->","args":[{"itemType":"folder","itemSource":254062,"shareType":0,"uidOwner":"User1","permissions":5,"fileSource":254062,"expiration":null,"token":null,"id":"475","shareWith":"Adminuser","itemTarget": "/videotest","fileTarget":"/videotest"}]},{"file":"/var/www/nextcloud/lib/private/Share20/LegacyHooks.php","line":175,"function":"emit","class":"OC_Hook","type":"::","args":["OCP\\Share","post_shared",{"itemType":"folder","itemSource":254062,"shareType":0,"uidOwner":"User1", "permissions":5,"fileSource":254062,"expiration":null,"token":null,"id":"475","shareWith":"Adminuser","itemTarget":"/videotest","fileTarget":"/videotest"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":260,"function":"postShare","class ":"OC\\Share20\\LegacyHooks","type":"->","args":[{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"},"OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventD ispatcher.php","line":235,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\Share::postShare" ,{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__c lass__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter .php","line":70,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"},{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextc loud/lib/private/Share20/Manager.php","line":787,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/apps/files_sharing/li b/Controller/ShareAPIController.php","line":576,"function":"createShare","class":"OC\\Share20\\Manager","type":"->","args":[{"__class__":"OC\\Share20\\Share"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"createShare","class" :"OCA\\Files_Sharing\\Controller\\ShareAPIController","type":"->","args":[{"__class__":"OC\\Files\\Node\\Folder"},5,0,"Adminuser","false","",null,"",""]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC \\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher"," type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files _Sharing\\Controller\\ShareAPIController","createShare",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{" _route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"fil e":"/var/www/nextcloud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/files_sharing/api/v1/shares"]},{"file":"/var/www/nextcloud/ocs/v2.php","line":24,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"F ile":"/var/www/nextcloud/apps/maps/lib/Hooks/FileHooks.php","Line":130},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"EsMIpkyAFNA4VPXPGIlJ","level":3,"time":"2020-01-30T23:29:47+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares","message":{"Exception":"Exception"," Message":"Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFileIdUserId()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{ "__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_Sharing\\Controller \\ShareAPIController","createShare",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"ocs.files_s haring.ShareAPI.createShare"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/var/www/nextclo ud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/files_sharing/api/v1/shares"]},{"file":"/var/www/nextcloud/ocs/v2.php","line":24,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextc loud/lib/private/AppFramework/Http/Dispatcher.php","Line":109,"Previous":{"Exception":"Error","Message":"Call to undefined method OCA\\Maps\\Service\\PhotofilesService::safeAddByFileIdUserId()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/legacy/hook.php","line":11 1,"function":"postShare","class":"OCA\\Maps\\Hooks\\FileHooks","type":"->","args":[{"itemType":"file","itemSource":8,"shareType":0,"uidOwner":"Adminuser","permissions":1,"fileSource":8,"expiration":null,"token":null,"id":"476","shareWith":"User1","itemTarget":"/Nextcloud Manua l.pdf","fileTarget":"/Nextcloud Manual.pdf"}]},{"file":"/var/www/nextcloud/lib/private/Share20/LegacyHooks.php","line":175,"function":"emit","class":"OC_Hook","type":"::","args":["OCP\\Share","post_shared",{"itemType":"file","itemSource":8,"shareType":0,"uidOwner":"Adminuser","pe rmissions":1,"fileSource":8,"expiration":null,"token":null,"id":"476","shareWith":"User1","itemTarget":"/Nextcloud Manual.pdf","fileTarget":"/Nextcloud Manual.pdf"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":260,"function":"po stShare","class":"OC\\Share20\\LegacyHooks","type":"->","args":[{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"},"OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-di spatcher/EventDispatcher.php","line":235,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\Sh are::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->" ,"args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/lib/private/EventDispatcher /SymfonyAdapter.php","line":70,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"},{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file": "/var/www/nextcloud/lib/private/Share20/Manager.php","line":787,"function":"dispatch","class":"OC\\EventDispatcher\\SymfonyAdapter","type":"->","args":["OCP\\Share::postShare",{"__class__":"Symfony\\Component\\EventDispatcher\\GenericEvent"}]},{"file":"/var/www/nextcloud/apps/f iles_sharing/lib/Controller/ShareAPIController.php","line":576,"function":"createShare","class":"OC\\Share20\\Manager","type":"->","args":[{"__class__":"OC\\Share20\\Share"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"creat eShare","class":"OCA\\Files_Sharing\\Controller\\ShareAPIController","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},1,0,"User1","false","",null,"",""]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeControlle r","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\ \Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_Sharing\\Controller\\ShareAPIController"},"createShare"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args ":["OCA\\Files_Sharing\\Controller\\ShareAPIController","createShare",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":" ->","args":[{"_route":"ocs.files_sharing.ShareAPI.createShare"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"ocs.files_sharing.ShareAPI.createS hare"}]},{"file":"/var/www/nextcloud/ocs/v1.php","line":82,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/files_sharing/api/v1/shares"]},{"file":"/var/www/nextcloud/ocs/v2.php","line":24,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"requ ire_once"}],"File":"/var/www/nextcloud/apps/maps/lib/Hooks/FileHooks.php","Line":124},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: client-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: client-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"cp90z2Xv5x8CTYzzSXFM","level":3,"time":"2020-01-30T23:35:50+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Undefined index: log-detail at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} {"reqId":"h5zxqXUKHp7yAd26NiCw","level":3,"time":"2020-01-30T23:36:51+01:00","remoteAddr":"2001:111:aaaa:bbbb:cdef:1000:2000:011","user":"Adminuser","app":"PHP","method":"POST","url":"/apps/issuetemplate/render","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/issuetemplate/lib/Detail.php#59","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"} ```Browser log
Error while creating share Error: "Request failed with status code 404" exports createError.js:16 exports settle.js:17 onreadystatechange xhr.js:61 ShareRequests.js:61:12 e ShareRequests.js:61 l ncvuecomponents.js:320 _invoke ncvuecomponents.js:320 e ncvuecomponents.js:320 G files_sharing_tab.js:1361 s files_sharing_tab.js:1361