Upload file generates entry in logfile
Expected behaviour
No error at all.
Actual behaviour
When uploading a file a error is triggered in the logfile. Nevertheless the file is uploaded fine.
Steps to reproduce
- tail -f <path_to_your>/owncloud.log>
- upload a file: see error
Server configuration
Operating system:Centos 5.9
Web server: Apache 2.2.3
Database:MySQL 5
PHP version:5.4
ownCloud version:5.0
Client configuration
Browser:
Operating system:
Logs
Web server error log
no error
ownCloud log (data/owncloud.log)
{"app":"PHP","message":"filemtime(): stat failed for \/\/owncloud\/data\/user\/files\/clientsync\/Dropbox 1.6.17.exe.part at \/htdocs\/www.example.de\/lib\/files\/storage\/local.php#92","level":2,"time":1363354464}
@icewind1991
I suspect that this warning causes conflicts when synchronizing with the client. I got the same warning in logs for all files uploaded. When I upload a file via (linux) client, it is well uploaded, but it re-download the file with the suffix "_conflict-%date-%hour". This is annoying, because almost all files are duplicated... I may have misconfigured something? Server : apache2, php5.4, mysql Client v1.2.1 on Kubuntu Thanks !
I have the same problem. Server is CentOS 6.4 with ownCloud 5, clients both Windows and Linux 1.2.1
Upgraded from 4.5.8 to v 5.0.0 Server is Ubuntu 12.04, php5.4, mysql Data is located on an fstab mounted cifs share Clients generally iPad. Very slow to open any large folders - suspect the difficulties with the "filemtime(): stat failed for ..." is causing the slowness. Error has appeared for nearly every file that I can see
Same issue on Debian 6 with Mac OS as client.
Same issue on Owncloud 5.0.0 Debian 6 apache2 php5.4 sqlite Mac OS client
We have this as well.
OC 5.0.0, Ubuntu 12.04 LTS, Apache 2.2, PHP 5.3, mySQL 5.5, OSX clients
Same experience... File permissions seem okay
OC 5.0.0, Ubuntu 12.04, nginx 1.1.9, PHP-FM 5, MySQL
Could it be that this solves it: #2594 ?
The error seems to have vanished in OC 5.0.3, so I think, #2594 solves it.
Helios07, yes you're right. After updating to OC 5.0.3 and the error is gone same goes to OC 6.0.0 pre alpha.
We still see the same behaviour with 5.0.6
{"app":"PHP","message":"filemtime(): stat failed for \/var\/www\/owncloud\/data\/[email protected]\/files\/xxx\/Software at \/var\/www\/owncloud\/lib\/files\/storage\/local.php#92","level":2,"time":1369378517}
These messages are repeated over and over again in the log file, most of the entries (36700) from one user, with another meager 630 lines attributed to another 10 or so of our users.
We run a test installation with 250 users that so far have uploaded 150GB of files
same here. Log looks like that in different variations:
- error while running hook (\OC\Files\Cache\Updater::writeHook): SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'mtime' at row 1
- filesize(): stat failed for FILEPATH at ..\owncloud\lib\files\storage\mappedlocal.php#95
- filemtime(): stat failed for FILEPATH at ..\owncloud\lib\files\storage\mappedlocal.php#113
- fopen(FILEPATH): failed to open stream: No such file or directory at ..\owncloud\lib\files\storage\mappedlocal.php#173
Client sync protocol shows all files in error category. But some data got uploaded though.
Owncloud 5.0.7 IIS7 MySQL Client 1.3 for Win7 x64
@jcfischer @godfuture please open new issues thanks
@DeepDiver1975 - Done, see: https://github.com/owncloud/core/issues/4065