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

syncing error with log output #3334

Closed
jospoortvliet opened this issue Jan 31, 2017 · 1 comment
Closed

syncing error with log output #3334

jospoortvliet opened this issue Jan 31, 2017 · 1 comment

Comments

@jospoortvliet
Copy link
Member

jospoortvliet commented Jan 31, 2017

Steps to reproduce

  1. Let the sync client run

Expected behaviour

Files get synced

Actual behaviour

They don't

I also can't find the affected files, the search gets stuck when I search for a part of the filename ("20140525") - it shows there are three results, says 'pending', doesn't show them...

Server configuration

Operating system:
Linux

Web server:
Apache

Database:
MariaDB

PHP version:
7.0.x

Nextcloud version: (see Nextcloud admin page)
11.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
since ~6

Where did you install Nextcloud from:
tarball

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.4.1
  - admin_audit: 1.1.0
  - audioplayer: 1.4.0
  - calendar: 1.5.0
  - comments: 1.1.0
  - contacts: 1.5.2
  - dav: 1.1.1
  - direct_menu: 0.10.0
  - external: 1.2
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_external: 1.1.2
  - files_pdfviewer: 1.0.1
  - files_retention: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0                                                                                                                                                                                                 
  - nextcloud_announcements: 1.0                                                                                                                                                                                                   
  - notifications: 1.0.1                                                                                                                                                                                                           
  - password_policy: 1.1.0                                                                                                                                                                                                         
  - provisioning_api: 1.1.0                                                                                                                                                                                                        
  - richdocuments: 1.1.25                                                                                                                                                                                                          
  - serverinfo: 1.1.1                                                                                                                                                                                                              
  - sharebymail: 1.0.1                                                                                                                                                                                                             
  - spreed: 1.1.2                                                                                                                                                                                                                  
  - survey_client: 0.1.5                                                                                                                                                                                                           
  - systemtags: 1.1.3                                                                                                                                                                                                              
  - templateeditor: 0.2                                                                                                                                                                                                            
  - theming: 1.1.1                                                                                                                                                                                                                 
  - twofactor_backupcodes: 1.0.0                                                                                                                                                                                                   
  - updatenotification: 1.1.1                                                                                                                                                                                                      
  - workflowengine: 1.1.1                                                                                                                                                                                                          
Disabled:                                                                                                                                                                                                                          
  - apporder                                                                                                                                                                                                                       
  - encryption                                                                                                                                                                                                                     
  - user_external                                                                                                                                                                                                                  
  - user_ldap                                                                                                                                                                                                                      
  - user_saml 

The content of config/config.php:

Config report
{                                                                                                                                                                                                                                  
    "system": {                                                                                                                                                                                                                    
        "htaccess.RewriteBase": "\/",                                                                                                                                                                                              
        "debug": true,
        "instanceid": "occdbe915016",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "owncloud.jospoortvliet.com",
            "192.168.1.1",
            "127.0.0.1",
            "192.168.1.107",
            "localhost",
            "jos-desktop",
            "joshome.mooo.com",
            "[2a02:8109:a4bf:fe85:fce4:39bf:f5cd:66ca]",
            "[2a02:8109:a4bf:fe85:fce4:39bf:f5cd:66ca]",
            "cloud.josandcamila.com"
        ],
        "datadirectory": "\/media\/bigbtrfs\/nextcloud\/",
        "dbtype": "mysql",
        "version": "11.0.1.2",
        "dbname": "ownCloudDB",
        "dbhost": "127.0.0.1",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "loglevel": 3,
        "forcessl": true,
        "theme": "",
        "maintenance": false,
        "preview_libreoffice_path": "\/usr\/lib64\/libreoffice\/program\/soffice",
        "mail_smtpmode": "smtp",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "smtp.gmail.com",
        "mail_from_address": "jospoortvliet",
        "mail_domain": "gmail.com",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpport": "465",
        "overwritewebroot": "",
        "log_rotate_size": "100000000",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.josandcamila.com",
        "asset-pipeline.enabled": false,
        "forceSSLforSubdomains": true,
        "enable_previews": true,
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_scale_factor": 10,
        "preview_max_filesize_image": 50,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Font",
            "OC\\Preview\\Movie",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Image",
            "OC\\Preview\\Photoshop"
        ],
        "appstore.experimental.enabled": true,
        "trashbin_retention_obligation": "auto",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "\/var\/run\/redis\/redis.sock",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "dbindex": 0
        },
        "updatechecker": true,
        "updater.release.channel": "stable"
    }
}

Are you using external storage, if yes which one: a few local

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser:
Various, mostly chromium/firefox

Operating system:
Linux

Logs

Web server error log

Web server error log ``` [Mon Jan 30 19:53:25.601678 2017] [:error] [pid 13398] [client 192.168.1.1:56730] PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/jospoortvliet/...')\n#1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/InstantUpload/...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php on line 806 [Mon Jan 30 20:23:15.863079 2017] [:error] [pid 13362] [client 2a02:8109:a4bf:fe85:3ea9:f4ff:fe33:20a4:49110] PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/jospoortvliet/...')\n#1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/InstantUpload/...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php on line 806 [Mon Jan 30 20:59:29.660111 2017] [:error] [pid 13410] [client 192.168.1.1:33740] PHP Fatal error: Uncaught Error: Access to undeclared static property: OC\\Files\\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806\nStack trace:\n#0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\\Files\\Filesystem::normalizePath('/jospoortvliet/...')\n#1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\\Files\\View->unlockFile('/InstantUpload/...', 1)\n#2 [internal function]: OC\\Files\\View->OC\\Files\\{closure}()\n#3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))\n#4 [internal function]: Icewind\\Streams\\CallbackWrapper->stream_close()\n#5 {main}\n thrown in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php on line 806 [Tue Jan 31 10:26:37.055189 2017] [:error] [pid 13448] [client 2a02:8109:a4bf:fe85:3ea9:f4ff:fe33:20a4:40510] script '/srv/www/htdocs/remote.php' not found or unable to stat ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Fatal webdav Sabre\DAV\Exception\ServiceUnavailable: HTTP/1.1 503 Error: Call to a member function instanceOfStorage() on null 2017-01-31T10:25:54+0100 Error index Error: Call to a member function getCache() on null 2017-01-31T10:25:30+0100 Fatal webdav Sabre\DAV\Exception\RequestedRangeNotSatisfiable: HTTP/1.1 416 The start offset (1990810) exceeded the size of the entity (-2) 2017-01-31T10:24:14+0100 Fatal webdav Sabre\DAV\Exception\RequestedRangeNotSatisfiable: HTTP/1.1 416 The start offset (31367168) exceeded the size of the entity (-2) 2017-01-31T10:21:46+0100 Fatal webdav Sabre\DAV\Exception\RequestedRangeNotSatisfiable: HTTP/1.1 416 The start offset (1120570) exceeded the size of the entity (-2) 2017-01-31T10:21:38+0100 Error fed-sync Error while syncing https://cloud.famdouma.nl : Unauthorized 2017-01-31T02:25:11+0100 Fatal cron Call to a member function getCache() on null 2017-01-31T02:00:13+0100 Fatal webdav Sabre\DAV\Exception\ServiceUnavailable: HTTP/1.1 503 Error: Call to a member function instanceOfStorage() on null 2017-01-30T23:01:30+0100 Error PHP Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806 Stack trace: #0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\Files\Filesystem::normalizePath('/jospoortvliet/...') #1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\Files\View->unlockFile('/InstantUpload/...', 1) #2 [internal function]: OC\Files\View->OC\Files\{closure}() #3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure)) #4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close() #5 {main} thrown at /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php#806 2017-01-30T22:22:38+0100 Error PHP Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806 Stack trace: #0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\Files\Filesystem::normalizePath('/jospoortvliet/...') #1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\Files\View->unlockFile('/InstantUpload/...', 1) #2 [internal function]: OC\Files\View->OC\Files\{closure}() #3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure)) #4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close() #5 {main} thrown at /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php#806 2017-01-30T20:52:24+0100 Error PHP Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php:806 Stack trace: #0 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(2018): OC\Files\Filesystem::normalizePath('/jospoortvliet/...') #1 /srv/www/htdocs/nextcloud/lib/private/Files/View.php(1156): OC\Files\View->unlockFile('/InstantUpload/...', 1) #2 [internal function]: OC\Files\View->OC\Files\{closure}() #3 /srv/www/htdocs/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure)) #4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close() #5 {main} thrown at /srv/www/htdocs/nextcloud/lib/private/Files/Filesystem.php#806 2017-01-30T20:27:30+0100 ```

I'm guessing, as @icewind1991 is explicitly mentioned in the error, that this is his game... ;-)

Not clever, my friend, having your name show up in the Nextcloud system like that...

@MorrisJobke
Copy link
Member

Seems to be fixed in master, 12.0.1 and 11.0.4 - see #5091

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

3 participants