Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error getting related resources when opening some chats after update to 15.0.2 #150

Closed
muchachagrande opened this issue Dec 5, 2022 · 6 comments
Labels
0. Needs triage Pending approval or rejection bug Something isn't working

Comments

@muchachagrande
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Go to Talk App
  2. Select a chat
  3. See the red sign on the upper right corner telling "Error getting related resources"

Expected behaviour

It should not show that error

Actual behaviour

It shows "Error getting related resources"

Talk app

Talk app version: (see apps admin page: /index.php/settings/apps)
15.0.2

Custom Signaling server configured: yes/no and version (see additional admin settings: /index.php/index.php/settings/admin/talk#signaling_server)
yes
f40fd33d9cad9a49f5ba37a3fd7ce50bf9891524

Custom TURN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#turn_server)
yes

Custom STUN server configured: yes/no (see additional admin settings: /index.php/settings/admin/talk#stun_server)
yes

Browser

Microphone available: yes/no
yes

Camera available: yes/no
yes

Operating system: Windows/Ubuntu/...
Ubuntu

Browser name: Firefox/Chrome/...
Firefox

Browser version: 85/96/...
107.0

Browser log

``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```

Server configuration

Operating system: Ubuntu/RedHat/...
Ubuntu Server 22.04

Web server: Apache/Nginx
Apache

Database: MySQL/Maria/SQLite/PostgreSQL
PostgreSQL

PHP version: 7.4/8.0/8.1
8.1

Nextcloud Version: (see admin page)
25.0.1

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your server installation folder
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - bookmarks: 11.0.4
  - bruteforcesettings: 2.5.0
  - calendar: 4.1.0
  - cfg_share_links: 3.0.0
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.1
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - extract: 1.3.5
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_external: 1.17.0
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - keeweb: 0.6.10
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.1.4
  - maps: 0.2.1
  - metadata: 0.17.0
  - nextcloud_announcements: 1.14.0
  - notes: 4.6.0
  - notifications: 2.13.1
  - notify_push: 0.5.0
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - passwords: 2022.11.21
  - phonetrack: 0.7.2
  - photos: 2.0.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - qownnotesapi: 22.10.0
  - recommendations: 1.4.0
  - related_resources: 1.0.3
  - richdocuments: 7.0.1
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - socialsharing_email: 2.5.0
  - spreed: 15.0.2
  - suspicious_login: 4.3.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - twofactor_nextcloud_notification: 3.5.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0

</details>

**Nextcloud configuration:**
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "myipv4",
            "myipv6",
            "cloud.example.com"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "allow_local_remote_servers": true,
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "25.0.1.1",
        "overwrite.cli.url": "https:\/\/cloud.example.com\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": "2",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "mail_smtpmode": "smtp",
        "remember_login_cookie_lifetime": "1800",
        "log_rotate_size": "10485760",
        "trashbin_retention_obligation": "auto, 60",
        "versions_retention_obligation": "auto, 180",
        "activity_expire_days": "120",
        "simpleSignUpLink.shown": false,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0.5,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "default_phone_region": "ar",
        "logtimezone": "America\/Argentina\/Buenos_Aires",
        "default_language": "es_AR",
        "force_language": "es_AR",
        "default_locale": "es_AR",
        "force_locale": "es_AR",
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "knowledgebaseenabled": false,
        "lost_password_link": "disabled",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Krita",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Imaginary",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Font",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\Epub"
        ],
        "preview_imaginary_url": "http:\/\/127.0.0.1:9001",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "skeletondirectory": "",
        "theme": "",
        "filesystem_check_changes": true,
    },
    "apps": {
        "activity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.17.0"
        },
        "admin_audit": {
            "types": "logging",
            "enabled": "yes",
            "logfile": "\/var\/log\/nextcloud\/audit.log",
            "installed_version": "1.15.0"
        },
        "backgroundjob": {
            "lastjob": "2"
        },
        "bookmarks": {
            "enabled": "[\"users\",\"admin\"]",
            "previews.screenly.url": "",
            "types": "",
            "installed_version": "11.0.4",
            "previews.screenly.token": "",
            "performance.maxBookmarksperAccount": "",
            "previews.screenshotmachine.key": "",
            "previews.webshot.url": "",
            "previews.pageres.env": "",
            "privacy.enableScraping": "true"
        },
        "bruteForce": {
            "whitelist_1": "192.168.2.10\/32"
        },
        "bruteforcesettings": {
            "installed_version": "2.5.0",
            "types": "",
            "enabled": "yes"
        },
        "calendar": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "4.1.0"
        },
        "cfg_share_links": {
            "installed_version": "3.0.0",
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "default_label_mode": "1"
        },
        "circles": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "25.0.0",
            "loopback_tmp_path": "\/",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1670095502,\"2\":1670096402,\"1\":1670096701}"
        },
        "cloud_federation_api": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.8.0"
        },
        "comments": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "contacts": {
            "types": "dav",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "5.0.1"
        },
        "contactsinteraction": {
            "types": "dav",
            "enabled": "[\"users\",\"admin\"]",
            "installed_version": "1.6.0"
        },
        "core": {
            "installedat": "1653035702.5341",
            "vendor": "nextcloud",
            "oc.integritycheck.checker": "[]",
            "shareapi_allow_links_exclude_groups": "[\"otros\"]",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "public_files": "files_sharing\/public.php",
            "backgroundjobs_mode": "cron",
            "shareapi_expire_after_n_days": "1",
            "shareapi_default_expire_date": "yes",
            "shareapi_enforce_links_password": "no",
            "shareapi_enable_link_password_by_default": "no",
            "theming.variables": "39274db051f52b2d322103835efc9542",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "shareapi_exclude_groups": "yes",
            "newUser.sendEmail": "no",
            "shareapi_default_permission_cancreate": "no",
            "shareapi_default_permission_canupdate": "no",
            "shareapi_default_permission_candelete": "no",
            "shareapi_default_permissions": "1",
            "shareapi_default_permission_canshare": "no",
            "emailTestSuccessful": "1",
            "shareapi_exclude_groups_list": "[\"otros\"]",
            "lastupdateResult": "[]",
            "lastupdatedat": "1670090345",
            "lastcron": "1670096701"
        },
        "dashboard": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "7.5.0"
        },
        "dav": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.24.0",
            "sendEventRemindersPush": "yes",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "chunks_migrated": "1"
        },
        "deck": {
            "installed_version": "1.7.0",
            "types": "dav",
            "enabled": "no"
        },
        "extract": {
            "installed_version": "1.3.5",
            "types": "",
            "enabled": "yes"
        },
        "federatedfilesharing": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "federation": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "files": {
            "types": "filesystem",
            "enabled": "yes",
            "default_quota": "1 GB",
            "installed_version": "1.20.1",
            "max_chunk_size": "104857600"
        },
        "files_external": {
            "installed_version": "1.17.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_pdfviewer": {
            "types": "",
            "installed_version": "2.6.0",
            "enabled": "[\"admin\",\"users\"]"
        },
        "files_rightclick": {
            "types": "",
            "enabled": "[\"users\",\"admin\",\"otros\"]",
            "installed_version": "1.4.0"
        },
        "files_sharing": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.17.0",
            "lookupServerUploadEnabled": "no"
        },
        "files_trashbin": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "files_versions": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.18.0"
        },
        "firstrunwizard": {
            "installed_version": "2.13.0",
            "types": "logging",
            "enabled": "no"
        },
        "issuetemplate": {
            "installed_version": "0.7.0",
            "types": "",
            "enabled": "no"
        },
        "keeweb": {
            "enabled": "[\"users\",\"admin\"]",
            "types": "",
            "installed_version": "0.6.10"
        },
        "logreader": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "2.10.0",
            "levels": "11111"
        },
        "lookup_server_connector": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.13.0"
        },
        "mail": {
            "installed_version": "2.1.4",
            "types": "",
            "enabled": "[\"admin\",\"users\"]"
        },
        "maps": {
            "types": "filesystem",
            "enabled": "yes",
            "lastAddressLookup": "1661442258",
            "installed_version": "0.2.1"
        },
        "metadata": {
            "types": "",
            "installed_version": "0.17.0",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.14.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "types": "",
            "installed_version": "4.6.0",
            "enabled": "[\"admin\",\"users\"]"
        },
        "notifications": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.13.1"
        },
        "notify_push": {
            "base_endpoint": "https:\/\/cloud.example.com\/\/push",
            "enabled": "yes",
            "installed_version": "0.5.0",
            "types": "filesystem",
            "cookie": "***REMOVED SENSITIVE VALUE***"
        },
        "oauth2": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.13.0"
        },
        "password_policy": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "phonetrack": {
            "enabled": "[\"users\",\"admin\"]",
            "installed_version": "0.7.2",
            "types": ""
        },
        "photos": {
            "enabled": "[\"admin\",\"users\"]",
            "types": "dav",
            "installed_version": "2.0.0"
        },
        "privacy": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "1.9.0"
        },
        "provisioning_api": {
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "qownnotesapi": {
            "enabled": "[\"admin\",\"users\"]",
            "types": "",
            "installed_version": "22.10.0"
        },
        "recommendations": {
            "types": "",
            "installed_version": "1.4.0",
            "enabled": "[\"admin\",\"users\"]"
        },
        "related_resources": {
            "installed_version": "1.0.3",
            "types": "",
            "enabled": "[\"admin\",\"users\"]"
        },
        "serverinfo": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "1.15.0",
            "cached_count_storages": "25",
            "cached_count_filecache": "3834256"
        },
        "settings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.7.0",
            "profile_enabled_by_default": "0"
        },
        "sharebymail": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "socialsharing_email": {
            "installed_version": "2.5.0",
            "types": "",
            "enabled": "yes"
        },
        "spreed": {
            "project_access_invalidated": "1",
            "has_reference_id": "yes",
            "enabled": "yes",
            "types": "dav,prevent_group_restriction",
            "installed_version": "15.0.2",
            "start_conversations": "[\"admin\",\"users\"]",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "allowed_groups": "[\"admin\",\"users\",\"otros\"]",
            "sip_bridge_groups": "[\"admin\",\"users\"]",
            "sip_bridge_dialin_info": "***REMOVED SENSITIVE VALUE***",
            "sip_bridge_shared_secret": "***REMOVED SENSITIVE VALUE***",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "changelog": "no",
        },
        "support": {
            "installed_version": "1.7.0",
            "types": "session",
            "enabled": "no",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "installed_version": "1.12.0",
            "types": "",
            "enabled": "no"
        },
        "suspicious_login": {
            "installed_version": "4.3.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "systemtags": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.15.0"
        },
        "tasks": {
            "types": "",
            "installed_version": "0.14.5",
            "enabled": "[\"admin\",\"users\"]"
        },
        "text": {
            "enabled": "[\"admin\",\"users\"]",
            "types": "dav",
            "installed_version": "3.6.0"
        },
        "theming": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.0.1",
            "name": "Name",
            "disable-user-theming": "no",
            "url": "***REMOVED SENSITIVE VALUE***",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "color": "#DADADA",
            "logoheaderMime": "image\/png",
            "cachebuster": "44",
            "logoMime": "image\/png",
            "backgroundMime": "image\/png",
            "productName": "Nextcloud",
            "faviconMime": "image\/png"
        },
        "twofactor_backupcodes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.14.0"
        },
        "twofactor_nextcloud_notification": {
            "installed_version": "3.5.0",
            "types": "",
            "enabled": "[\"users\",\"admin\"]"
        },
        "twofactor_totp": {
            "installed_version": "7.0.0",
            "types": "",
            "enabled": "[\"users\",\"admin\"]"
        },
        "updatenotification": {
            "types": "",
            "enabled": "[\"admin\"]",
            "installed_version": "1.15.0",
            "notify_groups": "[\"admin\"]",
            "update_check_errors": "0",
            "related_resources": "1.0.2",
            "notify_push": "0.5.0",
            "notes": "4.5.1",
            "core": "24.0.6.1",
            "richdocuments": "7.0.1",
            "bookmarks": "11.0.4",
            "calendar": "4.1.0",
            "qownnotesapi": "22.10.0",
            "twofactor_totp": "6.4.1",
            "tasks": "0.14.5",
            "spreed": "15.0.2",
            "mail": "2.1.3",
            "contacts": "4.2.2",
            "keeweb": "0.6.10",
            "passwords": "2022.11.21"
        },
        "user_status": {
            "types": "",
            "enabled": "[\"admin\",\"users\",\"otros\"]",
            "installed_version": "1.5.0"
        },
        "viewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "weather_status": {
            "types": "",
            "enabled": "[\"admin\",\"users\"]",
            "installed_version": "1.5.0"
        },
        "workflowengine": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.7.0"
        }
    }
}

<details>

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

</details>

### Server log (data/nextcloud.log)
<details>

no log for this subject

</details>
@muchachagrande muchachagrande added 0. Needs triage Pending approval or rejection bug Something isn't working labels Dec 5, 2022
@muchachagrande
Copy link
Author

Tests I have made so far...

In chats where I've got this error message I went to see the Nginx proxy log and found this:
"404 - GET /ocs/v2.php/apps/related_resources/related/talk?itemId=6053670187&format=json HTTP/2.0"

I put the URL in the browser and I got this:

{
"ocs":
{
"meta":
{
"status":"failure",
"statuscode":404,
"message":"Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.\n"
},
"data":[]
}
}

I don't know if the test I'm doing is fine...

@AndyXheli
Copy link

Same issue on NC 25.0.1 Talk app NC 15.0.2

image

@TBI-NS
Copy link

TBI-NS commented Dec 7, 2022

Same issue on NC 25.0.1 Talk app NC 15.0.2 !

@SystemKeeper SystemKeeper transferred this issue from nextcloud/spreed Dec 7, 2022
@nickvergessen
Copy link
Member

Not an issue with Talk, so moving it tk the related resources app

@Pytal
Copy link
Member

Pytal commented Dec 7, 2022

Should be resolved with the v1.0.4 release #127 by @ArtificialOwl

@muchachagrande
Copy link
Author

Today I updated Nextcloud to 25.0.2 and the "Error getting related resources" sign at the top right corner is not appearing.
This is great, but I see that related_resources version is still 1.0.3 and Talk is 15.0.2 as before, so if the problem has gone it must be for another reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants