Nextcloud 19 Onlyoffice 4.30 error:Host violates local access rules

Nachdem ich Onlyoffice auf die Version 4.30 upgedated habe wirft mir Nextcloud 19 folgende Fehlermeldung in der LOG-DATEI aus:
error onlyoffice OCP\Http\Client\LocalServerException: Host violates local access rules

/home/httpd/html/nextcloud/lib/private/Http/Client/Client.php - line 227:

OC\Http\Client\Client->preventLocalAddress()

/home/httpd/html/nextcloud/apps/onlyoffice/lib/documentservice.php - line 367:

OC\Http\Client\Client->get()

/home/httpd/html/nextcloud/apps/onlyoffice/controller/callbackcontroller.php - line 444:

OCA\Onlyoffice\DocumentService->Request()

/home/httpd/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\Onlyoffice\Controller\CallbackController->track()

/home/httpd/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController()

/home/httpd/html/nextcloud/lib/private/AppFramework/App.php - line 137:

OC\AppFramework\Http\Dispatcher->dispatch()

/home/httpd/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main()

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke()

/home/httpd/html/nextcloud/lib/private/Route/Router.php - line 297:

call_user_func()

/home/httpd/html/nextcloud/lib/base.php - line 1007:

OC\Route\Router->match()

/home/httpd/html/nextcloud/index.php - line 37:

OC::handleRequest()

[no app in context] Warning: Host xxx.xxx.xxx.xxx was not connected to because it violates local access rules

POST /nextcloud/index.php/apps/onlyoffice/track?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiIxMjUxMzJGQy1GQTFDLTQ3ODAtQTI4MC1ERTk0NThBQUZBOEUiLCJmaWxlSWQiOjIxMzU3MDAsImZpbGVQYXRoIjoiXC90ZXN0ZXIxLmRvY3giLCJzaGFyZVRva2VuIjpudWxsLCJhY3Rpb24iOiJ0cmFjayJ9.oM3Z3TxI0LXrEtQYJ4mxNrDgx_7HwyJfBrWURrsZpQI
from xxx.xxx.xxx.xxx by 125132FC-FA1C-4780-A280-DE9458AAFA8E at 2020-06-29T05:58:03+00:00

Grüße
Daniel

1 Like

Exactly the same issue for me.

I have onlyoffice running in a Docker container. These are my settings (which worked prior to app upgrade to 4.3.0):
Bildschirmfoto vom 2020-07-01 12-29-33

Error message from Log

[onlyoffice] Error: OCP\Http\Client\LocalServerException: Host violates local access rules at <>

  1. /var/www/html/lib/private/Http/Client/Client.php line 227
    OC\Http\Client\Client->preventLocalAddress(“http://onlyoffi … k”, {timeout: 60})
  2. /var/www/html/custom_apps/onlyoffice/lib/documentservice.php line 367
    OC\Http\Client\Client->get(“http://onlyoffi … k”, {timeout: 60})
  3. /var/www/html/custom_apps/onlyoffice/lib/documentservice.php line 256
    OCA\Onlyoffice\DocumentService->Request(“http://onlyoffi … k”)
  4. /var/www/html/custom_apps/onlyoffice/controller/settingscontroller.php line 292
    OCA\Onlyoffice\DocumentService->HealthcheckRequest()
  5. /var/www/html/custom_apps/onlyoffice/controller/settingscontroller.php line 171
    OCA\Onlyoffice\Controller\SettingsController->checkDocServiceUrl()
  6. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 170
    OCA\Onlyoffice\Controller\SettingsController->SaveAddress(“https://office.kevinkoellmann.de/”, “http://onlyoffice_documentserver_1/”, “http://nextcloud_web_1/”, “”, false)
  7. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 100
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Onlyoffice\C … {}, “saveAddress”)
  8. /var/www/html/lib/private/AppFramework/App.php line 137
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Onlyoffice\C … {}, “saveAddress”)
  9. /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main(“SettingsController”, “saveAddress”, OC\AppFramework\ … {}, {_route: "onlyof … "})
  10. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "onlyof … "})
  11. /var/www/html/lib/private/Route/Router.php line 297
    call_user_func(OC\AppFramework\ … {}, {_route: "onlyof … "})
  12. /var/www/html/lib/base.php line 1007
    OC\Route\Router->match(“/apps/onlyoffice/ajax/settings/address”)
  13. /var/www/html/index.php line 37
    OC::handleRequest()

