-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
occ file scan on some big file failed #26516
Labels
Comments
it seems like the file is too large to be processed, so migrate to mysql can solve this? |
after doing some search i found maybe it is because i'm on 32-bit platform |
didn't have this issue on ubuntu 16.04 64 platform, should have looked up in the log file |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
Expected behaviour
should be added in database
Actual behaviour
error trace back:
Exception while scanning: filemtime(): stat failed for /var/www/html/owncloud/data/[my user name]/files/bigfile.mkv
#0 [internal function]: OCA\Files\Command\Scan->exceptionErrorHandler(2, 'filemtime(): st...', '/var/www/html/o...', 176, Array)
#1 /var/www/html/owncloud/lib/private/Files/Storage/Local.php(176): filemtime('/var/www/html/o...')
#2 /var/www/html/owncloud/lib/private/Files/Storage/Common.php(645): OC\Files\Storage\Local->filemtime('files/bigfile.m...')
#3 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Encryption.php(172): OC\Files\Storage\Common->getMetaData('files/bigfile.m...')
#4 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php(572): OC\Files\Storage\Wrapper\Encryption->getMetaData('files/bigfile.m...')
#5 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(113): OC\Files\Storage\Wrapper\Wrapper->getMetaData('files/bigfile.m...')
#6 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(145): OC\Files\Cache\Scanner->getData('files/bigfile.m...')
#7 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(409): OC\Files\Cache\Scanner->scanFile('files/bigfile.m...', 3, '2', NULL, true)
#8 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(377): OC\Files\Cache\Scanner->handleChildren('files', true, 3, '2', true, 4039431)
#9 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(380): OC\Files\Cache\Scanner->scanChildren('files', true, 3, '2', true)
#10 /var/www/html/owncloud/lib/private/Files/Cache/Scanner.php(311): OC\Files\Cache\Scanner->scanChildren('', true, 3, 1, true)
#11 /var/www/html/owncloud/lib/private/Files/Utils/Scanner.php(195): OC\Files\Cache\Scanner->scan('', true, 3)
#12 /var/www/html/owncloud/apps/files/lib/Command/Scan.php(158): OC\Files\Utils\Scanner->scan('/[my user name]')
#13 /var/www/html/owncloud/apps/files/lib/Command/Scan.php(226): OCA\Files\Command\Scan->scanFiles('[my user name]', '/[my user name]', false, Object(Symfony\Component\Console\Output\ConsoleOutput), false)
#14 /var/www/html/owncloud/3rdparty/symfony/console/Command/Command.php(259): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/owncloud/core/Command/Base.php(158): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(844): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/owncloud/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(NULL, NULL)
#20 /var/www/html/owncloud/console.php(94): OC\Console\Application->run()
#21 /var/www/html/owncloud/occ(11): require_once('/var/www/html/o...')
#22 {main}
Server configuration
Operating system:
LSB Version: :base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final
Web server:
Server version: Apache/2.2.15 (Unix)
Server built: Jul 18 2016 15:21:39
Database:
sqlite3 -version
3.6.20
PHP version:
PHP 5.4.45 (cli) (built: Sep 19 2016 15:19:45)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
ownCloud version: (see ownCloud admin page)
sudo -u apache ./occ -V
ownCloud version 9.1.1
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
rpm --import https://download.owncloud.org/download/repositories/stable/CentOS_6/repodata/repomd.xml.key
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
Client configuration
Browser:
Operating system:
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: