Error in log: OC_Image->fixOrientation() but it's really an image
Steps to reproduce
I don't know how ..
Expected behaviour
I suppose no "debug" here, since it's only an image to be displayed.
Actual behaviour
Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-27T12:09:09+00:00 Debug core Generating preview for "/clientsync/Projets/xxxx/xxxx/selection photos/retravaillés/fond4.jpg" with "OC\Preview\Image" 2014-12-27T12:09:09+00:00 Debug OC\Files\Cache\Scanner !!! Path 'thumbnails/213696' is not readable !!! 2014-12-27T12:09:09+00:00
But here it's really an image, and the displayed is fine inside the web interface.
Server configuration
Version DEBIAN : 6.0.10 Operating system: Linux Web server: Apache Database: MySQL Ver 14.14 Distrib 5.1.73 PHP Version 5.4.36-1~dotdeb.0 ownCloud version: 7.0.3 Updated from an older ownCloud or fresh install: Updated from OC 5 -> OC 6 -> OC7 regularly
List of activated apps: actually, the OC 7 server is set by default, nothing more.
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => '5165c50f134c1',
'passwordsalt' => 'xxxxxxxxxxxxxxxxxx',
'datadirectory' => '/var/www/owncloud/data',
'dbtype' => 'mysql',
'version' => '7.0.3.4',
'installed' => true,
'forcessl' => true,
'maintenance' => false,
'trashbin_retention_obligation' => 60,
'trashbin_auto_expire' => true,
'loglevel' => '0',
'log_rotate_size' => 54857600,
'theme' => 'theme-domaine',
'trusted_domains' =>
array (
0 => 'mon.domaine.fr',
),
'share_folder' => '/Shared',
'mail_from_address' => 'notification',
'mail_smtpmode' => 'php',
'mail_domain' => 'domaine.fr',
'dbname' => 'dbname',
'dbhost' => '127.0.0.1',
'dbuser' => 'xxxxxx',
'dbpassword' => 'xxxxxxxx',
);
Are you using external storage, if yes which one: local/smb/sftp/... No Are you using encryption: No
Client configuration
Browser: Firefox last version Operating system: Win 7 Pro 64 bits
Logs
Web server error log
Which file(s) do you need ?
ownCloud log (data/owncloud.log)
{"reqId":"547467cfbaab1","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-11-25T11:28:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"5474680c1d111","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-11-25T11:29:16+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"5474680e57d76","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS' !!! \ncache: Array\n(\n [fileid] => 208482\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\n [parent] => 6\n [name] => HDD TESTS\n [mimetype] => httpd\/unix-directory\n [mimepart] => httpd\n [size] => 0\n [mtime] => 1416914957\n [storage_mtime] => 1416914957\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 5474680d6bb38\n [permissions] => 31\n)\n \ndata: Array\n(\n [mimetype] => httpd\/unix-directory\n [mtime] => 1416914958\n [size] => -1\n [etag] => 5474680e57bad\n [storage_mtime] => 1416914958\n [permissions] => 31\n [parent] => 6\n)\n","level":0,"time":"2014-11-25T11:29:18+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/2%20-%20CrystalDiskInfo.lnk"}
{"reqId":"5474680e5b03b","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS' !!! \ncache: Array\n(\n [fileid] => 208482\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\n [parent] => 6\n [name] => HDD TESTS\n [mimetype] => httpd\/unix-directory\n [mimepart] => httpd\n [size] => 0\n [mtime] => 1416914957\n [storage_mtime] => 1416914957\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 5474680d6bb38\n [permissions] => 31\n)\n \ndata: Array\n(\n [mimetype] => httpd\/unix-directory\n [mtime] => 1416914958\n [size] => -1\n [etag] => 5474680e5ae15\n [storage_mtime] => 1416914958\n [permissions] => 31\n [parent] => 6\n)\n","level":0,"time":"2014-11-25T11:29:18+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/3%20-%20CrystalDiskMark.lnk"}
{"reqId":"54746813214d6","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS\/1 - Hard Disk Wipe Tool.lnk' !!! \ncache: Array\n(\n [fileid] => 208483\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\/1 - Hard Disk Wipe Tool.lnk\n [parent] => 208482\n [name] => 1 - Hard Disk Wipe Tool.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1012\n [mtime] => 1416914959\n [storage_mtime] => 1416914959\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 5474681052f67\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724144\n [size] => 1012\n [etag] => 547468132123a\n [storage_mtime] => 1415724144\n [permissions] => 27\n [parent] => 208482\n)\n","level":0,"time":"2014-11-25T11:29:23+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/1%20-%20Hard%20Disk%20Wipe%20Tool.lnk"}
{"reqId":"5474680e57d76","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS\/2 - CrystalDiskInfo.lnk' !!! \ncache: Array\n(\n [fileid] => 208484\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\/2 - CrystalDiskInfo.lnk\n [parent] => 208482\n [name] => 2 - CrystalDiskInfo.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1190\n [mtime] => 1416914959\n [storage_mtime] => 1416914959\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 5474681114439\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724165\n [size] => 1190\n [etag] => 54746813ca4db\n [storage_mtime] => 1415724165\n [permissions] => 27\n [parent] => 208482\n)\n","level":0,"time":"2014-11-25T11:29:23+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/2%20-%20CrystalDiskInfo.lnk"}
{"reqId":"5474680e5b03b","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS\/3 - CrystalDiskMark.lnk' !!! \ncache: Array\n(\n [fileid] => 208485\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\/3 - CrystalDiskMark.lnk\n [parent] => 208482\n [name] => 3 - CrystalDiskMark.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1794\n [mtime] => 1416914960\n [storage_mtime] => 1416914960\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54746811599b5\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724192\n [size] => 1794\n [etag] => 547468147b41c\n [storage_mtime] => 1415724192\n [permissions] => 27\n [parent] => 208482\n)\n","level":0,"time":"2014-11-25T11:29:24+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/3%20-%20CrystalDiskMark.lnk"}
{"reqId":"54746817255c5","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/HDD TESTS\/Auslogics DiskDefrag.lnk' !!! \ncache: Array\n(\n [fileid] => 208486\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/HDD TESTS\/Auslogics DiskDefrag.lnk\n [parent] => 208482\n [name] => Auslogics DiskDefrag.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1173\n [mtime] => 1416914965\n [storage_mtime] => 1416914965\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54746816047a8\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415798263\n [size] => 1173\n [etag] => 54746817253bf\n [storage_mtime] => 1415798263\n [permissions] => 27\n [parent] => 208482\n)\n","level":0,"time":"2014-11-25T11:29:27+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS\/Auslogics%20DiskDefrag.lnk"}
{"reqId":"5474685218f42","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-11-25T11:30:26+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"547468c1711d7","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-11-25T11:32:17+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"547468c3a88a9","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_trashbin\/files\/HDD TESTS.d1416915139' !!! \ncache: Array\n(\n [fileid] => 208487\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files_trashbin\/files\/HDD TESTS.d1416915139\n [parent] => 172527\n [name] => HDD TESTS.d1416915139\n [mimetype] => httpd\/unix-directory\n [mimepart] => httpd\n [size] => 0\n [mtime] => 1416915139\n [storage_mtime] => 1416915139\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 547468c304abd\n [permissions] => 31\n)\n \ndata: Array\n(\n [mimetype] => httpd\/unix-directory\n [mtime] => 1416914966\n [size] => -1\n [etag] => 547468c3a8602\n [storage_mtime] => 1416914966\n [permissions] => 31\n [parent] => 172527\n)\n","level":0,"time":"2014-11-25T11:32:19+00:00","method":"DELETE","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS"}
{"reqId":"547468c3a88a9","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_trashbin\/files\/HDD TESTS.d1416915139\/1 - Hard Disk Wipe Tool.lnk' !!! \ncache: Array\n(\n [fileid] => 208488\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files_trashbin\/files\/HDD TESTS.d1416915139\/1 - Hard Disk Wipe Tool.lnk\n [parent] => 208487\n [name] => 1 - Hard Disk Wipe Tool.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1012\n [mtime] => 1416915140\n [storage_mtime] => 1416915140\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 547468c45e1ab\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724144\n [size] => 1012\n [etag] => 547468c52f82e\n [storage_mtime] => 1415724144\n [permissions] => 27\n [parent] => 208487\n)\n","level":0,"time":"2014-11-25T11:32:21+00:00","method":"DELETE","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS"}
{"reqId":"547468c3a88a9","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_trashbin\/files\/HDD TESTS.d1416915139\/2 - CrystalDiskInfo.lnk' !!! \ncache: Array\n(\n [fileid] => 208489\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files_trashbin\/files\/HDD TESTS.d1416915139\/2 - CrystalDiskInfo.lnk\n [parent] => 208487\n [name] => 2 - CrystalDiskInfo.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1190\n [mtime] => 1416915141\n [storage_mtime] => 1416915141\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 547468c5b8724\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724165\n [size] => 1190\n [etag] => 547468c6940da\n [storage_mtime] => 1415724165\n [permissions] => 27\n [parent] => 208487\n)\n","level":0,"time":"2014-11-25T11:32:22+00:00","method":"DELETE","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS"}
{"reqId":"547468c3a88a9","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_trashbin\/files\/HDD TESTS.d1416915139\/3 - CrystalDiskMark.lnk' !!! \ncache: Array\n(\n [fileid] => 208490\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files_trashbin\/files\/HDD TESTS.d1416915139\/3 - CrystalDiskMark.lnk\n [parent] => 208487\n [name] => 3 - CrystalDiskMark.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1794\n [mtime] => 1416915143\n [storage_mtime] => 1416915143\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 547468c738e77\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415724192\n [size] => 1794\n [etag] => 547468c81a303\n [storage_mtime] => 1415724192\n [permissions] => 27\n [parent] => 208487\n)\n","level":0,"time":"2014-11-25T11:32:24+00:00","method":"DELETE","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS"}
{"reqId":"547468c3a88a9","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_trashbin\/files\/HDD TESTS.d1416915139\/Auslogics DiskDefrag.lnk' !!! \ncache: Array\n(\n [fileid] => 208491\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files_trashbin\/files\/HDD TESTS.d1416915139\/Auslogics DiskDefrag.lnk\n [parent] => 208487\n [name] => Auslogics DiskDefrag.lnk\n [mimetype] => application\/octet-stream\n [mimepart] => application\n [size] => 1173\n [mtime] => 1416915144\n [storage_mtime] => 1416915144\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 547468c8a14e1\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/octet-stream\n [mtime] => 1415798263\n [size] => 1173\n [etag] => 547468c96ca44\n [storage_mtime] => 1415798263\n [permissions] => 27\n [parent] => 208487\n)\n","level":0,"time":"2014-11-25T11:32:25+00:00","method":"DELETE","url":"\/remote.php\/webdav\/clientsync\/HDD%20TESTS"}
{"reqId":"547468db5ff10","app":"search_lucene","message":"file vanished, ignoring","level":0,"time":"2014-11-25T11:32:43+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"547468e9a8066","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path 'thumbnails\/198354' is not readable !!!","level":0,"time":"2014-11-25T11:32:57+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2F128.png.d1416855241&c=1416855241000"}
{"reqId":"547468e9a8066","app":"core","message":"Generating preview for \"\/\/128.png.d1416855241\" with \"OC\\Preview\\Image\"","level":0,"time":"2014-11-25T11:32:57+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2F128.png.d1416855241&c=1416855241000"}
{"reqId":"547468e9a8066","app":"core","message":"OC_Image->fixOrientation() Orientation: -1","level":0,"time":"2014-11-25T11:32:57+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2F128.png.d1416855241&c=1416855241000"}
{"reqId":"547468eb1d28d","app":"core","message":"OC_Image::loadFromFileHandle(): Trying","level":0,"time":"2014-11-25T11:32:59+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2Fcircuit-birmanie.jpg.d1416234109&c=1416234109000"}
{"reqId":"547468eb1d28d","app":"core","message":"OC_Image->fixOrientation() No readable file path set.","level":0,"time":"2014-11-25T11:32:59+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2Fcircuit-birmanie.jpg.d1416234109&c=1416234109000"}
{"reqId":"547468eb1d28d","app":"core","message":"OC_Image->fixOrientation() Orientation: -1","level":0,"time":"2014-11-25T11:32:59+00:00","method":"GET","url":"\/index.php\/apps\/files_trashbin\/ajax\/preview.php?file=%2F%2Fcircuit-birmanie.jpg.d1416234109&c=1416234109000"}
{"reqId":"547468ff0065a","app":"core","message":"OC_Image::loadFromFileHandle(): Trying","level":0,"time":"2014-11-25T11:33:18+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2Fcapriviera.txt&c=54737ed751281&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff0065a","app":"core","message":"OC_Image->fixOrientation() No readable file path set.","level":0,"time":"2014-11-25T11:33:18+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2Fcapriviera.txt&c=54737ed751281&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff0065a","app":"core","message":"OC_Image->fixOrientation() Orientation: -1","level":0,"time":"2014-11-25T11:33:18+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2Fcapriviera.txt&c=54737ed751281&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff05de8","app":"core","message":"OC_Image::loadFromFileHandle(): Trying","level":0,"time":"2014-11-25T11:33:19+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2FBON+DE+COMMANDE+PREMIER+CATERING+001.jpg&c=547234290d71f&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff05de8","app":"core","message":"OC_Image->fixOrientation() No readable file path set.","level":0,"time":"2014-11-25T11:33:19+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2FBON+DE+COMMANDE+PREMIER+CATERING+001.jpg&c=547234290d71f&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff05de8","app":"core","message":"OC_Image->fixOrientation() Orientation: -1","level":0,"time":"2014-11-25T11:33:19+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2FBON+DE+COMMANDE+PREMIER+CATERING+001.jpg&c=547234290d71f&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff0ad86","app":"core","message":"OC_Image::loadFromFileHandle(): Trying","level":0,"time":"2014-11-25T11:33:19+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2FCapture+d%E2%80%99%C3%A9cran+2014-05-01+%C3%A0+20.00.33.png&c=5472343411c0d&x=36&y=36&forceIcon=0"}
{"reqId":"547468ff0ad86","app":"core","message":"OC_Image->fixOrientation() No readable file path set.","level":0,"time":"2014-11-25T11:33:19+00:00","method":"GET","url":"\/index.php\/core\/preview.png?file=%2Fclientsync%2FA-ranger%2FCapture+d%E2%80%99%C3%A9cran+2014-05-01+%C3%A0+20.00.33.png&c=5472343411c0d&x=36&y=36&forceIcon=0"}
Hi,
according to: https://github.com/owncloud/core/issues/8648 those are just debug messages.
@johan27hack Do you have any issues with previews / image rotation? If not raise the loglevel from 0 to 1 as described in the issue above.
Hello RealRancor, I just updated the following line in my config.php: 'loglevel' => '1',
So now I have to wait a little then I will upload the owncloud log again.
I don't know if it's really related, but since I have this message, I have some problems with "unreadable" files using a desktop sync program, but 100% fine within the web interface. This issue is related here : https://github.com/owncloud/core/issues/13044
So here is my last entries in the owncloud.log :
ownCloud log (data/owncloud.log)
{"reqId":"54a14f75f3c07","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T12:56:21+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"54a14f7addb64","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php' !!! \ncache: Array\n(\n [fileid] => 214274\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php\n [parent] => 29140\n [name] => config.php\n [mimetype] => application\/x-php\n [mimepart] => application\n [size] => 764\n [mtime] => 1419843270\n [storage_mtime] => 1419843270\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a116ec6c949\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/x-php\n [mtime] => 1419857784\n [size] => 764\n [etag] => 54a14f7add8b5\n [storage_mtime] => 1419857784\n [permissions] => 27\n [parent] => 29140\n)\n","level":0,"time":"2014-12-29T12:56:26+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php"}
{"reqId":"54a14f7addb64","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php' !!! \ncache: Array\n(\n [fileid] => 214274\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php\n [parent] => 29140\n [name] => config.php\n [mimetype] => application\/x-php\n [mimepart] => application\n [size] => 764\n [mtime] => 1419857784\n [storage_mtime] => 1419857784\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a14f7add8b5\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/x-php\n [mtime] => 1419858167\n [size] => 764\n [etag] => 54a14f7c137ec\n [storage_mtime] => 1419858167\n [permissions] => 27\n [parent] => 29140\n)\n","level":0,"time":"2014-12-29T12:56:28+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/Projets\/jolinuage\/INTERNE\/technique\/config.php"}
{"reqId":"54a14fc4d6392","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T12:57:40+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"app":"PHP","message":"touch(): Utime failed: Permission denied at \/var\/www\/owncloud\/lib\/private\/config.php#183","level":3,"time":"2014-12-29T12:59:05+00:00"}
{"app":"PHP","message":"fopen(\/var\/www\/owncloud\/config\/config.php): failed to open stream: Permission denied at \/var\/www\/owncloud\/lib\/private\/config.php#184","level":3,"time":"2014-12-29T12:59:05+00:00"}
{"app":"PHP","message":"chmod(): Operation not permitted at \/var\/www\/owncloud\/lib\/private\/config.php#187","level":3,"time":"2014-12-29T12:59:05+00:00"}
{"app":"remote","message":"Can't write into config directory!","level":4,"time":"2014-12-29T12:59:05+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/owncloud\/lib\/private\/template.php#287","level":3,"time":"2014-12-29T12:59:05+00:00"}
{"app":"PHP","message":"touch(): Utime failed: Permission denied at \/var\/www\/owncloud\/lib\/private\/config.php#141","level":3,"time":"2014-12-29T12:59:05+00:00"}
{"app":"PHP","message":"iconv(): Detected an illegal character in input string at \/var\/www\/owncloud\/apps\/search_lucene\/3rdparty\/Zend\/Search\/Lucene\/Analysis\/Analyzer\/Common\/TextNum.php#58","level":3,"time":"2014-12-29T13:06:02+00:00"}
{"app":"PHP","message":"iconv(): Detected an illegal character in input string at \/var\/www\/owncloud\/apps\/search_lucene\/3rdparty\/Zend\/Search\/Lucene\/Analysis\/Analyzer\/Common\/TextNum.php#58","level":3,"time":"2014-12-29T13:06:02+00:00"}
{"reqId":"54a1527485b58","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T13:09:08+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"54a15279b3ac1","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/Projets\/jolinuage\/INTERNE\/theming\/Owncloud-logo.png' !!! \ncache: Array\n(\n [fileid] => 214282\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/Projets\/jolinuage\/INTERNE\/theming\/Owncloud-logo.png\n [parent] => 209646\n [name] => Owncloud-logo.png\n [mimetype] => image\/png\n [mimepart] => image\n [size] => 42519\n [mtime] => 1419858551\n [storage_mtime] => 1419858551\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a152780f167\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => image\/png\n [mtime] => 1417022687\n [size] => 42519\n [etag] => 54a15279b38a8\n [storage_mtime] => 1417022687\n [permissions] => 27\n [parent] => 209646\n)\n","level":0,"time":"2014-12-29T13:09:13+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/Projets\/jolinuage\/INTERNE\/theming\/Owncloud-logo.png"}
What's next ?
Hi, following my last entries, I made some tests .
http://doc.owncloud.org/server/7.0/admin_manual/maintenance/update.html#setting-strong-permissions
Setting Strong Permissions
chown -R root:root /path/to/owncloud/
chmod -R 755 /path/to/owncloud/
chown <http-user>:<http-user> /path/to/owncloud/config/config.php
chmod 750 /path/to/owncloud/config/config.php
chown -R <http-user>:<http-user> /path/to/owncloud/data/
chmod -R 750 /path/to/owncloud/data
chown root:root /path/to/owncloud/data/.htaccess
chmod 755 /path/to/owncloud/data/.htaccess
chown <http-user>:<http-user> /path/to/owncloud/apps/
chmod 750 /path/to/owncloud/apps/
With http-user = www-data
Then, if the web interface was working great, I was not able to use any sync program. ERROR MESSAGE : Error downloading https://mon.domaine.fr/status.php - server replied: Service Unavailable ...
Then I did a simple :
chown -R www-data:www-data /var/www/owncloud
And now the sync program is working.
New owncloud log:
{"reqId":"54a15763b624d","app":"search_lucene","message":"found 0 hits ","level":0,"time":"2014-12-29T13:30:11+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"54a15763b624d","app":"search_lucene","message":"adding \/clientsync\/Projets\/jolinuage\/INTERNE\/theming\/Owncloud-logo.png","level":0,"time":"2014-12-29T13:30:11+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"54a158f94c74c","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T13:36:57+00:00","method":"GET","url":"\/remote.php\/webdav\/"}
{"reqId":"54a1591e727a7","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T13:37:34+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"54a15a40b456d","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-030712.ppt' !!! \ncache: Array\n(\n [fileid] => 214286\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-030712.ppt\n [parent] => 214285\n [name] => seo - mtv.mc-030712.ppt\n [mimetype] => application\/vnd.ms-powerpoint\n [mimepart] => application\n [size] => 1746944\n [mtime] => 1419860542\n [storage_mtime] => 1419860542\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a3f4c790\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/vnd.ms-powerpoint\n [mtime] => 1341329732\n [size] => 1746944\n [etag] => 54a15a40b4352\n [storage_mtime] => 1341329732\n [permissions] => 27\n [parent] => 214285\n)\n","level":0,"time":"2014-12-29T13:42:24+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-030712.ppt"}
{"reqId":"54a15a419266a","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO' !!! \ncache: Array\n(\n [fileid] => 214285\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\n [parent] => 54254\n [name] => SEO\n [mimetype] => httpd\/unix-directory\n [mimepart] => httpd\n [size] => 1746944\n [mtime] => 1341329732\n [storage_mtime] => 1419860543\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a4154d61\n [permissions] => 31\n)\n \ndata: Array\n(\n [mimetype] => httpd\/unix-directory\n [mtime] => 1419860545\n [size] => -1\n [etag] => 54a15a4192425\n [storage_mtime] => 1419860545\n [permissions] => 31\n [parent] => 54254\n)\n","level":0,"time":"2014-12-29T13:42:25+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-171214%20-%20version%20optimis%C3%A9.ppt"}
{"reqId":"54a15a419e548","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO' !!! \ncache: Array\n(\n [fileid] => 214285\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\n [parent] => 54254\n [name] => SEO\n [mimetype] => httpd\/unix-directory\n [mimepart] => httpd\n [size] => 1746944\n [mtime] => 1341329732\n [storage_mtime] => 1419860543\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a4154d61\n [permissions] => 31\n)\n \ndata: Array\n(\n [mimetype] => httpd\/unix-directory\n [mtime] => 1419860545\n [size] => -1\n [etag] => 54a15a419e2c1\n [storage_mtime] => 1419860545\n [permissions] => 31\n [parent] => 54254\n)\n","level":0,"time":"2014-12-29T13:42:25+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-311213.ppt"}
{"reqId":"54a15a419266a","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-171214 - version optimis\u00e9.ppt' !!! \ncache: Array\n(\n [fileid] => 214287\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-171214 - version optimis\u00e9.ppt\n [parent] => 214285\n [name] => seo - mtv.mc-171214 - version optimis\u00e9.ppt\n [mimetype] => application\/vnd.ms-powerpoint\n [mimepart] => application\n [size] => 420864\n [mtime] => 1419860548\n [storage_mtime] => 1419860548\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a448c1d4\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/vnd.ms-powerpoint\n [mtime] => 1418666134\n [size] => 420864\n [etag] => 54a15a45e9dcb\n [storage_mtime] => 1418666134\n [permissions] => 27\n [parent] => 214285\n)\n","level":0,"time":"2014-12-29T13:42:29+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-171214%20-%20version%20optimis%C3%A9.ppt"}
{"reqId":"54a15a51b327d","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-171214.ppt' !!! \ncache: Array\n(\n [fileid] => 214288\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-171214.ppt\n [parent] => 214285\n [name] => seo - mtv.mc-171214.ppt\n [mimetype] => application\/vnd.ms-powerpoint\n [mimepart] => application\n [size] => 2717696\n [mtime] => 1419860559\n [storage_mtime] => 1419860559\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a5046797\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/vnd.ms-powerpoint\n [mtime] => 1418660634\n [size] => 2717696\n [etag] => 54a15a51b3037\n [storage_mtime] => 1418660634\n [permissions] => 27\n [parent] => 214285\n)\n","level":0,"time":"2014-12-29T13:42:41+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-171214.ppt"}
{"reqId":"54a15a419e548","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-311213.ppt' !!! \ncache: Array\n(\n [fileid] => 214289\n [storage] => local::\/var\/www\/owncloud\/data\/johan\/\n [path] => files\/clientsync\/CLIENTS\/MTV\/SEO\/seo - mtv.mc-311213.ppt\n [parent] => 214285\n [name] => seo - mtv.mc-311213.ppt\n [mimetype] => application\/vnd.ms-powerpoint\n [mimepart] => application\n [size] => 4004864\n [mtime] => 1419860566\n [storage_mtime] => 1419860566\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 54a15a57567bb\n [permissions] => 27\n)\n \ndata: Array\n(\n [mimetype] => application\/vnd.ms-powerpoint\n [mtime] => 1389713000\n [size] => 4004864\n [etag] => 54a15a58d2f4d\n [storage_mtime] => 1389713000\n [permissions] => 27\n [parent] => 214285\n)\n","level":0,"time":"2014-12-29T13:42:48+00:00","method":"PUT","url":"\/remote.php\/webdav\/clientsync\/CLIENTS\/MTV\/SEO\/seo%20-%20mtv.mc-311213.ppt"}
{"reqId":"54a15aafe9fa4","app":"search_lucene","message":"searching hits for pk:6412712490256faacb5020ba6495cd4b","level":0,"time":"2014-12-29T13:44:15+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"54a15aafe9fa4","app":"search_lucene","message":"found 0 hits ","level":0,"time":"2014-12-29T13:44:15+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"54a15aafe9fa4","app":"search_lucene","message":"adding \/clientsync\/CLIENTS\/MTV\/SEO","level":0,"time":"2014-12-29T13:44:15+00:00","method":"GET","url":"\/cron.php"}
{"reqId":"54a15ab477b71","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T13:44:20+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
{"reqId":"54a15c0323606","app":"webdav","message":"Sabre\\DAV\\Exception\\NotAuthenticated: No basic authentication headers were found","level":0,"time":"2014-12-29T13:49:55+00:00","method":"PROPFIND","url":"\/remote.php\/webdav"}
Hi,
why posting all those stuff in here when you think it is related to your existing issue in https://github.com/owncloud/core/issues/13044 ?
Hello,
- I don't know if it's really related. I had this issue more or less in the same time.
- Then I though it was better to open a new issue for each "demand".
Sorry if I did a mistake, I just want to help to resolve this kind of bugs .
What do you suggest now ?
Hi,
as already asked above:
Do you have any problems originating from this messages? Most of them are still only debug messages and probably don't need to be "fixed" if you don't have any problems.
I will make some trials this day, and will let you know before tomorrow if I still have some bugs or not. Thanks for your help.
Also, what is the main purpose of leveling up the 'loglevel' => '1', ?
Hi,
Also, what is the main purpose of leveling up the 'loglevel' => '1', ?
see the description of this:
https://github.com/owncloud/core/blob/v7.0.4/config/config.sample.php#L465-L469
In a productive environment you should remove it completely from your config.php or leave it at the default loglevel 2. This config switch is only for debugging purposes when you're trying to find the source of a problem.
So I did the test right now :
I have the following errors in my admin web interface :
Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-29T14:16:00+00:00
Debug core OC_Image->fixOrientation() No readable file path set. 2014-12-29T14:16:00+00:00
Debug core Generating preview for "/clientsync/Projets/jolinuage/INTERNE/technique/webdav-litmus.txt" with "OC\Preview\TXT" 2014-12-29T14:16:00+00:00
Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-29T14:16:00+00:00
Debug core OC_Image->fixOrientation() No readable file path set. 2014-12-29T14:16:00+00:00
Debug core Generating preview for "/clientsync/Projets/jolinuage/INTERNE/technique/technique.txt" with "OC\Preview\TXT" 2014-12-29T14:16:00+00:00
Debug OC\Files\Cache\Scanner !!! Path 'thumbnails/29815' is not readable !!! 2014-12-29T14:16:00+00:00
Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-29T14:16:00+00:00
Debug core Generating preview for "/clientsync/Projets/jolinuage/INTERNE/theming/Owncloud-logo.png" with "OC\Preview\Image" 2014-12-29T14:16:00+00:00
Debug OC\Files\Cache\Scanner !!! Path 'thumbnails/214282' is not readable !!!
I tryed this 3 files (2 text files and 1 image) using the web interface and my Win desktop sync program. And all of these are displaying fine.
So may be you were right : "Most of them are still only debug messages and probably don't need to be "fixed" if you don't have any problems."
So do I have to close this "demand" or do we need to tag it still bug (but maybe for a later time) ?