PUT /apps/onlyoffice/ajax/settings/address
from 91.32.51.98 by admin at 2020-07-01T10:19:02+00:00

occ config:list
{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.kevinkoellmann.de",
            "192.168.1.9:8080"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "19.0.0.12",
        "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***",
        "skeletondirectory": "",
        "lost_password_link": "disabled",
        "knowledgebaseenabled": false,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "cloud.kevinkoellmann.de",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/cloud.kevinkoellmann.de",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "blacklisted_files": [],
        "app_install_overwrite": [
            "polls",
            "ocsms",
            "forms",
            "contacts",
            "keeporsweep"
        ]
    },
    "apps": {
        "accessibility": {
            "installed_version": "1.2.0",
            "types": "",
            "enabled": "no"
        },
        "activity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.12.0"
        },
        "admin_audit": {
            "installed_version": "1.9.0",
            "types": "logging",
            "enabled": "yes"
        },
        "apporder": {
            "enabled": "no",
            "types": "",
            "installed_version": "0.8.0"
        },
        "backgroundjob": {
            "lastjob": "40"
        },
        "bookmarks": {
            "types": "",
            "enabled": "yes",
            "installed_version": "3.2.4"
        },
        "calendar": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.0.3"
        },
        "checksum": {
            "types": "filesystem",
            "installed_version": "0.4.4",
            "enabled": "no"
        },
        "cloud_federation_api": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.2.0"
        },
        "cms_pico": {
            "system_templates": "{\"empty\":{\"name\":\"empty\",\"type\":1,\"compat\":true},\"sample_pico\":{\"name\":\"sample_pico\",\"type\":1,\"compat\":true}}",
            "themes_etag": "PfohKxkyUe",
            "system_themes": "{\"default\":{\"name\":\"default\",\"type\":1,\"compat\":true}}",
            "plugins_etag": "Z9BJvIcx8u",
            "link_mode": "2",
            "enabled": "no",
            "system_plugins": "{\"PicoDeprecated\":{\"name\":\"PicoDeprecated\",\"type\":1,\"compat\":true}}",
            "installed_version": "1.0.0",
            "types": ""
        },
        "comments": {
            "installed_version": "1.6.0",
            "types": "logging",
            "enabled": "no"
        },
        "contacts": {
            "types": "",
            "installed_version": "3.3.0",
            "enabled": "yes"
        },
        "contactsinteraction": {
            "types": "dav",
            "installed_version": "1.0.0",
            "enabled": "yes"
        },
        "cookbook": {
            "types": "",
            "enabled": "yes",
            "installed_version": "0.7.6"
        },
        "core": {
            "installedat": "1566422215.1921",
            "vendor": "nextcloud",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "public_files": "files_sharing\/public.php",
            "backgroundjobs_mode": "cron",
            "shareapi_enforce_expire_date": "no",
            "shareapi_allow_resharing": "no",
            "shareapi_enable_link_password_by_default": "yes",
            "shareapi_default_expire_date": "yes",
            "shareapi_allow_group_sharing": "no",
            "enterpriseLogoChecked": "yes",
            "oc.integritycheck.checker": "[]",
            "shareapi_default_permission_canshare": "no",
            "lastcron": "1593599701",
            "theming.variables": "8c3c2b31ae4e68d67c20043c6c0c1b55",
            "lastupdateResult": "[]",
            "shareapi_default_permissions": "1",
            "lastupdatedat": "1593598587",
            "shareapi_default_permission_cancreate": "no",
            "shareapi_default_permission_canupdate": "no",
            "shareapi_default_permission_candelete": "no"
        },
        "cospend": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "yes"
        },
        "dav": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.15.0",
            "sendEventReminders": "no",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "generateBirthdayCalendar": "no",
            "chunks_migrated": "1",
            "sendEventRemindersPush": "yes"
        },
        "drawio": {
            "types": "filesystem",
            "installed_version": "0.9.6",
            "enabled": "no"
        },
        "event_update_notification": {
            "installed_version": "1.0.2",
            "types": "logging,dav",
            "enabled": "no"
        },
        "federatedfilesharing": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "federation": {
            "installed_version": "1.6.0",
            "types": "authentication",
            "enabled": "no"
        },
        "files": {
            "types": "filesystem",
            "enabled": "yes",
            "cronjob_scan_files": "500",
            "installed_version": "1.14.0",
            "watermark_text": "{userId}",
            "watermark_allGroups": "no",
            "watermark_allTags": "no",
            "watermark_linkAll": "no",
            "watermark_linkRead": "yes",
            "watermark_linkSecure": "yes",
            "watermark_linkTags": "no",
            "watermark_enabled": "yes",
            "watermark_shareAll": "no",
            "watermark_shareRead": "yes"
        },
        "files_downloadactivity": {
            "installed_version": "1.8.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_fulltextsearch": {
            "enabled": "no",
            "types": "filesystem",
            "installed_version": "1.4.2"
        },
        "files_fulltextsearch_tesseract": {
            "installed_version": "1.4.1",
            "types": "",
            "enabled": "no",
            "tesseract_enabled": "1",
            "tesseract_psm": "4",
            "tesseract_lang": "eng,deu",
            "tesseract_pdf": "1",
            "tesseract_pdf_limit": "10"
        },
        "files_linkeditor": {
            "enabled": "yes",
            "types": "",
            "installed_version": "1.1.1"
        },
        "files_markdown": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.3.0"
        },
        "files_pdfviewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.8.0"
        },
        "files_readmemd": {
            "types": "filesystem",
            "enabled": "no",
            "installed_version": "1.1.3",
            "show_asciidoc": "false",
            "show_title": "true",
            "yellow_back": "true",
            "auto_refresh": "false",
            "fileslist_header": "[\"HEADER\"]",
            "fileslist_footer": "[\"README\"]",
            "show_html": "true"
        },
        "files_rightclick": {
            "types": "",
            "enabled": "yes",
            "installed_version": "0.16.0"
        },
        "files_sharing": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.11.0",
            "outgoing_server2server_share_enabled": "no",
            "incoming_server2server_share_enabled": "no",
            "lookupServerUploadEnabled": "no"
        },
        "files_texteditor": {
            "installed_version": "2.8.0",
            "types": "",
            "enabled": "no"
        },
        "files_trackdownloads": {
            "types": "filesystem",
            "installed_version": "1.8.0",
            "enabled": "yes"
        },
        "files_trashbin": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "files_versions": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.12.0"
        },
        "files_videoplayer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.8.0"
        },
        "firstrunwizard": {
            "installed_version": "2.5.0",
            "types": "logging",
            "enabled": "no"
        },
        "forms": {
            "types": "",
            "installed_version": "1.1.1",
            "enabled": "no"
        },
        "fulltextsearch": {
            "installed_version": "1.4.1",
            "types": "",
            "cron_err_reset": "1592937301",
            "enabled": "no",
            "provider_indexed": "{\"test_provider\":\"0\",\"files\":\"1\"}",
            "search_platform": "OCA\\FullTextSearch_ElasticSearch\\Platform\\ElasticSearchPlatform",
            "app_navigation": "1"
        },
        "fulltextsearch_elasticsearch": {
            "types": "",
            "installed_version": "1.5.1",
            "enabled": "no",
            "elastic_host": "http:\/\/elasticsearch:9200",
            "analyzer_tokenizer": "standard",
            "elastic_index": "nextcloud_fulltext_search"
        },
        "gallery": {
            "installed_version": "18.3.0",
            "types": "",
            "enabled": "no"
        },
        "impersonate": {
            "installed_version": "1.6.1",
            "enabled": "yes",
            "types": ""
        },
        "keeporsweep": {
            "enabled": "yes",
            "installed_version": "0.2.1",
            "types": ""
        },
        "keeweb": {
            "installed_version": "0.5.1",
            "types": "",
            "enabled": "no"
        },
        "logreader": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.4.0"
        },
        "lookup_server_connector": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.7.0"
        },
        "mail": {
            "enabled": "no",
            "types": "",
            "installed_version": "1.4.0"
        },
        "metadata": {
            "enabled": "yes",
            "types": "",
            "installed_version": "0.11.1"
        },
        "nextcloud_announcements": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.8.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
        },
        "notes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "3.6.0"
        },
        "notifications": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.7.0"
        },
        "oauth2": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.7.0"
        },
        "ocdownloader": {
            "enabled": "no",
            "types": "",
            "installed_version": "1.7.5"
        },
        "ocsms": {
            "types": "",
            "installed_version": "2.1.8",
            "enabled": "no"
        },
        "onlyoffice": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "4.3.0",
            "groups": "[]",
            "customizationToolbarNoTabs": "true",
            "jwt_secret": "",
            "DocumentServerUrl": "https:\/\/office.kevinkoellmann.de\/",
            "DocumentServerInternalUrl": "http:\/\/onlyoffice_documentserver_1\/",
            "StorageUrl": "http:\/\/nextcloud_web_1\/",
            "editFormats": "{\"csv\":\"true\",\"odp\":\"false\",\"ods\":\"false\",\"odt\":\"false\",\"rtf\":\"false\",\"txt\":\"true\"}",
            "sameTab": "false",
            "customizationChat": "false",
            "demo": "{\"available\":false,\"enabled\":false,\"start\":{\"date\":\"2019-09-11 14:01:57.367631\",\"timezone_type\":3,\"timezone\":\"UTC\"}}",
            "customizationFeedback": "false",
            "customizationHelp": "false",
            "customizationCompactHeader": "true",
            "defFormats": "{\"csv\":\"false\",\"doc\":\"true\",\"docm\":\"false\",\"docx\":\"true\",\"dotx\":\"false\",\"epub\":\"false\",\"html\":\"false\",\"odp\":\"true\",\"ods\":\"true\",\"odt\":\"true\",\"pdf\":\"false\",\"potm\":\"false\",\"potx\":\"false\",\"ppsm\":\"false\",\"ppsx\":\"false\",\"ppt\":\"true\",\"pptm\":\"false\",\"pptx\":\"true\",\"rtf\":\"false\",\"txt\":\"false\",\"xls\":\"true\",\"xlsm\":\"false\",\"xlsx\":\"true\",\"xltm\":\"false\",\"xltx\":\"false\"}",
            "settings_error": "Host violates local access rules"
        },
        "password_policy": {
            "types": "authentication",
            "installed_version": "1.9.1",
            "enabled": "yes"
        },
        "photos": {
            "installed_version": "1.1.0",
            "types": "",
            "enabled": "yes"
        },
        "polls": {
            "enabled": "yes",
            "types": "",
            "installed_version": "1.4.3"
        },
        "privacy": {
            "types": "",
            "installed_version": "1.2.0",
            "readableLocation": "de",
            "enabled": "no"
        },
        "provisioning_api": {
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "quota_warning": {
            "types": "filesystem",
            "installed_version": "1.8.0",
            "enabled": "yes",
            "alert_email": "yes",
            "warning_email": "yes",
            "info_email": "yes"
        },
        "ransomware_detection": {
            "types": "logging",
            "debug": "0",
            "installed_version": "0.7.1",
            "enabled": "no"
        },
        "ransomware_protection": {
            "types": "logging",
            "enabled": "no",
            "installed_version": "1.6.1",
            "notefile_exclusions": "[\"Recovery+(.{5}).txt$\",\"Recovery(.{6})\\\\.txt$\",\"privacy.php$\"]",
            "extension_exclusions": "[\".lock\",\"^(.+\/)*Android\/data\/.*\\\\.encrypted$\",\"^.*\\\\.php$\"]",
            "extension_additions": "[]"
        },
        "recommendations": {
            "installed_version": "0.4.0",
            "types": "",
            "enabled": "no"
        },
        "serverinfo": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "settings": {
            "installed_version": "1.1.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "types": "filesystem",
            "installed_version": "1.8.0",
            "enabled": "no",
            "sendpasswordmail": "no"
        },
        "spreed": {
            "enabled": "no",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "prevent_group_restriction",
            "project_access_invalidated": "1",
            "installed_version": "8.0.9"
        },
        "support": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "no"
        },
        "survey_client": {
            "installed_version": "1.4.0",
            "types": "",
            "enabled": "no"
        },
        "systemtags": {
            "installed_version": "1.6.0",
            "types": "logging",
            "enabled": "no"
        },
        "tasks": {
            "types": "",
            "enabled": "no",
            "installed_version": "0.13.1"
        },
        "text": {
            "types": "dav",
            "installed_version": "2.0.0",
            "enabled": "no"
        },
        "theming": {
            "types": "logging",
            "enabled": "yes",
            "name": "K\u00f6lle's Cloud",
            "url": "***REMOVED SENSITIVE VALUE***",
            "backgroundMime": "image\/png",
            "color": "#004d40",
            "logoMime": "image\/png",
            "faviconMime": "image\/png",
            "cachebuster": "17",
            "installed_version": "1.10.0"
        },
        "twofactor_backupcodes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.8.0"
        },
        "twofactor_totp": {
            "types": "",
            "enabled": "yes",
            "installed_version": "4.1.3"
        },
        "updatenotification": {
            "spreed": "8.0.8",
            "ocsms": "2.1.6",
            "types": "",
            "enabled": "yes",
            "files_rightclick": "0.15.1",
            "installed_version": "1.9.0",
            "ransomware_protection": "1.6.1",
            "core": "18.0.6.0",
            "impersonate": "1.5.2",
            "tasks": "0.12.2",
            "ocdownloader": "1.7.5",
            "files_markdown": "2.3.0",
            "uploaddetails": "0.1.2",
            "calendar": "2.0.3",
            "drawio": "0.9.4",
            "cospend": "0.5.5",
            "update_check_errors": "0",
            "bookmarks": "3.2.4",
            "contacts": "3.2.0",
            "notes": "3.6.0",
            "onlyoffice": "4.3.0",
            "twofactor_totp": "4.1.3",
            "cookbook": "0.7.6",
            "files_linkeditor": "1.1.1",
            "files_fulltextsearch": "1.4.2",
            "fulltextsearch_elasticsearch": "1.5.1",
            "polls": "1.4.3",
            "forms": "1.1.1",
            "mail": "1.3.4",
            "event_update_notification": "1.0.1",
            "metadata": "0.11.1"
        },
        "uploaddetails": {
            "installed_version": "0.1.3",
            "types": "",
            "enabled": "no"
        },
        "user_ldap": {
            "s01ldap_userfilter_groups": "",
            "installed_version": "1.6.0",
            "types": "authentication",
            "s01ldap_backup_host": "",
            "s01ldap_backup_port": "",
            "s01ldap_override_main_server": "",
            "s01ldap_login_filter_mode": "0",
            "s01ldap_loginfilter_username": "1",
            "s01ldap_loginfilter_attributes": "",
            "s01ldap_group_filter_mode": "0",
            "s01ldap_groupfilter_groups": "",
            "s01ldap_gid_number": "gidNumber",
            "s01ldap_user_display_name_2": "",
            "s01ldap_group_display_name": "cn",
            "s01ldap_tls": "0",
            "s01ldap_quota_def": "",
            "s01ldap_port": "389",
            "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_base": "dc=kevinkoellmann,dc=de",
            "s01ldap_userlist_filter": "(&(|(objectclass=inetOrgPerson)))",
            "s01ldap_display_name": "displayname",
            "s01ldap_configuration_active": "1",
            "s01ldap_loginfilter_email": "1",
            "s01ldap_user_filter_mode": "0",
            "s01ldap_groupfilter_objectclass": "posixGroup",
            "s01ldap_group_filter": "(&(|(objectclass=posixGroup)))",
            "s01ldap_base_groups": "cn=groups,dc=kevinkoellmann,dc=de",
            "enabled": "no",
            "s01ldap_quota_attr": "",
            "s01ldap_cache_ttl": "600",
            "s01home_folder_naming_rule": "",
            "s01ldap_turn_off_cert_check": "0",
            "s01ldap_attributes_for_user_search": "",
            "s01ldap_attributes_for_group_search": "",
            "s01ldap_expert_uuid_user_attr": "",
            "s01ldap_expert_uuid_group_attr": "",
            "s01use_memberof_to_detect_membership": "1",
            "s01last_jpegPhoto_lookup": "0",
            "s01ldap_nested_groups": "0",
            "s01ldap_paging_size": "500",
            "s01ldap_turn_on_pwd_change": "0",
            "s01ldap_dynamic_group_member_url": "",
            "s01ldap_default_ppolicy_dn": "",
            "s01ldap_user_avatar_rule": "default",
            "s01ldap_ext_storage_home_attribute": "",
            "s01ldap_host": "192.168.1.5",
            "s01ldap_dn": "uid=admin,cn=users,dc=kevinkoellmann,dc=de",
            "s01ldap_userfilter_objectclass": "inetOrgPerson",
            "s01has_memberof_filter_support": "1",
            "s01ldap_email_attr": "mail",
            "cleanUpJobOffset": "0",
            "background_sync_prefix": "s01",
            "background_sync_offset": "0",
            "s01ldap_experienced_admin": "0",
            "background_sync_interval": "43200",
            "s01ldap_login_filter": "(&(&(|(objectclass=inetOrgPerson)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))",
            "s01ldap_group_member_assoc_attribute": "memberUid",
            "s01ldap_base_users": "cn=users,dc=kevinkoellmann,dc=de",
            "s01ldap_expert_username_attr": "uid",
            "s01_lastChange": "1568210326"
        },
        "user_usage_report": {
            "types": "filesystem",
            "enabled": "no",
            "installed_version": "1.2.2"
        },
        "viewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.3.0"
        },
        "workflowengine": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.1.0"
        }
    }
}

