Closed kearfy closed 3 years ago
To put in context, this issue occured to me on a clean install once. After I installed it on my main instance it worked for a day, now this issue starts to occur. First on my main account (which is really annoying because now I can't access my boards), but also on a seperate fresh new testing account.
Fixed in last update.
How to use GitHub
Describe the bug When I create a board, add a few lists, the usual. When sharing the board with a Circle I first of all get an error that there was an issue while sharing the board. When I refresh none of my boards show up and the created board is fully corrupted. I can access board by changing the ID in the URL's Hash.
I also reproduced the issue on a fresh and new account. The API call returns error 500.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the board to be shared with the circle, just like it did when I tried earlier today.
Client details:
Server details
**Operating system**: Docker running on a debian 10 VM inside Proxmox **Web server:** The webserver of the docker container behind an NGINX Proxy **Database:** MariaDB **PHP version:** 7.4.21 **Nextcloud version:** 22.0.0 **Where did you install Nextcloud from:** Docker **Signing status:** I don't know where to find that ``` No errors have been found. ``` **List of activated apps:** ``` Enabled: - accessibility: 1.7.0 - activity: 2.15.0 - admin_audit: 1.11.0 - apporder: 0.13.0 - approval: 1.0.2 - breezedark: 22.0.0 - bruteforcesettings: 2.2.0 - calendar: 2.3.0 - camerarawpreviews: 0.7.11 - checksum: 1.1.2 - circles: 22.0.0 - cloud_federation_api: 1.4.0 - collectives: 0.9.22 - comments: 1.11.0 - contacts: 4.0.0 - dashboard: 7.1.0 - dav: 1.18.0 - deck: 1.4.2 - drawio: 1.0.1 - duplicatefinder: 0.0.8 - extract: 1.3.1 - federatedfilesharing: 1.11.0 - federation: 1.11.0 - files: 1.16.0 - files_3d: 0.3.3 - files_accesscontrol: 1.12.0 - files_automatedtagging: 1.12.0 - files_downloadactivity: 1.10.0 - files_external: 1.12.1 - files_markdown: 2.3.4 - files_pdfviewer: 2.3.0 - files_rightclick: 1.1.0 - files_sharing: 1.13.2 - files_trashbin: 1.11.0 - files_versions: 1.14.0 - files_videoplayer: 1.11.0 - fileslibreofficeedit: 1.0.2 - firstrunwizard: 2.11.0 - flow_notifications: 1.1.0 - forms: 2.2.4 - groupfolders: 9.0.2 - logreader: 2.7.0 - lookup_server_connector: 1.9.0 - mail: 1.10.0 - metadata: 0.13.0 - notes: 4.1.0 - notifications: 2.10.1 - oauth2: 1.9.0 - password_policy: 1.12.0 - photos: 1.4.0 - polls: 2.0.6 - printer: 0.0.5 - provisioning_api: 1.11.0 - quickaccesssorting: 1.1.2 - quota_warning: 1.10.0 - recommendations: 1.1.0 - richdocuments: 4.2.0 - serverinfo: 1.12.0 - settings: 1.3.0 - sharebymail: 1.11.0 - socialsharing_diaspora: 2.2.0 - socialsharing_email: 2.2.0 - socialsharing_facebook: 2.2.0 - socialsharing_twitter: 2.2.0 - spreed: 12.0.0 - systemtags: 1.11.0 - tasks: 0.13.6 - text: 3.3.0 - theming: 1.12.0 - twofactor_backupcodes: 1.10.1 - twofactor_nextcloud_notification: 3.1.2 - twofactor_totp: 6.1.0 - twofactor_u2f: 6.2.0 - updatenotification: 1.11.0 - user_ldap: 1.11.0 - user_saml: 4.1.1 - user_status: 1.1.1 - viewer: 1.6.0 - weather_status: 1.1.0 - workflow_pdf_converter: 1.6.0 - workflowengine: 2.3.0 Disabled: - contactsinteraction - encryption - guests - ldap_write_support - libresign - music - nextcloud_announcements - privacy - support - survey_client - video_converter - workflow_media_converter ``` **Nextcloud configuration:** ``` { "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "overwritehost": "cloud.example.com", "overwriteprotocol": "https", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.1.13:8080" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "22.0.0.11", "overwrite.cli.url": "https:\/\/192.168.1.13:8080", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "loglevel": "1", "app_install_overwrite": [ "apporder", "bruteforcesettings", "drawio", "groupfolders", "files_markdown", "metadata", "music", "printer", "socialsharing_diaspora", "socialsharing_email", "socialsharing_facebook", "socialsharing_twitter", "files_3d", "extract", "quickaccesssorting", "forms", "polls", "quota_warning", "duplicatefinder", "workflow_pdf_converter", "camerarawpreviews", "files_downloadactivity", "tasks", "twofactor_nextcloud_notification", "video_converter", "ldap_write_support", "flow_notifications" ], "share_folder": "\/Shared\/", "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "default_phone_region": "NL" } } ``` **Are you using an external user-backend, if yes which one:** LDAP is installed, not used nor configured.Logs
#### Nextcloud log (data/nextcloud.log) **While creating share** ``` { "reqId": "khPKOpzqplSln1ZkoxjN", "level": 3, "time": "2021-07-08T17:50:52+00:00", "remoteAddr": "HIDDEN IP ADDRESS", "user": "USERNAME", "app": "index", "method": "POST", "url": "/apps/deck/boards/7/acl", "message": "Call to undefined method OCA\\Circles\\Model\\Circle::getTypeString()", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36", "version": "22.0.0.11", "exception": { "Exception": "Error", "Message": "Call to undefined method OCA\\Circles\\Model\\Circle::getTypeString()", "Code": 0, "Trace": [ { "file": "/var/www/html/custom_apps/deck/lib/Db/RelationalObject.php", "line": 44, "function": "getObjectSerialization", "class": "OCA\\Deck\\Db\\Circle", "type": "->", "args": [] }, { "function": "jsonSerialize", "class": "OCA\\Deck\\Db\\RelationalObject", "type": "->", "args": [] }, { "file": "/var/www/html/lib/public/AppFramework/Http/JSONResponse.php", "line": 67, "function": "json_encode", "args": [ { "id": 4, "__class__": "OCA\\Deck\\Db\\Acl" }, 1 ] }, { "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", "line": 171, "function": "render", "class": "OCP\\AppFramework\\Http\\JSONResponse", "type": "->", "args": [] }, { "file": "/var/www/html/lib/private/AppFramework/App.php", "line": 156, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->", "args": [ { "__class__": "OCA\\Deck\\Controller\\BoardController" }, "addAcl" ] }, { "file": "/var/www/html/lib/private/Route/Router.php", "line": 301, "function": "main", "class": "OC\\AppFramework\\App", "type": "::", "args": [ "OCA\\Deck\\Controller\\BoardController", "addAcl", { "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" }, { "boardId": "7", "_route": "deck.board.addAcl" } ] }, { "file": "/var/www/html/lib/base.php", "line": 1000, "function": "match", "class": "OC\\Route\\Router", "type": "->", "args": [ "/apps/deck/boards/7/acl" ] }, { "file": "/var/www/html/index.php", "line": 36, "function": "handleRequest", "class": "OC", "type": "::", "args": [] } ], "File": "/var/www/html/custom_apps/deck/lib/Db/Circle.php", "Line": 40, "CustomMessage": "--" }, "id": "60e73afd4d0e8" } ``` **While obtaining list of boards** ``` { "reqId": "0MU9vTxcRP5c8k8Ic7o2", "level": 3, "time": "2021-07-08T17:49:09+00:00", "remoteAddr": "HIDDEN IP ADDRESS", "user": "USERNAME", "app": "index", "method": "GET", "url": "/apps/deck/boards", "message": "Call to undefined method OCA\\Circles\\Model\\Circle::getTypeString()", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36", "version": "22.0.0.11", "exception": { "Exception": "Error", "Message": "Call to undefined method OCA\\Circles\\Model\\Circle::getTypeString()", "Code": 0, "Trace": [ { "file": "/var/www/html/custom_apps/deck/lib/Db/RelationalObject.php", "line": 44, "function": "getObjectSerialization", "class": "OCA\\Deck\\Db\\Circle", "type": "->", "args": [] }, { "function": "jsonSerialize", "class": "OCA\\Deck\\Db\\RelationalObject", "type": "->", "args": [] }, { "file": "/var/www/html/lib/public/AppFramework/Http/JSONResponse.php", "line": 67, "function": "json_encode", "args": [ [ { "id": 1, "__class__": "OCA\\Deck\\Db\\Board" }, { "id": 3, "__class__": "OCA\\Deck\\Db\\Board" }, { "id": 4, "__class__": "OCA\\Deck\\Db\\Board" }, { "id": 5, "__class__": "OCA\\Deck\\Db\\Board" }, { "id": 6, "__class__": "OCA\\Deck\\Db\\Board" }, "And 1 more entries, set log level to debug to see all entries" ], 1 ] }, { "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", "line": 171, "function": "render", "class": "OCP\\AppFramework\\Http\\JSONResponse", "type": "->", "args": [] }, { "file": "/var/www/html/lib/private/AppFramework/App.php", "line": 156, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->", "args": [ { "__class__": "OCA\\Deck\\Controller\\BoardController" }, "index" ] }, { "file": "/var/www/html/lib/private/Route/Router.php", "line": 301, "function": "main", "class": "OC\\AppFramework\\App", "type": "::", "args": [ "OCA\\Deck\\Controller\\BoardController", "index", { "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" }, { "_route": "deck.board.index" } ] }, { "file": "/var/www/html/lib/base.php", "line": 1000, "function": "match", "class": "OC\\Route\\Router", "type": "->", "args": [ "/apps/deck/boards" ] }, { "file": "/var/www/html/index.php", "line": 36, "function": "handleRequest", "class": "OC", "type": "::", "args": [] } ], "File": "/var/www/html/custom_apps/deck/lib/Db/Circle.php", "Line": 40, "CustomMessage": "--" }, "id": "60e73a9635506" } ``` #### Browser log ``` index.js:46 No OC found Hr @ index.js:46 jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 3.3.2 globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. re @ globals.js:62 2globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. re @ globals.js:62 globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. re @ globals.js:62 6globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. re @ globals.js:62 3globals.js:62 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 re @ globals.js:62 versionstabview.js:36 Uncaught TypeError: Cannot read property 'extend' of undefined at versionstabview.js:36 at Module.