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

Link to Task from Unified Search (without fulltextsearch) does not lead to any Task #2782

Closed
EricDuminil opened this issue Jan 27, 2025 · 1 comment
Labels

Comments

@EricDuminil
Copy link

Steps to reproduce

  1. Install fresh Nextcloud AIO
  2. Go to Tasks
  3. Add "Task 1" in "Personal"
  4. Create a new List "AnotherList"
  5. Add "Task 2" in "AnotherList" (e.g. https://todo.myserver.com/apps/tasks/calendars/anotherlist/tasks/A08CDC9C-AD07-41C3-B54B-D6EE9884892A.ics )
  6. Try to search for either Task 1 or Task 2, in the Unified Search, either from Dashboard, "Personal" or "AnotherList"
  7. Corresponding Task is found
  8. Click on it

Expected behavior

The desired Task should be displayed, in the corresponding List, with a correct URL.

Actual behaviour

The desired Task isn't displayed, and a random list (possibly the last seen) is displayed.

The displayed link to Task is incorrect in Unified Search ( https://todo.myserver.com/apps/tasks/#/calendars/anotherlist/tasks/A08CDC9C-AD07-41C3-B54B-D6EE9884892A.ics ), and following it leads to either

depending which list was last seen.

Tasks app version

0.16.1

CalDAV-clients used

No response

Browser

Firefox 134

Client operating system

Windows 10 & Ubuntu 24.04

Server operating system

AIO docker on Ubuntu 22.04 host

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

Other

Nextcloud version

30.0.5

Updated from an older installed version or fresh install

Fresh install

List of activated apps

Enabled:
  - cloud_federation_api: 1.13.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - files: 2.2.0
  - lookup_server_connector: 1.18.0
  - nextcloud-aio: 0.7.0
  - notify_push: 1.0.0
  - oauth2: 1.18.1
  - provisioning_api: 1.20.0
  - settings: 1.13.0
  - support: 2.0.0
  - tasks: 0.16.1
  - theming: 2.5.0
  - twofactor_backupcodes: 1.19.0
  - viewer: 3.0.0
  - workflowengine: 2.12.0

Nextcloud configuration

{
    "system": {
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "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
            }
        ],
        "check_data_directory_permissions": false,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "todo.myserver.com",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "todo.myserver.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "30.0.5.1",
        "overwrite.cli.url": "https:\/\/todo.myserver.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***",
        "maintenance": false,
        "loglevel": 2,
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": 10485760,
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "7": "OC\\Preview\\Krita"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "smtp",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": 30,
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
        "updatedirectory": "\/nc-updater",
        "maintenance_window_start": 100,
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***"
    }
}

Web server error log

/var/log/nginx # tail -f tasks*.log
==> tasks-error.log <==

==> tasks.log <==
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:15 +0100] "GET /ocs/v2.php/search/providers/settings_apps/search?term=br&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 126 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:15 +0100] "GET /ocs/v2.php/search/providers/settings/search?term=br&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 128 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:15 +0100] "GET /ocs/v2.php/search/providers/files/search?term=br&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 375 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:15 +0100] "GET /ocs/v2.php/search/providers/tasks/search?term=br&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 296 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:16 +0100] "GET /ocs/v2.php/search/providers/tasks/search?term=broken&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 296 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:16 +0100] "GET /ocs/v2.php/search/providers/settings_apps/search?term=broken&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 126 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:16 +0100] "GET /ocs/v2.php/search/providers/files/search?term=broken&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 125 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:16 +0100] "GET /ocs/v2.php/search/providers/settings/search?term=broken&from=%2Fapps%2Ftasks%2Fcalendars%2Fpersonal HTTP/2.0" 200 128 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/tasks/ HTTP/2.0" 200 5588 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /dist/core-files_fileinfo.js?v=890d9fb7-0 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/theming/js/theming.js?v=890d9fb7-0 HTTP/2.0" 200 192 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /custom_apps/tasks/css/tasks-Plus.css?v=f5f692bb-0 HTTP/2.0" 404 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /custom_apps/tasks/css/tasks-store.css?v=f5f692bb-0 HTTP/2.0" 404 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "POST /contactsmenu/contacts HTTP/2.0" 200 54 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /ocs/v2.php/search/providers?from=%2Fapps%2Ftasks%2F HTTP/2.0" 200 355 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/tasks/api/v1/collections HTTP/2.0" 200 218 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "PROPFIND /remote.php/dav/ HTTP/2.0" 207 230 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/theming/img/accessibility-dark.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/settings/img/personal.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/settings/img/admin.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/settings/img/apps.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/settings/img/users.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /apps/settings/img/help.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /core/img/actions/logout.svg?v=890d9fb7 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:25 +0100] "GET /avatar/admin/64?v=0 HTTP/2.0" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:26 +0100] "GET /index.php/apps/files/preview-service-worker.js HTTP/2.0" 200 6407 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:26 +0100] "PROPFIND /remote.php/dav/principals/users/admin/ HTTP/2.0" 207 697 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:26 +0100] "PROPFIND /remote.php/dav/calendars/admin/ HTTP/2.0" 207 1362 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:26 +0100] "REPORT /remote.php/dav/calendars/admin/anotherlist/ HTTP/2.0" 207 1527 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
XXX.YYY.MY.IP - - [27/Jan/2025:13:04:26 +0100] "REPORT /remote.php/dav/calendars/admin/personal/ HTTP/2.0" 207 1528 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"

Log file

Nothing related to the above search

Browser log


Additional info

  • PHP 8.3.15
  • AIO Nextcloud behind Nginx reverse-proxy, with the config from the documentation.
  • fulltextsearch app was never used or even installed
@raimund-schluessler
Copy link
Member

That is a bug in server see nextcloud/server#49639. The fix was merged and backported and will be released with the next patch releases of server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants