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

[Bug]: NC28.0.2 Files Folder RecommendedFile.vue Files shown, but links inactive #700

Closed
5 of 8 tasks
Reis-A opened this issue Feb 1, 2024 · 10 comments · Fixed by #702
Closed
5 of 8 tasks

[Bug]: NC28.0.2 Files Folder RecommendedFile.vue Files shown, but links inactive #700

Reis-A opened this issue Feb 1, 2024 · 10 comments · Fixed by #702
Labels
3. to review bug Something isn't working

Comments

@Reis-A
Copy link

Reis-A commented Feb 1, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

After update nc28.0.2
In the files folder menu on the nextcloud webpage the recommendfiles.vue links are show for onlyoffice files, but the link to the file doesnt work
(see example picture: the file mittagessen doesn't open by clicking on it)

Screenshot 2024-02-01 at 23 36 10

A similar issue exists for shared folders:
when you click on a shared folder that is shown in the recommended vue: link is not working.

Steps to reproduce

  1. update to nc 28.0.2
  2. click on recommended files in file menu (onlyoffice file with onlyofficeapp)

  1. share a folder with a user
  2. on the recipient user account : if the shared folder is in the recommended file vue, click on it

Expected behavior

If you click on the shown file "mittagessen" the file should open in nextcloud office

Installation method

None

Nextcloud Server version

26

Operating system

None

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [***REMOVED SENSITIVE VALUE***
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "28.0.2.5",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "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": "1",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "mail_smtpmode": "smtp",
        "remember_login_cookie_lifetime": "1800",
        "log_rotate_size": "10485760",
        "trashbin_retention_obligation": "auto, 180",
        "versions_retention_obligation": "auto, 365",
        "simpleSignUpLink.shown": false,
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "ldapusercleanupinterval": 20,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0.5,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "default_phone_region": "de",
        "default_language": "de",
        "force_language": "de",
        "force_locale": "de_DE",
        "logtimezone": "Europe\/Berlin",
        "maintenance_window_start": 1,
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "share_folder": "\/5_Freigaben",
        "allow_local_remote_servers": true,
        "onlyoffice": {
            "verify_peer_off": true
        },
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "app.mail.verify-tls-peer": false,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "skeletondirectory": "",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "activity_use_cached_mountpoints": true,
        "activity_expire_days": "90",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded-for-headers": [
            "HTTP_X_FORWARDED_FOR"
        ],
        "updater.release.channel": "stable",
        "enabledPreviewProviders": [
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita",
            "OC\\Preview\\Imaginary"
        ],
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "enable_previews": true,
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "allow_user_to_change_display_name": false,
        "lost_password_link": "disabled",
        "oidc_login_provider_url": "***REMOVED SENSITIVE VALUE***",
        "oidc_login_client_id": "***REMOVED SENSITIVE VALUE***",
        "oidc_login_client_secret": "***REMOVED SENSITIVE VALUE***",
        "oidc_login_auto_redirect": false,
        "oidc_login_logout_url": "***REMOVED SENSITIVE VALUE***",
        "oidc_login_end_session_redirect": true,
        "oidc_login_button_text": "Log in with Keycloak",
        "oidc_login_hide_password_form": false,
        "oidc_login_use_id_token": false,
        "oidc_login_attributes": {
            "***REMOVED SENSITIVE VALUE***”
        "oidc_login_filter_allowed_values": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "oidc_login_use_external_storage": false,
        "oidc_login_scope": "openid profile",
        "oidc_login_proxy_ldap": true,
        "oidc_login_disable_registration": true,
        "oidc_login_redir_fallback": false,
        "oidc_login_alt_login_page": false,
        "oidc_login_tls_verify": true,
        "oidc_create_groups": false,
        "oidc_login_webdav_enabled": false,
        "oidc_login_password_authentication": false,
        "oidc_login_public_key_caching_time": 86400,
        "oidc_login_min_time_between_jwks_requests": 10,
        "oidc_login_well_known_caching_time": 86400,
        "oidc_login_update_avatar": false,
        "oidc_login_skip_proxy": false,
        "oidc_login_code_challenge_method": "",
        "app_install_overwrite": [
            "bbb"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - assistant: 1.0.3
  - bbb: 2.5.0
  - bookmarks: 13.1.3
  - bruteforcesettings: 2.8.0
  - calendar: 4.6.4
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - collectives: 2.9.2
  - comments: 1.18.0
  - contacts: 5.5.1
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - deck: 1.12.1
  - external: 5.3.1
  - federatedfilesharing: 1.18.0
  - files: 2.0.0
  - files_accesscontrol: 1.18.0
  - files_automatedtagging: 1.18.0
  - files_external: 1.20.0
  - files_fulltextsearch: 28.0.0
  - files_mindmap: 0.0.30
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - forms: 4.1.0
  - fulltextsearch: 28.0.0
  - fulltextsearch_elasticsearch: 28.0.0
  - groupfolders: 16.0.3
  - impersonate: 1.15.0
  - integration_openai: 1.2.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail: 3.5.5
  - notifications: 2.16.0
  - notify_push: 0.6.9
  - oauth2: 1.16.3
  - oidc_login: 3.0.2
  - onlyoffice: 9.0.0
  - polls: 6.0.1
  - previewgenerator: 5.4.0
  - provisioning_api: 1.18.0
  - quota_warning: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - side_menu: 3.11.5
  - snappymail: 2.33.0
  - support: 1.11.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - tasks: 0.15.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_nextcloud_notification: 3.8.0
  - twofactor_totp: 10.0.0-beta.2
  - updatenotification: 1.18.0
  - user_ldap: 1.19.0
  - user_migration: 5.0.0
  - viewer: 2.2.0
  - workflow_ocr: 1.28.0
  - workflowengine: 2.10.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

No response

@Reis-A Reis-A added 0. Needs triage bug Something isn't working labels Feb 1, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Feb 2, 2024

It works for me. :-) Both Office and markdown files.

What happens when you click on it? Can you check your browser console?

@Reis-A
Copy link
Author

Reis-A commented Feb 2, 2024 via email

@joshtrichards
Copy link
Member

I am using onlyoffice here.

Since you didn't provide a config or apps list in your initial report this isn't enough information to go on. You'll need to elaborate since there are numerous deployment modes.

@Reis-A
Copy link
Author

Reis-A commented Feb 3, 2024

in short it is the onlyoffice App , https://github.com/ONLYOFFICE/onlyoffice-nextcloud/tree/v9.0.0 (current version in Appstore)
Onlyoffice is current version 8.0.0-EE on a different vm, installed via docker
the links also worked for me with the nextcloud office app (collabora). So it is most likely an issue with that app, I assume.

@Reis-A
Copy link
Author

Reis-A commented Feb 3, 2024

I just noticed that the same problem also is there for a shared folder that is shown in that recommended vue.
the shared folder doesn't open by clicking

Screenshot 2024-02-03 at 11 56 07

@nhanlx89

This comment was marked as duplicate.

@nhanlx89

This comment was marked as duplicate.

@skjnldsv
Copy link
Member

skjnldsv commented Feb 6, 2024

TypeError: OCA.Files.App is undefined isFileListAvailable RecommendedFile.vue:100 VueJS 3 navigate RecommendedFile.vue:132 click RecommendedFile.vue:1 VueJS 3 vue.runtime.esm.js:3049:16 VueJS 6

Moving to the right repository

@skjnldsv skjnldsv transferred this issue from nextcloud/server Feb 6, 2024
@skjnldsv
Copy link
Member

skjnldsv commented Feb 6, 2024

@juliushaertl

TypeError: OCA.Files.App is undefined
    isFileListAvailable RecommendedFile.vue:100
    VueJS 3
    navigate RecommendedFile.vue:132
    click RecommendedFile.vue:1
    VueJS 3

isFileListAvailable() {
return OCA.Files.App.fileList.changeDirectory && OCA.Files.App.fileList.scrollTo
},

@leManu

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
5 participants