### Steps to reproduce 1. Upgrade to 10.0.2 2. Run upgrade in browser 3. Run upgrade in console (php occ upgrade) ### Expected behavior Upgrade should complete ### Actual behavior Browser based upgrade fails. Console based upgrade does not complete. Error messages shown are ``` stat: illegal option -- c usage: stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...] ``` ### Server configuration **Operating system**: FreeBSD 10.3 **Web server:** Apache 2.4 **Database:** MySQL 5.6 **PHP version:** 5.6 **ownCloud version:** 10.0.2 **Updated from an older ownCloud or fresh install:** Update from 9.x **Where did you install ownCloud from:** FreeBSD Ports **Signing status (ownCloud 9.0 and above):** Unable to sign in.
Activity
DeepDiver1975 commentedon Aug 21, 2017
The code in question is here
core/lib/private/LargeFileHelper.php
Lines 148 to 159 in bafdb42
DeepDiver1975 commentedon Aug 21, 2017
Looks like your OS is detected as linux and not as bsd ...
Please run this in your terminal
php -r "echo php_uname('s') . PHP_EOL;"DeepDiver1975 commentedon Aug 21, 2017
FYI: This code is triggered mainly because you are running a 32 bit and not 64 bit architecture
tuaris commentedon Aug 21, 2017
This is 32-bit (yes I know I should upgrade to 64-bit ).
phil-davis commentedon Aug 22, 2017
filemtime checks have a
stat -ccommand that only has the case for Linux. Maybe #28759 will help?phil-davis commentedon Aug 24, 2017
Should be fixed with #28759 and backport to stable10 #28790
lock commentedon Aug 1, 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.