Steps to reproduce
- Migrated from 9.1 to 10
Expected behaviour
files:scan should work
Actual behaviour
files:scan crashes with meomory exhausted
Server configuration
RHEL7.5
Apche2.4:
h-mariadb102-mariadb-10.2.8-5:
rh-php71-php-7.1.8-1:
**10.0.10 (stable))
Update from 9.1:
tar.gz:
index.php/settings/integrity/failed
The content of config/config.php:
[root@szhm58039 owncloud10.0.10]# sudo -u apache php occ config:list system
{
“system”: {
“instanceid”: “ocd5f9424070”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
],
“datadirectory”: “/var/www/html/owncloud10.0.10/data”,
“dbtype”: “mysql”,
“version”: “10.0.10.4”,
“dbname”: “zueribox”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“maintenance”: false,
“has_internet_connection”: false,
“appstoreenabled”: false,
“check_for_working_webdav”: false,
“updatechecker”: false,
“ldapIgnoreNamingRules”: false,
“trashbin_retention_obligation”: “3, auto”,
“forcessl”: true,
“log_authfailip”: true,
“loglevel”: 2,
“theme”: “szh”,
“secret”: “REMOVED SENSITIVE VALUE”,
“share_folder”: “/Shared”,
“mail_smtpmode”: “php”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “25”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“appstore.experimental.enabled”: true,
“log_rotate_size”: 524288000,
“overwrite.cli.url”: “/zueribox”,
“singleuser”: false,
“debug”: false,
“default_language”: “de”,
“knowledgebaseenabled”: true,
“enable_avatars”: true,
“enable_previews”: true,
“preview_max_x”: 2048,
“preview_max_y”: 2048,
“preview_max_filesize_image”: 25,
“enabledPreviewProviders”: [
“OC\Preview\PNG”,
“OC\Preview\JPEG”,
“OC\Preview\GIF”,
“OC\Preview\BMP”,
“OC\Preview\XBitmap”,
“OC\Preview\MP3”,
“OC\Preview\TXT”,
“OC\Preview\MarkDown”
],
“mail_smtpauthtype”: “LOGIN”,
“memcache.local”: “\OC\Memcache\APCu”
}
}
List of activated apps:
Enabled:
- dav: 0.4.0
- federatedfilesharing: 0.3.1
- files: 1.5.1
- files_external: 0.7.1
- files_sharing: 0.11.0
- files_trashbin: 0.9.1
- impersonate: 0.2.0
- provisioning_api: 0.5.0
- user_ldap: 0.11.0
Disabled: - announcementcenter
- checksum
- comments
- configreport
- diagnostics
- encryption
- external
- federation
- files_versions
- files_videoplayer
- firstrunwizard
- market
- notifications
- systemtags
- templateeditor
- updatenotification
- user_external
Are you using external storage, if yes which one: local/smb/sftp/…
/data is on NFS mount
Are you using encryption: yes/no
NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
LDAP configuration (delete this part if not used)
YES
Client configuration
ANY:
Operating system:
memory_limit is 8G configured in php.ini and .htaccess and .user.ini File.
i am running Owncloud on RHEL7.5 with rh-php71 from RHSCL.
When i run the Scan, it fails with the following error message:
sudo -u apache /opt/rh/rh-php71/root/usr/bin/php occ files:scan --path=F1FE3E8F-22E9-4139-9174-EDAF236B01D9
Scanning files for 1 users
Starting scan for user 1 out of 1 (F1FE3E8F-22E9-4139-9174-EDAF236B01D9)
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/owncloud10.0.10/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 142
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1052672 bytes) in /var/www/html/owncloud10.0.10/lib/private/Lock/DBLockingProvider.php on line 266
– Note: PHP is installed under seperate Folder URL due using RHSCL.
Someone can help please?
Thank you in davance and best regards
Fernando