I can not locate a solution to this strange problem where all files types seem to sync successfully with the cloud and with other clients, except certain jpegs or png files. Some image files of this type sync without a problem but others fail. The files that fail are various sizes, image quality, etc. I have nothing blacklisted. I can upload most of these files with the web browser but they fail even if they are already on the server.
Also, this may/may not be related but un-edited cron.php fails with no details but "error"
/usr/bin/php -q /home/captainsinn/public_html/cloud/cron.php
result: {"data":{"message":"Backgroundjobs are using system cron!"},"status":"error"}
Error reported in latest MacOS client under Activity show list of ignored or erroneous files:
9/9/17 11:25:14 AM, Artwork/exterior/Captains Inn ext 006.jpg, Documents/Captain's Inn,Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/exterior/Captains Inn ext 006.jpg - server replied: Forbidden
9/9/17 11:16:26 AM, Artwork/exterior/Captains Inn ext 002.jpg, Documents/Captain's Inn,Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/exterior/Captains Inn ext 002.jpg - server replied: Forbidden
9/9/17 11:16:20 AM, Artwork/exterior/Boathouse ext 001.jpg, Documents/Captain's Inn,Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/exterior/Boathouse ext 001.jpg - server replied: Forbidden
9/9/17 11:13:31 AM, Artwork/exterior/Boathouse ext 002.jpg, Documents/Captain's Inn,Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/exterior/Boathouse ext 002.jpg - server replied: Forbidden
9/9/17 10:58:11 AM, Artwork/New Image/new_logo.png, Documents/Captain's Inn,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/New Image/new_logo.png - server replied: Forbidden
9/9/17 10:58:05 AM, Artwork/New Image/new_logo.jpg, Documents/Captain's Inn,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/New Image/new_logo.jpg - server replied: Forbidden
9/9/17 10:58:02 AM, Artwork/New Image/captainsinn_pen.png, Documents/Captain's Inn,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Captains Inn/Artwork/New Image/captainsinn_pen.png - server replied: Forbidden
9/9/17 10:21:50 AM, From old cell phones/Motorola Backup/imagejpeg950.jpg, Documents/My Docs,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/My Docs/From old cell phones/Motorola Backup/imagejpeg950.jpg - server replied: Forbidden
9/9/17 10:21:49 AM, From old cell phones/Motorola Backup/1028092140a.jpg, Documents/My Docs,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/My Docs/From old cell phones/Motorola Backup/1028092140a.jpg - server replied: Forbidden
9/9/17 10:21:49 AM, From old cell phones/Motorola Backup/fiona bday 1c.jpg, Documents/My Docs,Continue blacklisting: Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/My Docs/From old cell phones/Motorola Backup/fiona bday 1c.jpg - server replied: Forbidden
Forbidden
9/9/17 10:21:10 AM, Credit Card Procedures.docx, ownCloud/Documents/Tutto,Error transferring https://www.captainsinn.com/cloud/remote.php/webdav/Documents/Tutto/Credit Card Procedures.docx - server replied: Locked
9/9/17 10:21:09 AM, ..DSStore, ownCloud/Documents/Tutto,File is listed on the ignore list.
Steps to reproduce
- Create sub-directory with various types of image files: .ai, .pdf, .jpg, .png
- Sync Main folder with this sub-directory along with many other sub directories
- Have tried to remove folder, remove sync connection, add folder back to documents directory and create new sync connection
- Have tried to copy files up to cloud folder with web browser.
Expected behaviour
Expect all subfolders and files to sync
Actual behaviour
All sub-directories sync without problem
Some Files of type PNG and JPG fail to sync. Errors reported for those "either forbidden or blacklisted"
Copying files with browser works but while syncing file is reported as failed to sync with blacklist / forbidden errors
Files are varies sizes from 100s kb to 10s MB
Compared files and meta data of images but I can not see any difference or reason for failing
Server configuration
Operating system:
Apache 2.4.25
Web server:
Godaddy Linux based
Database:
SQL Lite
PHP version:
PHP version 5.6
ownCloud version: (see ownCloud admin page)
ownCloud 9.1.6 (production)
Updated from an older ownCloud or fresh install:
This is a fresh install
Where did you install ownCloud from:
Installed via Web
Signing status (ownCloud 9.0 and above):
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'oct1ifogr5wq',
'passwordsalt' => 'o0//wNRpxxxxx3sFgrpZFspkfKkApCc',
'secret' => 'Nk3ZQ54xxxxpZOqiAlU2J+XVzmzBJEIHl3CZpHJ21Lga1',
'trusted_domains' =>
array (
0 => 'www.capxxxxinn.com',
1 => 'capxxxxxxnn.com',
),
'datadirectory' => '/home/cxxxxxxn/public_html/cloud/data',
'overwrite.cli.url' => 'https://www.cxxxxxxxxnn.com/cloud',
'dbtype' => 'sqlite3',
'version' => '9.1.6.2',
'logtimezone' => 'UTC',
'installed' => true,
'check_for_working_htaccess' => true,
'updater.secret' => '$2y$10$53FxxxxxxxxxxnHUPQHewFay7cGWot22TEFmKN6exbdGH5gBwhi',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
);
{
"basic": {
"license key": "",
"date": "Sat, 09 Sep 2017 18:09:41 +0000",
"ownCloud version": "9.1.6.2",
"ownCloud version string": "9.1.6",
"ownCloud edition": "",
"server OS": "Linux",
"server OS version": "Linux p3plcpnl0656.prod.phx3.secureserver.net 2.6.32-673.26.1.lve1.4.30.el6.x86_64 #1 SMP Wed Jun 21 19:37:37 EDT 2017 x86_64",
"server SAPI": "cgi-fcgi",
"webserver version": "Apache\/2.4.25",
"hostname": "www.cxxxxxxnn.com",
"user count": 3,
"user directories": 3,
"logged-in user": "admin"
},
"integritychecker": {
"passing": true,
"enabled": false,
"result": []
},
"apps": [
{
"id": "templateeditor",
"name": "Mail Template Editor",
"description": "This application enables ownCloud to send custom emails to users. By default, ownCloud can send password reset emails, shared file and share link emails, activity stream notifications and more. By configuring an email server, admins can enable these emails to be sent. By providing an email address on their Personal page, users can receive these emails. By default, all of these emails will contain ownCloud email templates. The template editor allows admins to change email templates for emails sent by the system. While it is possible to manually change email templates within ownCloud, this app makes it far simpler by updating this via the ownCloud admin panel. More information is available in the Mail Template Editor documentation.",
"licence": "AGPL",
"author": "J\u00f6rn Dreyer",
"version": "0.1",
"dependencies": {
"owncloud": {
"@attributes": {
"min-version": "9.1",
"max-version": "9.1"
}
}
},
"shipped": "true",
"default_enable": "",
"info": [],
"remote": [],
"public": [],
"types": [],
"repair-steps": {
"install": [],
"pre-migration": [],
"post-migration": [],
"live-migration": [],
"uninstall": []
},
"background-jobs": [],
"two-factor-providers": [],
"groups": null,
"active": true,
"internal": true,
"level": 200,
"removable": false,
"update": null,
"preview": "\/cloud\/apps\/templateeditor\/img\/app.svg",
"previewAsIcon": true,
"appconfig": {
"installed_version": "0.1",
"types": "",
"enabled": "yes"
}
},
{
"id": "updatenotification",
"name": "Update notification",
"description": "Displays update notifications for ownCloud and provides the SSO for the updater.",
"licence": "AGPL",
"author": "Lukas Reschke",
"version": "0.2.1",
"namespace": "UpdateNotification",
"default_enable": "",
"dependencies": {
"owncloud": {
"@attributes": {
"min-version": "9.1",
"max-version": "9.1"
}
}
},
"background-jobs": {
"job": "OCA\\UpdateNotification\\Notification\\BackgroundJob"
},
"info": [],
"remote": [],
"public": [],
"types": [],
"repair-steps": {
"install": [],
"pre-migration": [],
"post-migration": [],
"live-migration": [],
"uninstall": []
},
"two-factor-providers": [],
"groups": null,
"active": true,
"internal": true,
"level": 200,
"removable": false,
"update": null,
"appconfig": {
"installed_version": "0.2.1",
"types": "",
"enabled": "yes"
}
},
{
"id": "comments",
"name": "Comments",
"description": "Files app plugin to add comments to files",
"licence": "AGPL",
"author": "Arthur Schiwon, Vincent Petry",
"default_enable": "",
"version": "0.3.0",
"dependencies": {
"owncloud": {
"@attributes": {
"min-version": "9.1",
"max-version": "9.1"
}
}
},
"types": [
"logging"
],
"info": [],
"remote": [],
"public": [],
"repair-steps": {
"install": [],
"pre-migration": [],
"post-migration": [],
"live-migration": [],
"uninstall": []
},
"background-jobs": [],
"two-factor-providers": [],
"groups": null,
"active": true,
"internal": true,
"level": 200,
"removable": false,
"update": null,
"appconfig": {
"installed_version": "0.3.0",
"types": "logging",
"enabled": "yes"
}
},
{
"id": "files_external",
I
*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
Are you using external storage, if yes which one: local/smb/sftp/...
NO
Are you using encryption: yes/no
NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
NO
LDAP configuration (delete this part if not used)
Client configuration
Browser:
Safari 10.1.2
Operating system:
MacOS 10.10.5
Logs
Web server error log
ownCloud log (data/owncloud.log)
{"reqId":"WbQlFDI@sLwAAGB4aPsAAABA","remoteAddr":"107.199.77.117","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Documents\\\/Captains\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(640): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->move('Documents\\\/Capta...', 'Documents\\\/Capta...')\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#4 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(61): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/remote.php(164): require_once('\\\/home\\\/captainsi...')\\n#7 {main}\",\"File\":\"\\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":252,\"User\":\"admin\"}","level":4,"time":"2017-09-09T17:29:56+00:00","method":"MOVE","url":"\/cloud\/remote.php\/webdav\/Documents\/Captains","user":"admin"}
{"reqId":"T5KoZul\/XKPAZ7KyBQJh","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at \/home\/captainsinn\/public_html\/cloud\/lib\/base.php#175","level":3,"time":"2017-09-09T17:30:01+00:00","method":"--","url":"--","user":"--"}
{"reqId":"WbQlJzI@sLwAAFZ4LbEAAACE","remoteAddr":"107.199.77.117","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"Documents\\\/Captains\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->delete()\\n#1 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(285): Sabre\\\\DAV\\\\Tree->delete('Documents\\\/Capta...')\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#5 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(61): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/remote.php(164): require_once('\\\/home\\\/captainsi...')\\n#8 {main}\",\"File\":\"\\\/home\\\/captainsinn\\\/public_html\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":283,\"User\":\"admin\"}","level":4,"time":"2017-09-09T17:30:15+00:00","method":"DELETE","url":"\/cloud\/remote.php\/webdav\/Documents\/Captains","user":"admin"}
{"reqId":"BionZhQPtZrvtndpwhjO","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at \/home\/captainsinn\/public_html\/cloud\/lib\/base.php#175","level":3,"time":"2017-09-09T17:45:01+00:00","method":"--","url":"--","user":"--"}
{"reqId":"WbQovzI@sLwAAHNw-bMAAADS","remoteAddr":"73.231.69.175","app":"PHP","message":"Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/home\/captainsinn\/public_html\/cloud\/remote.php#54","level":3,"time":"2017-09-09T17:45:39+00:00","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav\/Tutto\/Desktop","user":"--"}
{"reqId":"MA91d3jLXvtgNhvWiEry","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at \/home\/captainsinn\/public_html\/cloud\/lib\/base.php#175","level":3,"time":"2017-09-09T18:00:01+00:00","method":"--","url":"--","user":"--"}
{"reqId":"mgN\/a\/ELxELxIw4dlIRM","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at \/home\/captainsinn\/public_html\/cloud\/lib\/base.php#175","level":3,"time":"2017-09-09T18:15:01+00:00","method":"--","url":"--","user":"--"}
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...