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

SMB share disconnects as soon as files are added to it on the backend #8810

Closed
WaaromZoMoeilijk opened this issue Mar 13, 2018 · 3 comments
Closed

Comments

@WaaromZoMoeilijk
Copy link
Member

WaaromZoMoeilijk commented Mar 13, 2018

Steps to reproduce

  1. Have a empty SMB share added to NC
  2. Verify if it works
  3. Add files to the folder on the smb server by rsync / cp / mv etc

Expected behaviour

Files should show and share should valid

Actual behaviour

Share goes offline as soon as it checks te content.

Server configuration detail

Operating system: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64

Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)

Database: mysql 10.2.13

PHP version: 7.0.25-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, redis, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache

Nextcloud version: 13.0.0 - 13.0.0.14

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

Where did you install Nextcloud from: Nextcloud VM by techandme

Signing status

Array

List of activated apps
Enabled:
 - activity: 2.6.1
 - admin_audit: 1.3.0
 - admin_notifications: 1.0.1
 - apporder: 0.4.1
 - bookmarks: 0.11.0
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.1
 - caniupdate: 0.1.2
 - checksum: 0.3.5
 - cms_pico: 0.9.7
 - comments: 1.3.0
 - contacts: 2.1.2
 - dav: 1.4.6
 - drop_account: 0.0.6
 - external: 3.0.2
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_accesscontrol: 1.3.0
 - files_automatedtagging: 1.3.0
 - files_downloadactivity: 1.2.0
 - files_external: 1.4.1
 - files_frommail: 0.1.0
 - files_linkeditor: 1.0.4
 - files_markdown: 2.0.4
 - files_pdfviewer: 1.2.0
 - files_reader: 1.2.3
 - files_retention: 1.2.0
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - flowupload: 0.0.7
 - gallery: 18.0.0
 - groupfolders: 1.2.0
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - mail: 0.7.10
 - metadata: 0.6.0
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.0
 - ocdownloader: 1.5.6
 - ownpad: 0.6.5
 - password_policy: 1.3.0
 - previewgenerator: 1.0.9
 - provisioning_api: 1.3.0
 - quota_warning: 1.2.0
 - radio: 0.6.1
 - ransomware_protection: 1.1.0
 - registration: 0.4.0
 - richdocuments: 2.0.3
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - socialsharing_diaspora: 1.0.2
 - socialsharing_email: 1.0.3
 - socialsharing_facebook: 1.0.2
 - socialsharing_googleplus: 1.0.2
 - socialsharing_twitter: 1.0.2
 - survey_client: 1.1.0
 - systemtags: 1.3.0
 - tasks: 0.9.6
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - twofactor_totp: 1.4.1
 - updatenotification: 1.3.0
 - user_external: 0.4
 - user_ldap: 1.3.1
 - user_saml: 1.4.2
 - user_usage_report: 1.0.1
 - workflowengine: 1.3.0
Disabled:
 - encryption
 - passman

Configuration (config/config.php)
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "192.168.3.14",
        "",
        ""
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/nextcloud.wxxxx.nl\/",
    "dbtype": "mysql",
    "version": "13.0.0.14",
    "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***",
    "maintenance": false,
    "mail_smtpdebug": true,
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "ssl",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "log_rotate_size": "10485760",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "filelocking.enabled": true,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0,
        "dbindex": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "htaccess.RewriteBase": "\/",
    "loglevel": 0,
    "log_type": "file",
    "logfile": "\/var\/ncdata\/nextcloud.log",
    "logtimezone": "Europe\/Amsterdam",
    "ldapIgnoreNamingRules": false,
    "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory"
}

Are you using external storage, if yes which one: smb

Are you using encryption: no

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Operating system:

Logs

Browser log
[Tue Mar 13 06:25:02.510728 2018] [http2:warn] [pid 1259] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
PHP Warning:  Module 'redis' already loaded in Unknown on line 0
[Tue Mar 13 06:25:02.653007 2018] [mpm_prefork:notice] [pid 1259] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
[Tue Mar 13 06:25:02.653036 2018] [core:notice] [pid 1259] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 13 07:48:10.236454 2018] [spamhaus:crit] [pid 7681] [client 10.0.10.6:35367] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:48:10.298938 2018] [spamhaus:crit] [pid 7681] [client 10.0.10.6:35367] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:54:53.095097 2018] [spamhaus:crit] [pid 25990] [client 10.0.10.6:35430] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:54:53.220294 2018] [spamhaus:crit] [pid 25990] [client 10.0.10.6:35430] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:55:21.346415 2018] [spamhaus:crit] [pid 26000] [client 10.0.10.6:35433] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:55:21.404366 2018] [spamhaus:crit] [pid 26000] [client 10.0.10.6:35433] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:55:23.045595 2018] [spamhaus:crit] [pid 26000] [client 10.0.10.6:35433] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 07:55:23.070716 2018] [spamhaus:crit] [pid 26000] [client 10.0.10.6:35433] mod_spamhaus: address 10.0.10.6 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 16:34:32.814242 2018] [spamhaus:crit] [pid 25977] [client 31.160.169.70:10681] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 16:34:32.849118 2018] [spamhaus:crit] [pid 25977] [client 31.160.169.70:10681] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php
[Tue Mar 13 16:46:48.231475 2018] [spamhaus:crit] [pid 8766] [client 31.160.169.70:11405] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 16:46:48.358454 2018] [spamhaus:crit] [pid 8766] [client 31.160.169.70:11405] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 16:58:59.270599 2018] [spamhaus:crit] [pid 25956] [client 31.160.169.70:10499] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 16:58:59.325737 2018] [spamhaus:crit] [pid 25956] [client 31.160.169.70:10499] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:11:09.806205 2018] [spamhaus:crit] [pid 27035] [client 31.160.169.70:10535] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:11:10.012503 2018] [spamhaus:crit] [pid 27035] [client 31.160.169.70:10535] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:23:55.252579 2018] [spamhaus:crit] [pid 7680] [client 31.160.169.70:10585] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:23:55.410794 2018] [spamhaus:crit] [pid 7680] [client 31.160.169.70:10585] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:36:10.735074 2018] [spamhaus:crit] [pid 8766] [client 31.160.169.70:12313] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:36:10.782260 2018] [spamhaus:crit] [pid 8766] [client 31.160.169.70:12313] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:48:11.208660 2018] [spamhaus:crit] [pid 26000] [client 31.160.169.70:11990] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 17:48:11.397230 2018] [spamhaus:crit] [pid 26000] [client 31.160.169.70:11990] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 18:00:22.604152 2018] [spamhaus:crit] [pid 27035] [client 31.160.169.70:10910] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 18:00:22.656333 2018] [spamhaus:crit] [pid 27035] [client 31.160.169.70:10910] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 18:06:46.283991 2018] [spamhaus:crit] [pid 19259] [client 31.160.169.70:12473] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 18:06:46.402221 2018] [spamhaus:crit] [pid 19259] [client 31.160.169.70:12473] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php
[Tue Mar 13 18:14:22.904471 2018] [spamhaus:crit] [pid 20965] [client 31.160.169.70:11122] mod_spamhaus: address 31.160.169.70 is blacklisted but it's not in the 127.0.0.0/8 range. POSSIBLE WILD-CARDING TYPOSQUATTERS ATTACK! IP address will not get filtered
[Tue Mar 13 18:14:22.917064 2018] [spamhaus:crit] [pid 20965] [client 31.160.169.70:11122] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php
[Tue Mar 13 18:23:01.998099 2018] [spamhaus:crit] [pid 24295] [client 31.160.169.70:11235] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/apps/files_external/userstorages/8
[Tue Mar 13 18:23:02.114247 2018] [spamhaus:crit] [pid 24295] [client 31.160.169.70:11235] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php
[Tue Mar 13 18:27:04.408512 2018] [spamhaus:crit] [pid 24295] [client 31.160.169.70:11372] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/apps/files_external/userstorages/8
[Tue Mar 13 18:27:04.557770 2018] [spamhaus:crit] [pid 24295] [client 31.160.169.70:11372] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php

