添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

Lately i´ve been getting ALOT of these error messages:

Warning PHP filesize(): stat failed for /var/www/owncloud/data/enoch/files/DirektUppladdning/20130602_210025_2.jpg at /var/www/owncloud/lib/files/storage/local.php#74 2013-08-15T14:56:01+00:00
Warning PHP filesize(): stat failed for /var/www/owncloud/data/enoch/files/DirektUppladdning/20130602_210025_1.jpg at /var/www/owncloud/lib/files/storage/local.php#74 2013-08-15T14:55:39+00:00
Warning PHP filesize(): stat failed for /var/www/owncloud/data/enoch/files/DirektUppladdning/20130602_205736_Richtone(HDR).jpg at /var/www/owncloud/lib/files/storage/local.php#74 2013-08-15T14:55:16+00:00

I don´t know if it´s a bug, or if it has something to do with my coniguration?

I use OC 5.0.10 and Ubuntu Server 12.04 LTS. Also for mounting webdav I use a program called "Netdrive" for Windows.

If you want any logs or something else I´m happy to provide them.

Sorry, but I don´t know how to provide you with "stack trace". If you
explain, I can fix it for you. :)

2013/8/16 Thomas Müller [email protected]

@enoch85 https://github.com/enoch85 can you provide us with the stack
trace?
@schiesbn https://github.com/schiesbn I have seen something similar in
case versions is installed - THX

Reply to this email directly or view it on GitHubhttps://github.com/ /issues/4452 #issuecomment-22737687

I also got this:

Warning PHP imagecreatefromstring(): Data is not in a recognized format at /var/www/owncloud/lib/image.php#477

Warning PHP filemtime(): stat failed for /var/www/owncloud/data/enoch/gallery/enoch//DirektUppladdning/20130713_140021.jpg at /var/www/owncloud/apps/gallery/lib/thumbnail.php#95

The problem regarding the versioning app was solved here: #4481 It doesn't have any negative impact on the functionality, it just creates the warning. The warning will be gone in OC5.0.11

Can't say anything about the other warnings/errors at the moment.

I have an open support ticket concerning this error message:
It seems to me the error is thrown in file owncloud/lib/files/storage/local.php line 44
due to wrong substring parameters:
go left(-1) from the 0th character is not possible and will return FALSE therefore.

@enoch85 are you still facing this problems with the latest version of oc?
Regardng 'stack trace': just install xdebug and you will get more information written into the web server log.
Sorry for my late reply - I didn't recognize your comment.

No, I haven't seen them for a while. I think they're gone.

Thanks!
Den 18 sep 2013 11:43 skrev "Thomas Müller" [email protected] :

@enoch85 https://github.com/enoch85 are you still facing this problems
with the latest version of oc?
Regardng 'stack trace': just install xdebug and you will get more
information written into the web server log.
Sorry for my late reply - I didn't recognize your comment.

Reply to this email directly or view it on GitHubhttps://github.com/ /issues/4452 #issuecomment-24652407

I stil get these messages.

It happens when I try to use the gallery app, or open/prewiew a picture via the web interferance,

Right now I use owncloud 5.0.13-1

Ping!

Warning PHP filemtime(): stat failed for /var/www/owncloud/data/enoch/files_trashbin/files at /var/www/owncloud/lib/private/files/storage/local.php#127 2014-01-13T09:20:18+00:00
Warning PHP filemtime(): stat failed for /var/www/owncloud/data/enoch/files_trashbin/files at /var/www/owncloud/lib/private/files/storage/local.php#127 2014-01-13T09:19:21+00:00
Warning PHP filemtime(): stat failed for /var/www/owncloud/data/enoch/files_trashbin/files at /var/www/owncloud/lib/private/files/storage/local.php#127 2014-01-13T09:18:57+00:00

oC 6.0a

Any progress here?

Good day!
After clearing trashcan OC deleting directory files_trashbin. And with empty trashbin I have ALOT

filemtime(): stat failed for /var/www/DATA/natan/files_trashbin/files at /var/www/owncloud/lib/private/files/storage/local.php#127

OC 6.0.2(fresh install)
Debian 7.4
nginx/1.4.6
php-fpm: PHP 5.4.26-1~dotdeb.1 (cli) (built: Mar 7 2014 09:58:59)

If I move something to trashbin - folder "files_trashbin" creates.

Do you sometimes manually delete the "files_trashbin" folder from the disk without going through the UI ?
One reason I see for this warning would be that the file is still referenced in the database but doesn't exist any more on disk.
If yes, @schiesbn put a fix on master that will check the disk instead of the DB to cover such cases, and that could hopefully eliminate these warnings.

You should never manipulate files directly on the server. For ownCloud7 we reduced the dependencies in the database so that it will no longer be a problem. But this will not be backported to Stable6.

The only way to fix this now is to manually edit your database. Remove all files from oc_files_trash which no longer exists in the files_trashbin folder and remove all rows in oc_files_trashsize so that the correct size of your trashbin gets recalculated.