Ja, das erstaunliche ist aber, dass Onlyoffice trotzdem läuft und funktioniert.
Auf Grund der Fehlermeldung date ich meine Produktivversion von Nextcloud nicht auf die aktuelle Onlyoffice Version up. Die neue Version läuft nur auf meiner Testinstallation.
Deine Einstellungen entsprechen meinen eigenen.

Grüße
Daniel

Der Eintrag in der config.php:
‘allow_local_remote_servers’ => true,

löst das ganze.

ACHTUNG: Leider ensteht beim Update von Nc 19.0.1 auf 19.0.2 das Problem erneut:
OnlyOffice Server nicht verfügbar, Host violates local access rules.
Der Eintrag in der config.php: ‘allow_local_remote_servers’ => true greift auch nicht mehr.
Kann jemand weiterhelfen ?

Hier das log:
Error onlyoffice OCP\Http\Client\LocalServerException: Host violates local access rules

/home/httpd/html/nextcloud/lib/private/Http/Client/Client.php - line 227:

OC\Http\Client\Client->preventLocalAddress()

/home/httpd/html/nextcloud/apps/onlyoffice/lib/documentservice.php - line 367:

OC\Http\Client\Client->get()

/home/httpd/html/nextcloud/apps/onlyoffice/lib/documentservice.php - line 256:

OCA\Onlyoffice\DocumentService->Request()

/home/httpd/html/nextcloud/apps/onlyoffice/controller/settingscontroller.php - line 292:

OCA\Onlyoffice\DocumentService->HealthcheckRequest()

/home/httpd/html/nextcloud/apps/onlyoffice/controller/settingscontroller.php - line 171:

OCA\Onlyoffice\Controller\SettingsController->checkDocServiceUrl()

/home/httpd/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\Onlyoffice\Controller\SettingsController->SaveAddress()

/home/httpd/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController()

/home/httpd/html/nextcloud/lib/private/AppFramework/App.php - line 137:

OC\AppFramework\Http\Dispatcher->dispatch()

/home/httpd/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main()

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke()

/home/httpd/html/nextcloud/lib/private/Route/Router.php - line 297:

call_user_func()

/home/httpd/html/nextcloud/lib/base.php - line 1012:

OC\Route\Router->match()

/home/httpd/html/nextcloud/index.php - line 37:

OC::handleRequest()

Für alle,
nachdem ich in den Onlyoffice Einstellungen den Namen des Servers eingetragen hatte und nicht mehr nur die Ip Adresse
war alles in Ordnung!? Merkwürdig auch die IP wurde vorher einfach akzeptiert

Hallo,
in meinem Fall funktionierte der Menüpunkt “Kopie speichern als” in Onlyoffice nicht mehr.
Dafür habe ich in der Datei “/var/www/html/lib/private/Http/Client” die Zeile 232 auskommentiert…
$this->preventLocalAddress($uri, $options);
ersetzt durch:
//$this->preventLocalAddress($uri, $options);

Dies sollte man aber wahrscheinlich nicht machen, wenn die Nextcloud über das Internet erreichbar ist.

I’m still getting this errror in version 6.2.1.24, are there any updates on this topic? It seems like nextcloud and only office are completely broken, I cant get it to run.

1 Like