You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
php 32 bit (arm) filemtime on large file issue #18971
@cyberb not sure what other platforms you mean. Windows server support has been dropped a while ago and so far only Linux is supported. (some people run on FreeBSD but it's not officially supported)
Activity
hoorna commentedon Sep 11, 2015
Hi,
I am also facing an issue with file:scan. I hope I am allowed to post it here.
While running the file:scan command I am receiving many, many, many times the next message:
I am running OwnCloud on a Synology Diskstation. Synology implemented the Busybox shell on their Diskstations.
I don't know if there is something going wrong nor how to solve this.
cyberb commentedon Sep 11, 2015
After digging a little bit more I have found that there is already exist some large file support for file size:
https://github.com/owncloud/core/blob/master/lib/private/largefilehelper.php#L164
So probably the right way to fix filemtime issue is to add getFileMTime similar to getFileSize.
I can add one in a branch but I can do only linux.
@hoorna
Your issue must be with getFileSize which tries 'stat -c' on linux:
https://github.com/owncloud/core/blob/master/lib/private/largefilehelper.php#L170
but busybox probably does not implement -c option.
[-]php 32 bit (arm) filemtime issue[/-][+]php 32 bit (arm) filemtime on large file issue[/+]poltpolt commentedon Feb 3, 2016
this is still an issue in 32bit x86 in owncloud 8.2.2
@cyberb Your solution works ok - how can we make it go upstream?
cyberb commentedon May 20, 2016
@polrus Someone from ownCloud team should probably do a complete fix to cover other platforms as I care only about linux.
PVince81 commentedon Jun 17, 2016
@cyberb not sure what other platforms you mean. Windows server support has been dropped a while ago and so far only Linux is supported. (some people run on FreeBSD but it's not officially supported)
cyberb commentedon Jun 17, 2016
If that is true then it should be easy to integrate my fix
DeepDiver1975 commentedon Jun 21, 2016
Feel free to submit a pull request - THX
fixing php 32 bit (arm) filemtime on large file issue (#18971) (#25428)
PVince81 commentedon Jan 13, 2017
PR #25428 got merged, closing
lock commentedon Aug 3, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.