Nextcloud log
{"reqId":"mr9AAy9kQOhyfAD0jhJx","level":"error","time":"2018-03-13T19:09:06+01:00","remoteAddr":"31.160.169.70","user":"ezra","app":"no app in context","method":"GET","url":"\/apps\/logreader\/poll?lastReqId=2raVQuj4ImKq4S5M0Y9R","message":"","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:58.0) Gecko\/20100101 Firefox\/58.0","version":"13.0.0.14"}
{"reqId":"or5uVx8MNY4jbozTEqsx","level":4,"time":"2018-03-13T19:09:07+01:00","remoteAddr":"31.160.169.70","user":"ezra","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav\/FreeNAS","message":"Exception: {\"Exception\":\"Icewind\\\\SMB\\\\Exception\\\\ForbiddenException\",\"Message\":\"Invalid request for \\\/Ebook (ForbiddenException)\",\"Code\":13,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeState.php(49): Icewind\\\\SMB\\\\Exception\\\\Exception::fromMap(Array, 13, '\\\/Ebook')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeState.php(61): Icewind\\\\SMB\\\\NativeState->handleError('\\\/Ebook')\\n#2 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeState.php(170): Icewind\\\\SMB\\\\NativeState->testResult(false, 'smb:\\\/\\\/192.168.3...')\\n#3 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeShare.php(107): Icewind\\\\SMB\\\\NativeState->stat('smb:\\\/\\\/192.168.3...')\\n#4 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeFileInfo.php(70): Icewind\\\\SMB\\\\NativeShare->getStat('\\\/\\\/Ebook')\\n#5 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/NativeFileInfo.php(87): Icewind\\\\SMB\\\\NativeFileInfo->stat()\\n#6 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/lib\\\/Lib\\\/Storage\\\/SMB.php(233): Icewind\\\\SMB\\\\NativeFileInfo->getMTime()\\n#7 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/lib\\\/Lib\\\/Storage\\\/SMB.php(219): OCA\\\\Files_External\\\\Lib\\\\Storage\\\\SMB->shareMTime()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(181): OCA\\\\Files_External\\\\Lib\\\\Storage\\\\SMB->stat('')\\n#9 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(670): OC\\\\Files\\\\Storage\\\\Common->filemtime('')\\n#10 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(581): OC\\\\Files\\\\Storage\\\\Common->getMetaData('')\\n#11 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Availability.php(463): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('')\\n#12 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(581): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Availability->getMetaData('')\\n#13 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(581): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('')\\n#14 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(581): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('')\\n#15 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(581): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('')\\n#16 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(112): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('')\\n#17 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(150): OC\\\\Files\\\\Cache\\\\Scanner->getData('')\\n#18 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(335): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('', 3, -1, NULL, true)\\n#19 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Watcher.php(104): OC\\\\Files\\\\Cache\\\\Scanner->scan('', false)\\n#20 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/View.php(1332): OC\\\\Files\\\\Cache\\\\Watcher->update('', Object(OC\\\\Files\\\\Cache\\\\CacheEntry))\\n#21 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/View.php(1371): OC\\\\Files\\\\View->getCacheEntry(Object(OCA\\\\RansomwareProtection\\\\StorageWrapper), '', 'FreeNAS')\\n#22 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php(157): OC\\\\Files\\\\View->getFileInfo('\\\/ezra\\\/files\\\/Fre...')\\n#23 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(967): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('FreeNAS')\\n#24 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1666): Sabre\\\\DAV\\\\Server->getPropertiesIteratorForPath('FreeNAS', Array, 1)\\n#25 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(355): Sabre\\\\DAV\\\\Server->generateMultiStatus(Object(Generator), false)\\n#26 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#27 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#28 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#29 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#30 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#31 \\\/var\\\/www\\\/nextcloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/nextcl...')\\n#32 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/smb\\\/src\\\/Exception\\\/Exception.php\",\"Line\":30}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:58.0) Gecko\/20100101 Firefox\/58.0","version":"13.0.0.14"}
{"reqId":"7aLAz0GIzRxba19cPOUs","level":"error","time":"2018-03-13T19:09:07+01:00","remoteAddr":"31.160.169.70","user":"ezra","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/8?testOnly=false","message":"","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:58.0) Gecko\/20100101 Firefox\/58.0","version":"13.0.0.14"}
{"reqId":"jLGRC4UrAvkICFA2NDzU","level":"error","time":"2018-03-13T19:09:07+01:00","remoteAddr":"31.160.169.70","user":"ezra","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2F","message":"","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:58.0) Gecko\/20100101 Firefox\/58.0","version":"13.0.0.14"}
{"reqId":"o5KJfMoBKTtBG5rJb2Xo","level":"error","time":"2018-03-13T19:09:08+01:00","remoteAddr":"31.160.169.70","user":"ezra","app":"no app in context","method":"GET","url":"\/apps\/logreader\/poll?lastReqId=mr9AAy9kQOhyfAD0jhJx","message":"","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:58.0) Gecko\/20100101 Firefox\/58.0","version":"13.0.0.14"}
{
@tflidd
Copy link
Contributor

tflidd commented Mar 31, 2018

Can you try without the spamhaus-module, it denies a few connections:

[client 31.160.169.70:11122] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/index.php
[Tue Mar 13 18:23:01.998099 2018] [spamhaus:crit] [pid 24295] [client 31.160.169.70:11235] mod_spamhaus: address 70.169.160.31.sbl-xbl.spamhaus.org is blacklisted. Deny connection to nextcloud.domain.nl/apps/files_external/userstorages/8

@WaaromZoMoeilijk
Copy link
Member Author

WaaromZoMoeilijk commented Mar 31, 2018 via email

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Jun 28, 2018
@MorrisJobke
Copy link
Member

Share goes offline as soon as it checks te content.

This sounds like some firewall or fail2ban hits in as we scan the system and cause more requests from the nextcloud server to the system.

As this also seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com

If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/

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

No branches or pull requests

4 participants