Unexpected error during sync

10

#1


Hello,

I don't know what cause the error to rise. We were synchronizing some folder and an error show up on saying filename : connection closed . I tried to access Ownlcoud X with a browser and since I get Internal Server Error. I have absolutely no clue of how to solve it

Steps to reproduce

  1. Open a browser (Firefox 55.0.2 64bit)
  2. Login

Expected behaviour

Should see the file and folder on the server

Actual behaviour

Internal Server Error

The server encountered an internal error and was unable to complete your request.

Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.

More details can be found in the server log.

Technical details

Remote Address: XXX.XXX.XXX.XXX
Request ID: fyUYv1sTgfBhyIIoLKjE

Server configuration

Operating system: Ubuntu 16.04.3 LTS

Web server: Nginx 1.10.3

Database: MariaDB 10.0.31

PHP version: 7.0.22

ownCloud version: (see ownCloud admin page) 10.0.3

Updated from an older ownCloud or fresh install: Updated from 9

Where did you install ownCloud from: Package provided by Owncloud for Ubuntu

http://download.owncloud.org/download/repositories/stable/Ubuntu_16.04

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "instanceid": "ocxvslfvgoaq",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mediacenter.local",
            "192.168.0.254",
            "192.168.0.2",
            ***REMOVED SENSITIVE VALUE***,
            "owncloud.mediacenter.local"
        ],
        "datadirectory": "\/share\/Owncloud",
        "overwrite.cli.url": "https:\/\/mediacenter.local",
        "dbtype": "mysql",
        "version": "10.0.3.3",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Paris",
        "loglevel": 1,
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "theme": "",
        "maintenance": false
    }
}

List of activated apps:

Enabled:
  - activity: 2.3.6
  - calendar: 1.5.4
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.3.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_pdfviewer: 0.8.2
  - files_sharing: 0.10.1
  - files_texteditor: 2.2.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 16.0.2
  - market: 0.2.2
  - notifications: 0.3.1
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.1
  - updatenotification: 0.2.1
Disabled:
  - contacts
  - encryption
  - external
  - files_antivirus
  - theme-example
  - user_external

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

Are you using encryption: No

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

Client configuration

Browser: Firefox 55.0.2 64bits

Operating system: Linux Mint 18.2

Logs

Web server error log

2017/10/05 18:32:00 [crit] 1319#1319: *3 connect() to unix:/var/run/php/php7.0-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.32, server: owncloud.mediacenter.local, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mediacenter.local"
2017/10/05 18:32:03 [crit] 1319#1319: *5 connect() to unix:/var/run/php/php7.0-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.2, server: owncloud.mediacenter.local, request: "GET /apps/files/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mediacenter.local"
2017/10/05 18:32:04 [crit] 1319#1319: *5 connect() to unix:/var/run/php/php7.0-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.2, server: owncloud.mediacenter.local, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mediacenter.local"

Not sure this was relevant as when I make new attempt to connect no line add

ownCloud log (data/owncloud.log)

{"reqId":"ttfw9v7gOkRgrlzCz9fi","level":4,"time":"2017-10-05T18:18:23+02:00","remoteAddr":"192.168.0.32","user":"Jessica","app":"webdav","method":"DELETE","url":"\/remote.php\/dav\/files\/Jessica\/Images\/2017_07_14_Amsterdam\/2017-07-15T14:10:24_Amsterdam.jpg","message":"Exception: {\"Message\":\"\",\"Exception\":\"OCA\\\\Files_Trashbin\\\\Exceptions\\\\CopyRecursiveException\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::copy_recursive('Thomas\\\/files_tr...', 'Jessica\\\/files_t...', Object(OC\\\\Files\\\\View))\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(311): OCA\\\\Files_Trashbin\\\\Trashbin::copyFilesToUser('\\\/Images\\\/2017_07...', 'Thomas', 'Images\\\/2017_07_...', 'Jessica', 1507220301)\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('Images\\\/2017_07_...')\\n#3 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('2017_07_14_Amst...', 'unlink')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1123): OCA\\\\Files_Trashbin\\\\Storage->unlink('2017_07_14_Amst...')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(693): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/Images\\\/2017_07...', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(366): OC\\\\Files\\\\View->unlink('\\\/Images\\\/2017_07...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(287): Sabre\\\\DAV\\\\Tree->delete('files\\\/Jessica\\\/I...')\\n#9 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#14 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#15 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#16 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php\",\"Line\":855,\"User\":\"Jessica\"}"}
{"reqId":"5hEYfOn5dPWuRuXeRSQC","level":4,"time":"2017-10-05T18:18:23+02:00","remoteAddr":"192.168.0.32","user":"Jessica","app":"webdav","method":"DELETE","url":"\/remote.php\/dav\/files\/Jessica\/Images\/A_trier\/DSC_3798.NEF","message":"Exception: {\"Message\":\"\",\"Exception\":\"OCA\\\\Files_Trashbin\\\\Exceptions\\\\CopyRecursiveException\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::copy_recursive('Thomas\\\/files_tr...', 'Jessica\\\/files_t...', Object(OC\\\\Files\\\\View))\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(311): OCA\\\\Files_Trashbin\\\\Trashbin::copyFilesToUser('\\\/Images\\\/A_trier...', 'Thomas', 'Images\\\/A_trier\\\/...', 'Jessica', 1507220301)\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('Images\\\/A_trier\\\/...')\\n#3 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('A_trier\\\/DSC_379...', 'unlink')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1123): OCA\\\\Files_Trashbin\\\\Storage->unlink('A_trier\\\/DSC_379...')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(693): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/Images\\\/A_trier...', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(366): OC\\\\Files\\\\View->unlink('\\\/Images\\\/A_trier...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(287): Sabre\\\\DAV\\\\Tree->delete('files\\\/Jessica\\\/I...')\\n#9 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#14 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#15 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#16 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php\",\"Line\":855,\"User\":\"Jessica\"}"}
{"reqId":"CAQiwuEBnJCsJnzgckDi","level":4,"time":"2017-10-05T18:18:23+02:00","remoteAddr":"192.168.0.32","user":"Jessica","app":"webdav","method":"DELETE","url":"\/remote.php\/dav\/files\/Jessica\/Images\/A_trier\/DSC_3801.NEF","message":"Exception: {\"Message\":\"\",\"Exception\":\"OCA\\\\Files_Trashbin\\\\Exceptions\\\\CopyRecursiveException\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::copy_recursive('Thomas\\\/files_tr...', 'Jessica\\\/files_t...', Object(OC\\\\Files\\\\View))\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(311): OCA\\\\Files_Trashbin\\\\Trashbin::copyFilesToUser('\\\/Images\\\/A_trier...', 'Thomas', 'Images\\\/A_trier\\\/...', 'Jessica', 1507220302)\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('Images\\\/A_trier\\\/...')\\n#3 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('A_trier\\\/DSC_380...', 'unlink')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1123): OCA\\\\Files_Trashbin\\\\Storage->unlink('A_trier\\\/DSC_380...')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(693): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/Images\\\/A_trier...', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(366): OC\\\\Files\\\\View->unlink('\\\/Images\\\/A_trier...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(287): Sabre\\\\DAV\\\\Tree->delete('files\\\/Jessica\\\/I...')\\n#9 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#14 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#15 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#16 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php\",\"Line\":855,\"User\":\"Jessica\"}"}
{"reqId":"MSZ8Hbi5AABTVqJkIGRz","level":4,"time":"2017-10-05T18:18:23+02:00","remoteAddr":"192.168.0.32","user":"Jessica","app":"webdav","method":"DELETE","url":"\/remote.php\/dav\/files\/Jessica\/Images\/A_trier\/DSC_3800.NEF","message":"Exception: {\"Message\":\"\",\"Exception\":\"OCA\\\\Files_Trashbin\\\\Exceptions\\\\CopyRecursiveException\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::copy_recursive('Thomas\\\/files_tr...', 'Jessica\\\/files_t...', Object(OC\\\\Files\\\\View))\\n#1 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(311): OCA\\\\Files_Trashbin\\\\Trashbin::copyFilesToUser('\\\/Images\\\/A_trier...', 'Thomas', 'Images\\\/A_trier\\\/...', 'Jessica', 1507220302)\\n#2 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('Images\\\/A_trier\\\/...')\\n#3 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('A_trier\\\/DSC_380...', 'unlink')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1123): OCA\\\\Files_Trashbin\\\\Storage->unlink('A_trier\\\/DSC_380...')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(693): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/Images\\\/A_trier...', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Conne

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

I don't know how to do this, sorry.

Hope you can help me with this :slight_smile:


#2

I have 'accidentaly' found my issue. The disk where Owncloud data are stored was full. I cleaned it up and everything work fine now.