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

Getting DNS Query Failed when running occ files:scan --all #28979

Closed
cyberpower678 opened this issue Sep 28, 2021 · 1 comment
Closed

Getting DNS Query Failed when running occ files:scan --all #28979

cyberpower678 opened this issue Sep 28, 2021 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info

Comments

@cyberpower678
Copy link

cyberpower678 commented Sep 28, 2021

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.

Expected behaviour

When scanning for files it should correctly read non-remote external storage points, when permissions are correctly configured to www.

Actual behaviour

One of the external storage points seems to be triggering a DNS request on the location directory of the external storage point, despite being configured as a local device, which prompts the DNS query to fail and the directory to not populate. Adding and removing files to the directory works just fine and it will actually show on the external device, suggesting a bug in the files:scan function somewhere.

Stack trace:

Stack trace ``` Exception during scan: dns_get_record(): DNS Query failed #0 [internal function]: OCA\Files\Command\Scan->exceptionErrorHandler() #1 /usr/local/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php(83): dns_get_record() #2 /usr/local/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php(128): OC\Http\Client\DnsPinMiddleware->dnsResolve() #3 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}() #4 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke() #5 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #6 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(63): GuzzleHttp\RedirectMiddleware->__invoke() #7 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #8 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(331): GuzzleHttp\HandlerStack->__invoke() #9 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(168): GuzzleHttp\Client->transfer() #10 /usr/local/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Client->requestAsync() #11 /usr/local/www/nextcloud/lib/private/Http/Client/Client.php(223): GuzzleHttp\Client->request() #12 /usr/local/www/nextcloud/apps/files_sharing/lib/External/Storage.php(276): OC\Http\Client\Client->get() #13 /usr/local/www/nextcloud/apps/files_sharing/lib/External/Storage.php(300): OCA\Files_Sharing\External\Storage->testRemoteUrl() #14 [internal function]: OCA\Files_Sharing\External\Storage->remoteIsOwnCloud() #15 /usr/local/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(508): call_user_func_array() #16 [internal function]: OC\Files\Storage\Wrapper\Wrapper->__call() #17 /usr/local/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(508): call_user_func_array() #18 [internal function]: OC\Files\Storage\Wrapper\Wrapper->__call() #19 /usr/local/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(508): call_user_func_array() #20 /usr/local/www/nextcloud/apps/files_sharing/lib/External/Scanner.php(39): OC\Files\Storage\Wrapper\Wrapper->__call() #21 /usr/local/www/nextcloud/lib/private/Files/Utils/Scanner.php(259): OCA\Files_Sharing\External\Scanner->scan() #22 /usr/local/www/nextcloud/apps/files/lib/Command/Scan.php(156): OC\Files\Utils\Scanner->scan() #23 /usr/local/www/nextcloud/apps/files/lib/Command/Scan.php(212): OCA\Files\Command\Scan->scanFiles() #24 /usr/local/www/nextcloud/apps/bookmarks/vendor/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute() #25 /usr/local/www/nextcloud/core/Command/Base.php(168): Symfony\Component\Console\Command\Command->run() #26 /usr/local/www/nextcloud/apps/bookmarks/vendor/symfony/console/Application.php(1009): OC\Core\Command\Base->run() #27 /usr/local/www/nextcloud/apps/bookmarks/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand() #28 /usr/local/www/nextcloud/apps/bookmarks/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun() #29 /usr/local/www/nextcloud/lib/private/Console/Application.php(209): Symfony\Component\Console\Application->run() #30 /usr/local/www/nextcloud/console.php(99): OC\Console\Application->run() #31 /usr/local/www/nextcloud/occ(11): require_once('/usr/local/www/...') #32 {main} ```

Server configuration

Operating system: FreeBSD 12.2

Web server: NGINX

Database: MySQL

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 22.1.1

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: Via TrueNAS plugin installer, updated via updater

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.7.0
  - activity: 2.15.0
  - admin_audit: 1.11.0
  - analytics: 3.6.1
  - announcementcenter: 6.0.0
  - appointments: 1.10.2
  - apporder: 0.13.0
  - audioplayer: 3.2.2
  - bookmarks: 10.0.0
  - breezedark: 22.0.1
  - bruteforcesettings: 2.2.0
  - calendar: 2.3.3
  - camerarawpreviews: 0.7.12
  - checksum: 1.1.2
  - cloud_federation_api: 1.4.0
  - comments: 1.11.0
  - contacts: 4.0.3
  - contactsinteraction: 1.2.0
  - cookbook: 0.9.3
  - cospend: 1.3.19
  - dashboard: 7.1.0
  - dav: 1.18.0
  - diffuse: 2.5.3
  - event_update_notification: 1.3.0
  - extract: 1.3.2
  - federatedfilesharing: 1.11.0
  - files: 1.16.0
  - files_accesscontrol: 1.12.0
  - files_downloadactivity: 1.11.1
  - files_external: 1.12.1
  - files_linkeditor: 1.1.6
  - 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
  - firstrunwizard: 2.11.0
  - forms: 2.3.0
  - geoblocker: 0.5.1
  - impersonate: 1.9.0
  - logreader: 2.7.0
  - lookup_server_connector: 1.9.0
  - mail: 1.10.4
  - maps: 0.1.9
  - metadata: 0.14.0
  - music: 1.3.3
  - news: 16.0.1
  - nextcloud_announcements: 1.11.0
  - notes: 4.1.1
  - notifications: 2.10.1
  - oauth2: 1.9.0
  - password_policy: 1.12.0
  - passwords: 2021.9.20
  - photos: 1.4.0
  - polls: 3.2.0
  - privacy: 1.6.0
  - provisioning_api: 1.11.0
  - qownnotesapi: 21.7.0
  - quota_warning: 1.11.0
  - recommendations: 1.1.0
  - serverinfo: 1.12.0
  - settings: 1.3.0
  - sharebymail: 1.11.0
  - sharingpath: 0.4.3
  - side_menu: 1.27.2
  - spreed: 12.1.2
  - survey_client: 1.10.0
  - suspicious_login: 4.0.0
  - systemtags: 1.11.0
  - talk_matterbridge: 1.22.4
  - tasks: 0.14.2
  - terms_of_service: 1.8.1
  - text: 3.3.0
  - theming: 1.12.0
  - timemanager: 0.2.4
  - twofactor_admin: 3.1.0
  - twofactor_backupcodes: 1.10.1
  - twofactor_gateway: 0.19.0
  - twofactor_nextcloud_notification: 3.2.1
  - twofactor_totp: 6.1.0
  - twofactor_u2f: 6.2.0
  - updatenotification: 1.11.0
  - user_status: 1.1.1
  - viewer: 1.6.0
  - weather_status: 1.1.0
  - webapppassword: 21.7.0
  - workflowengine: 2.3.1
Disabled:
  - audioplayer_editor
  - audioplayer_sonos
  - browser_warning
  - carnet
  - circles
  - customproperties
  - data_request
  - deck
  - documentserver_community
  - drawio
  - duplicatefinder
  - emlviewer
  - encryption
  - end_to_end_encryption
  - external
  - facerecognition
  - federation
  - files_antivirus
  - files_automatedtagging
  - files_fulltextsearch
  - files_fulltextsearch_tesseract
  - files_lock
  - files_mindmap
  - files_photospheres
  - files_retention
  - files_trackdownloads
  - flowupload
  - fulltextsearch
  - fulltextsearch_elasticsearch
  - gpgmailer
  - gpxedit
  - gpxmotion
  - gpxpod
  - groupfolders
  - guests
  - hidesidebars
  - imageconverter
  - issuetemplate
  - limit_login_to_ip
  - ocsms
  - onlyoffice
  - ownpad
  - phonetrack
  - printer
  - quickaccesssorting
  - quicknotes
  - rainloop
  - ransomware_detection
  - ransomware_protection
  - richdocuments
  - richdocumentscode
  - richdocumentscode_arm64
  - sendent
  - socialsharing_diaspora
  - socialsharing_email
  - socialsharing_facebook
  - socialsharing_twitter
  - support
  - talk_simple_poll
  - theming_customcss
  - transmission
  - twofactor_webauthn
  - unsplash
  - user_ldap
  - user_saml
  - user_usage_report
  - w2g2
  - wopi
  - workflow_ocr
  - workflow_pdf_converter

Nextcloud configuration:

Config report
{
    "system": {
        "apps_paths": [
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
                "url": "\/apps-pkg",
                "writable": true
            }
        ],
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.1.*",
            "*"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "22.1.1.2",
        "overwrite.cli.url": "REDACTED",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin",
            "2fa"
        ],
        "twofactor_enforced_excluded_groups": [],
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "theme": "",
        "loglevel": 0,
        "debug": false,
        "maintenance": false,
        "has_rebuilt_cache": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "spreed",
            "twofactor_gateway"
        ],
        "default_phone_region": "ISO 3166-2:US",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    },
    "apps": {
        "accessibility": {
            "enabled": "yes",
            "installed_version": "1.7.0",
            "types": ""
        },
        "activity": {
            "enabled": "yes",
            "installed_version": "2.15.0",
            "notify_email_analytics_data": "0",
            "notify_email_analytics_dataset": "0",
            "notify_email_announcementcenter": "1",
            "notify_email_bookmarks": "0",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_comments": "0",
            "notify_email_cospend": "0",
            "notify_email_cospend_bill_event": "0",
            "notify_email_deck": "0",
            "notify_email_deck_card_description": "0",
            "notify_email_deck_comment": "0",
            "notify_email_favorite": "0",
            "notify_email_file_changed": "0",
            "notify_email_file_downloaded": "0",
            "notify_email_file_favorite_changed": "0",
            "notify_email_public_links": "0",
            "notify_email_remote_share": "0",
            "notify_email_shared": "0",
            "notify_email_spreed": "0",
            "notify_email_systemtags": "0",
            "notify_notification_analytics_data": "0",
            "notify_notification_analytics_dataset": "0",
            "notify_notification_announcementcenter": "0",
            "notify_notification_bookmarks": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_comments": "0",
            "notify_notification_cospend": "1",
            "notify_notification_cospend_bill_event": "1",
            "notify_notification_deck": "0",
            "notify_notification_deck_card_description": "0",
            "notify_notification_deck_comment": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_downloaded": "0",
            "notify_notification_file_favorite_changed": "1",
            "notify_notification_group_settings": "1",
            "notify_notification_personal_settings": "1",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_notification_spreed": "1",
            "notify_notification_systemtags": "0",
            "notify_notification_twofactor_totp": "1",
            "notify_notification_twofactor_u2f": "1",
            "notify_notification_virus_detected": "1",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "logging"
        },
        "analytics": {
            "enabled": "yes",
            "installed_version": "3.6.1",
            "types": ""
        },
        "announcementcenter": {
            "enabled": "yes",
            "installed_version": "6.0.0",
            "types": "logging"
        },
        "appointments": {
            "enabled": "yes",
            "hk": "05b35ea4000833f3b30beb3b6689675e92fd6e1978466a83a3bbb4b2b9259eb9",
            "installed_version": "1.10.2",
            "new_backend": "4",
            "tiv": "d5be42b16e980e356113b91385d1f4e5",
            "types": "dav"
        },
        "apporder": {
            "enabled": "yes",
            "installed_version": "0.13.0",
            "types": ""
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "3.2.2",
            "types": "filesystem"
        },
        "audioplayer_editor": {
            "enabled": "no",
            "installed_version": "0.3.0",
            "types": "filesystem"
        },
        "audioplayer_sonos": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "sonos": "checked",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "12441"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "10.0.0",
            "types": ""
        },
        "breezedark": {
            "enabled": "yes",
            "installed_version": "22.0.1",
            "types": ""
        },
        "browser_warning": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": ""
        },
        "bruteForce": {
            "whitelist_1": "192.168.1.0\/24"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "2.3.3",
            "types": ""
        },
        "camerarawpreviews": {
            "enabled": "yes",
            "installed_version": "0.7.12",
            "types": "filesystem"
        },
        "carnet": {
            "enabled": "no",
            "installed_version": "0.24.2",
            "types": "filesystem"
        },
        "checksum": {
            "enabled": "yes",
            "installed_version": "1.1.2",
            "types": "filesystem"
        },
        "circles": {
            "enabled": "no",
            "installed_version": "0.21.4",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "4.0.3",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "dav"
        },
        "cookbook": {
            "enabled": "yes",
            "installed_version": "0.9.3",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "default_encryption_module": "OC_DEFAULT_MODULE",
            "installedat": "1597085065.3102",
            "lastcron": "1632832800",
            "lastupdateResult": "[]",
            "lastupdatedat": "1632832752",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "shareapi_default_internal_expire_date": "yes",
            "shareapi_enable_link_password_by_default": "no",
            "shareapi_enforce_links_password": "no",
            "shareapi_exclude_groups": "no",
            "shareapi_exclude_groups_list": "[\"\"]",
            "shareapi_internal_enforce_expire_date": "yes",
            "theming.variables": "b92d206521717ac032f8aa58d3c7ff2f",
            "updater.secret.created": "1632795467",
            "vendor": "nextcloud"
        },
        "cospend": {
            "enabled": "yes",
            "installed_version": "1.3.19",
            "types": ""
        },
        "customproperties": {
            "enabled": "no",
            "installed_version": "2.0.4",
            "types": ""
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.1.0",
            "types": ""
        },
        "data_request": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.18.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "sendEventRemindersPush": "yes",
            "types": "filesystem"
        },
        "deck": {
            "enabled": "no",
            "installed_version": "1.5.3",
            "types": "dav"
        },
        "diffuse": {
            "enabled": "yes",
            "installed_version": "2.5.3",
            "types": ""
        },
        "documentserver_community": {
            "enabled": "no",
            "installed_version": "0.1.11",
            "types": "filesystem"
        },
        "drawio": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": "filesystem"
        },
        "duplicatefinder": {
            "enabled": "no",
            "installed_version": "0.0.12",
            "types": ""
        },
        "emlviewer": {
            "enabled": "no",
            "installed_version": "0.0.23",
            "types": ""
        },
        "encryption": {
            "enabled": "no",
            "installed_version": "2.7.0",
            "masterKeyId": "master_f2862bfa",
            "publicShareKeyId": "pubShare_f2862bfa",
            "recoveryKeyId": "recoveryKey_f2862bfa",
            "types": "filesystem"
        },
        "end_to_end_encryption": {
            "enabled": "no",
            "installed_version": "1.7.1",
            "types": "dav,filesystem"
        },
        "event_update_notification": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging,dav"
        },
        "external": {
            "enabled": "no",
            "installed_version": "3.9.0",
            "types": ""
        },
        "extract": {
            "enabled": "yes",
            "installed_version": "1.3.2",
            "types": ""
        },
        "facerecognition": {
            "installed_version": "0.7.2",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "1.16.0",
            "max_chunk_size": "524288000",
            "max_chunk_size=209715200": "",
            "types": "filesystem",
            "watermark_allGroups": "no",
            "watermark_allGroupsList": "",
            "watermark_allTags": "no",
            "watermark_allTagsList": "",
            "watermark_enabled": "no",
            "watermark_linkAll": "no",
            "watermark_linkRead": "no",
            "watermark_linkSecure": "no",
            "watermark_linkTags": "no",
            "watermark_linkTagsList": "",
            "watermark_shareAll": "no",
            "watermark_shareRead": "no",
            "watermark_text": ""
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_cmd_options": "",
            "av_host": "",
            "av_infected_action": "delete",
            "av_max_file_size": "-1",
            "av_mode": "executable",
            "av_path": "\/usr\/bin\/clamscan",
            "av_port": "0",
            "av_socket": "\/var\/run\/clamav\/clamd.ctl",
            "av_stream_max_length": "26214400",
            "enabled": "no",
            "installed_version": "3.2.2",
            "types": "filesystem,dav"
        },
        "files_automatedtagging": {
            "enabled": "no",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "files_downloadactivity": {
            "enabled": "yes",
            "installed_version": "1.11.1",
            "types": "filesystem"
        },
        "files_external": {
            "allow_user_mounting": "yes",
            "enabled": "yes",
            "installed_version": "1.12.1",
            "types": "filesystem",
            "user_mounting_backends": "dav,owncloud,sftp,amazons3,swift,\\OC\\Files\\Storage\\SFTP_Key"
        },
        "files_fulltextsearch": {
            "enabled": "no",
            "installed_version": "22.0.1",
            "types": "filesystem"
        },
        "files_fulltextsearch_tesseract": {
            "enabled": "no",
            "installed_version": "20.0.1",
            "types": ""
        },
        "files_linkeditor": {
            "enabled": "yes",
            "installed_version": "1.1.6",
            "types": ""
        },
        "files_lock": {
            "enabled": "no",
            "installed_version": "20.0.0",
            "types": "filesystem"
        },
        "files_markdown": {
            "enabled": "yes",
            "installed_version": "2.3.4",
            "types": ""
        },
        "files_mindmap": {
            "enabled": "no",
            "installed_version": "0.0.25",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "files_photospheres": {
            "enabled": "no",
            "installed_version": "1.22.0",
            "types": ""
        },
        "files_retention": {
            "enabled": "no",
            "installed_version": "1.11.1",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.13.2",
            "types": "filesystem"
        },
        "files_trackdownloads": {
            "enabled": "no",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": "filesystem,dav"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "logging"
        },
        "flowupload": {
            "enabled": "no",
            "installed_version": "1.1.2",
            "types": ""
        },
        "forms": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "fulltextsearch": {
            "app_navigation": "0",
            "enabled": "no",
            "installed_version": "22.0.1",
            "search_platform": "",
            "types": ""
        },
        "fulltextsearch_elasticsearch": {
            "enabled": "no",
            "installed_version": "22.0.1",
            "types": ""
        },
        "geoblocker": {
            "choosenCountries": "DE, TH, US, ",
            "choosenWhiteBlackList": "1",
            "chosenService": "2",
            "doFakeAddress": "0",
            "enabled": "yes",
            "fakeAddress": "2.16.103.7",
            "installed_version": "0.5.1",
            "logWithCountryCode": "1",
            "logWithIpAddress": "1",
            "logWithUserName": "1",
            "rir_data_db_date": "2021-08-09",
            "rir_data_db_version": "0",
            "rir_data_service_status": "3",
            "types": ""
        },
        "gpgmailer": {
            "installed_version": "0.0.3",
            "types": ""
        },
        "gpxedit": {
            "enabled": "no",
            "installed_version": "0.0.14",
            "types": ""
        },
        "gpxmotion": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "types": ""
        },
        "gpxpod": {
            "enabled": "no",
            "installed_version": "4.2.8",
            "reset304": "1",
            "resetPics404": "1",
            "types": ""
        },
        "groupfolders": {
            "enabled": "no",
            "installed_version": "10.0.0",
            "types": "filesystem,dav"
        },
        "guests": {
            "enabled": "no",
            "installed_version": "2.0.2",
            "types": "authentication"
        },
        "hidesidebars": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "imageconverter": {
            "enabled": "no",
            "installed_version": "1.3.1",
            "types": ""
        },
        "impersonate": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "issuetemplate": {
            "enabled": "no",
            "installed_version": "0.7.0",
            "types": ""
        },
        "limit_login_to_ip": {
            "enabled": "no",
            "installed_version": "3.1.0",
            "types": "filesystem"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.7.0",
            "levels": "01111",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "yes",
            "installed_version": "1.10.4",
            "types": ""
        },
        "maps": {
            "enabled": "yes",
            "installed_version": "0.1.9",
            "types": "filesystem"
        },
        "metadata": {
            "enabled": "yes",
            "installed_version": "0.14.0",
            "types": ""
        },
        "music": {
            "enabled": "yes",
            "installed_version": "1.3.3",
            "types": "filesystem"
        },
        "news": {
            "autoPurgeCount": "200",
            "autoPurgeMinimumInterval": "60",
            "enabled": "yes",
            "exploreUrl": "",
            "feedFetcherTimeout": "60",
            "installed_version": "16.0.1",
            "maxRedirects": "10",
            "types": "",
            "updateInterval": "3600",
            "useCronUpdates": "1"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "4.1.1",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.10.1",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "authentication"
        },
        "ocsms": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "onlyoffice": {
            "DocumentServerInternalUrl": "",
            "DocumentServerUrl": "https:\/\/192.168.1.157\/apps\/documentserver_community\/",
            "StorageUrl": "",
            "defFormats": "{\"docx\":true,\"pptx\":true,\"xlsx\":true,\"odp\":true,\"ods\":true,\"odt\":true,\"doc\":true,\"ppt\":true,\"xls\":true}",
            "demo": "{\"available\":true,\"enabled\":false,\"start\":{\"date\":\"2020-09-13 01:56:15.395525\",\"timezone_type\":3,\"timezone\":\"UTC\"}}",
            "editFormats": "{\"csv\":true,\"docx\":true,\"pptx\":true,\"txt\":true,\"xlsx\":true,\"odp\":true,\"ods\":true,\"odt\":true,\"rtf\":true}",
            "enabled": "no",
            "installed_version": "7.1.2",
            "jwt_secret": "",
            "sameTab": "true",
            "settings_error": "Host violates local access rules",
            "types": "filesystem",
            "verify_peer_off": "false"
        },
        "ownpad": {
            "enabled": "no",
            "installed_version": "0.6.16",
            "ocsid": "174679",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "enforceHaveIBeenPwned": "1",
            "enforceNumericCharacters": "1",
            "enforceSpecialCharacters": "0",
            "enforceUpperLowerCase": "1",
            "expiration": "365",
            "historySize": "2",
            "installed_version": "1.12.0",
            "maximumLoginAttempts": "3",
            "minLength": "8",
            "types": "authentication"
        },
        "passwords": {
            "SSEv1ServerKey": "REDACTED",
            "backup\/update\/restored": "0",
            "cron\/php\/version\/id": "70411",
            "cron\/php\/version\/string": "7.4.11",
            "enabled": "yes",
            "installed_version": "2021.9.20",
            "migration\/customFields": "2020.12.2",
            "passwords\/localdb\/type": "bigdb+hibp",
            "passwords\/localdb\/version": "1",
            "service\/favicon": "default",
            "service\/security": "bigdb+hibp",
            "service\/words": "leipzig",
            "settings\/mail\/shares": "1",
            "survey\/server\/notification": "1627327502",
            "types": ""
        },
        "phonetrack": {
            "enabled": "no",
            "installed_version": "0.6.9",
            "types": ""
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "polls": {
            "enabled": "yes",
            "installed_version": "3.2.0",
            "types": ""
        },
        "printer": {
            "enabled": "no",
            "installed_version": "0.0.5",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "yes",
            "fullDiskEncryptionEnabled": "1",
            "installed_version": "1.6.0",
            "readableLocation": "us",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "prevent_group_restriction"
        },
        "qownnotesapi": {
            "enabled": "yes",
            "installed_version": "21.7.0",
            "types": ""
        },
        "quickaccesssorting": {
            "enabled": "no",
            "installed_version": "1.1.2",
            "types": ""
        },
        "quicknotes": {
            "enabled": "no",
            "installed_version": "0.7.2",
            "types": ""
        },
        "quota_warning": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "rainloop": {
            "enabled": "no",
            "installed_version": "7.1.2",
            "types": ""
        },
        "ransomware_detection": {
            "debug": "0",
            "enabled": "no",
            "installed_version": "0.10.0",
            "types": ""
        },
        "ransomware_protection": {
            "enabled": "no",
            "extension_exclusions": "[]",
            "installed_version": "1.11.0",
            "notefile_exclusions": "[\"composer.lock\",\"HEAD.lock\",\"multi-master.info\"]",
            "notes_include_biased": "yes",
            "types": "logging"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "registration": {
            "enabled": "no",
            "installed_version": "0.5.1",
            "types": ""
        },
        "richdocuments": {
            "enabled": "no",
            "installed_version": "4.2.3",
            "types": "prevent_group_restriction"
        },
        "richdocumentscode": {
            "enabled": "no",
            "installed_version": "6.4.607",
            "types": ""
        },
        "richdocumentscode_arm64": {
            "enabled": "no",
            "installed_version": "6.4.607",
            "types": ""
        },
        "sendent": {
            "enabled": "no",
            "installed_version": "1.2.7",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "275028",
            "cached_count_storages": "20",
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "enforcePasswordProtection": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "sharingpath": {
            "enabled": "yes",
            "installed_version": "0.4.3",
            "types": ""
        },
        "side_menu": {
            "enabled": "yes",
            "installed_version": "1.27.2",
            "types": ""
        },
        "socialsharing_diaspora": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "socialsharing_email": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "socialsharing_facebook": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "socialsharing_twitter": {
            "enabled": "no",
            "installed_version": "2.2.0",
            "types": ""
        },
        "spreed": {
            "enabled": "yes",
            "has_reference_id": "yes",
            "installed_version": "12.1.2",
            "matterbridge_binary": "\/usr\/local\/www\/nextcloud\/apps\/talk_matterbridge\/bin\/matterbridge-1.22.3-linux-64bit",
            "project_access_invalidated": "1",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "start_conversations": "[\"admin\"]",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "dav,prevent_group_restriction"
        },
        "support": {
            "enabled": "no",
            "installed_version": "1.2.1",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": ""
        },
        "suspicious_login": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "authentication"
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "logging"
        },
        "talk_matterbridge": {
            "enabled": "yes",
            "installed_version": "1.22.4",
            "types": "prevent_group_restriction"
        },
        "talk_simple_poll": {
            "enabled": "no",
            "installed_version": "1.3.1",
            "types": "prevent_group_restriction"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.14.2",
            "types": ""
        },
        "terms_of_service": {
            "enabled": "yes",
            "installed_version": "1.8.1",
            "term_uuid": "5f737c91d9c4d",
            "types": "filesystem,dav"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.3.0",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "logging"
        },
        "theming_customcss": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": ""
        },
        "timemanager": {
            "enabled": "yes",
            "installed_version": "0.2.4",
            "types": ""
        },
        "transmission": {
            "enabled": "no",
            "installed_version": "0.7.2",
            "types": ""
        },
        "twofactor_admin": {
            "enabled": "yes",
            "installed_version": "3.1.0",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.10.1",
            "types": ""
        },
        "twofactor_gateway": {
            "enabled": "yes",
            "installed_version": "0.19.0",
            "signal_url": "http:\/\/localhost:5000",
            "sms_provider_name": "playsms",
            "telegram_bot_token": "REDACTED",
            "types": ""
        },
        "twofactor_nextcloud_notification": {
            "enabled": "yes",
            "installed_version": "3.2.1",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "6.1.0",
            "types": ""
        },
        "twofactor_u2f": {
            "enabled": "yes",
            "installed_version": "6.2.0",
            "types": ""
        },
        "twofactor_webauthn": {
            "enabled": "no",
            "installed_version": "0.2.10",
            "types": ""
        },
        "unsplash": {
            "enabled": "no",
            "installed_version": "1.2.3",
            "types": ""
        },
        "updatenotification": {
            "analytics": "3.6.0",
            "announcementcenter": "4.0.1",
            "appointments": "1.10.0",
            "apporder": "0.13.0",
            "audioplayer": "3.1.0",
            "audioplayer_editor": "0.3.0",
            "audioplayer_sonos": "1.2.0",
            "bookmarks": "4.4.0",
            "breezedark": "21.0.10",
            "bruteforcesettings": "2.2.0",
            "calendar": "2.3.1",
            "carnet": "0.22.3",
            "contacts": "4.0.1",
            "core": "21.0.3.1",
            "cospend": "1.3.7",
            "deck": "1.4.3",
            "documentserver_community": "0.1.8",
            "duplicatefinder": "0.0.11",
            "enabled": "yes",
            "event_update_notification": "1.3.0",
            "extract": "1.3.2",
            "files_accesscontrol": "1.10.2",
            "files_antivirus": "3.2.1",
            "files_automatedtagging": "1.10.1",
            "files_downloadactivity": "1.11.1",
            "files_linkeditor": "1.1.6",
            "files_markdown": "2.3.4",
            "forms": "2.3.0",
            "geoblocker": "0.5.1",
            "groupfolders": "7.1.0",
            "guests": "1.6.0",
            "imageconverter": "1.3.1",
            "installed_version": "1.11.0",
            "mail": "1.10.2",
            "maps": "0.1.9",
            "metadata": "0.14.0",
            "music": "1.2.1",
            "news": "16.0.1",
            "notes": "4.1.1",
            "passwords": "2021.7.23",
            "polls": "3.0.0",
            "qownnotesapi": "21.7.0",
            "quicknotes": "0.6.1",
            "quota_warning": "1.11.0",
            "ransomware_protection": "1.10.1",
            "side_menu": "1.26.0",
            "spreed": "11.3.1",
            "talk_simple_poll": "1.3.1",
            "tasks": "0.14.1",
            "timemanager": "0.2.4",
            "twofactor_gateway": "0.19.0",
            "twofactor_nextcloud_notification": "3.2.1",
            "twofactor_totp": "6.1.0",
            "twofactor_u2f": "6.2.0",
            "twofactor_webauthn": "0.2.10",
            "types": "",
            "update_check_errors": "0",
            "webapppassword": "21.7.0",
            "wopi": "3.5.7",
            "workflow_ocr": "1.19.1",
            "workflow_pdf_converter": "1.5.1"
        },
        "user_ldap": {
            "background_sync_interval": "1800",
            "enabled": "no",
            "installed_version": "1.9.0",
            "s01_lastChange": "1599589768",
            "s01has_memberof_filter_support": "0",
            "s01home_folder_naming_rule": "",
            "s01last_jpegPhoto_lookup": "0",
            "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_attributes_for_group_search": "",
            "s01ldap_attributes_for_user_search": "",
            "s01ldap_backup_host": "",
            "s01ldap_backup_port": "",
            "s01ldap_base": "",
            "s01ldap_base_groups": "",
            "s01ldap_base_users": "",
            "s01ldap_cache_ttl": "600",
            "s01ldap_configuration_active": "0",
            "s01ldap_default_ppolicy_dn": "",
            "s01ldap_display_name": "displayName",
            "s01ldap_dn": "",
            "s01ldap_dynamic_group_member_url": "",
            "s01ldap_email_attr": "",
            "s01ldap_experienced_admin": "0",
            "s01ldap_expert_username_attr": "",
            "s01ldap_expert_uuid_group_attr": "",
            "s01ldap_expert_uuid_user_attr": "",
            "s01ldap_ext_storage_home_attribute": "",
            "s01ldap_gid_number": "gidNumber",
            "s01ldap_group_display_name": "cn",
            "s01ldap_group_filter": "",
            "s01ldap_group_filter_mode": "0",
            "s01ldap_group_member_assoc_attribute": "",
            "s01ldap_groupfilter_groups": "",
            "s01ldap_groupfilter_objectclass": "",
            "s01ldap_host": "",
            "s01ldap_login_filter": "",
            "s01ldap_login_filter_mode": "0",
            "s01ldap_loginfilter_attributes": "",
            "s01ldap_loginfilter_email": "0",
            "s01ldap_loginfilter_username": "1",
            "s01ldap_matching_rule_in_chain_state": "unknown",
            "s01ldap_nested_groups": "0",
            "s01ldap_override_main_server": "",
            "s01ldap_paging_size": "500",
            "s01ldap_port": "",
            "s01ldap_quota_attr": "",
            "s01ldap_quota_def": "",
            "s01ldap_tls": "0",
            "s01ldap_turn_off_cert_check": "0",
            "s01ldap_turn_on_pwd_change": "0",
            "s01ldap_user_avatar_rule": "default",
            "s01ldap_user_display_name_2": "",
            "s01ldap_user_filter_mode": "0",
            "s01ldap_userfilter_groups": "",
            "s01ldap_userfilter_objectclass": "",
            "s01ldap_userlist_filter": "",
            "s01use_memberof_to_detect_membership": "1",
            "types": "authentication"
        },
        "user_saml": {
            "enabled": "no",
            "installed_version": "4.1.1",
            "types": "authentication"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.1.1",
            "types": ""
        },
        "user_usage_report": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": "filesystem"
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": ""
        },
        "w2g2": {
            "enabled": "no",
            "installed_version": "3.2.6",
            "types": ""
        },
        "weather": {
            "enabled": "no",
            "installed_version": "1.7.3",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "webapppassword": {
            "enabled": "yes",
            "installed_version": "21.7.0",
            "types": "dav"
        },
        "wopi": {
            "enabled": "no",
            "installed_version": "3.5.7",
            "types": "filesystem,dav,prevent_group_restriction"
        },
        "workflow_ocr": {
            "enabled": "no",
            "installed_version": "1.22.1",
            "types": "filesystem"
        },
        "workflow_pdf_converter": {
            "enabled": "no",
            "installed_version": "1.7.0",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.3.1",
            "types": "filesystem"
        }
    }
}

Are you using external storage, if yes which one: local/smb/sftp/... Yes, all local

Are you using encryption: yes/no Encryption provided by host machine

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

@cyberpower678 cyberpower678 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Sep 28, 2021
@solracsf solracsf changed the title Getting DNS Query Failed when running a files:scan --all procedure Getting DNS Query Failed when running occ files:scan --all Oct 3, 2021
@szaimen
Copy link
Contributor

szaimen commented Jan 23, 2023

Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info
Projects
None yet
Development

No branches or pull requests

2 participants