Steps to reproduce
- sudo -u apache php /var/www/owncloud/occ files:transfer-ownership user1 user2
Expected behaviour
Tell us what should happen:
User2 receives user1 files. (This has worked for me 100% up until now). User1 has approx 22GB of files to be transferred.
Actual behaviour
“PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/owncloud/liv/composer/composer/ClassLoader.php on line 192”
It has copied some but not all, bit of a pain really with the user having so many files and folders to compare would be a nightmare!
Server configuration
Operating system:
Centos 7
Web server:
apache
Database:
mySQL
PHP version:
5.6
ownCloud version: (see ownCloud admin page)
9.1.8
Updated from an older ownCloud or fresh install:
Updated from 9.1.4
Where did you install ownCloud from:
tarball
The content of config/config.php:
{
"system": {
"instanceid": "oc47x9tjw1jc",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "\/mnt\/glusterfs",
"htaccess.RewriteBase": "\/",
"dbtype": "mysql",
"version": "9.1.8.2",
"dbname": "owncloud",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"enable_previews": false,
"logtimezone": "UTC",
"log_type": "owncloud",
"logfile": "owncloud.log",
"loglevel": 1,
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "drive",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"ldapIgnoreNamingRules": false,
"ldapUserCleanupInterval": 60,
"appstore.experimental.enabled": true,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"lost_password_link": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": "auto, 30",
"theme": "corvidtheme",
"trusted_proxies": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"singleuser": false,
"maintenance": false,
"mail_smtpsecure": "tls"
},
"apps": {
"activity": {
"enabled": "yes",
"installed_version": "2.3.2",
"types": "filesystem"
},
"backgroundjob": {
"lastjob": "3053"
},
"comments": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": "logging"
},
"configreport": {
"enabled": "yes",
"installed_version": "0.1.1",
"types": "filesystem"
},
"core": {
"OC_Channel": "production",
"backgroundjobs_mode": "cron",
"default_encryption_module": "OC_DEFAULT_MODULE",
"encryption_enabled": "no",
"incoming_server2server_share_enabled": "no",
"installedat": "1489056684.1882",
"lastcron": "1539940521",
"lastupdateResult": "[]",
"lastupdatedat": "1539939911",
"oc.integritycheck.checker": "[]",
"outgoing_server2server_share_enabled": "no",
"public_documents": "documents\/public.php",
"public_files": "files_sharing\/public.php",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"shareapi_allow_resharing": "no",
"shareapi_default_expire_date": "yes",
"shareapi_enforce_expire_date": "no",
"shareapi_enforce_links_password": "yes",
"shareapi_exclude_groups": "no",
"shareapi_exclude_groups_list": "[]",
"shareapi_expire_after_n_days": "30",
"shareapi_only_share_with_group_members": "no",
"umgmt_send_email": "true",
"umgmt_show_backend": "true",
"umgmt_show_email": "true",
"umgmt_show_last_login": "true",
"umgmt_show_storage_location": "true"
},
"dav": {
"enabled": "yes",
"installed_version": "0.2.7",
"types": "filesystem"
},
"documents": {
"converter": "off",
"converter_url": "http:\/\/localhost:16080",
"enabled": "no",
"installed_version": "0.13.1",
"ocsid": "168711",
"types": ""
},
"encryption": {
"enabled": "no",
"encryptHomeStorage": "1",
"installed_version": "1.3.0",
"masterKeyId": "***REMOVED SENSITIVE VALUE***",
"publicShareKeyId": "***REMOVED SENSITIVE VALUE***",
"recoveryAdminEnabled": "1",
"recoveryKeyId": "***REMOVED SENSITIVE VALUE***",
"types": "filesystem"
},
"external": {
"enabled": "yes",
"installed_version": "",
"ocsid": "166046",
"types": ""
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": ""
},
"federation": {
"enabled": "no",
"installed_version": "0.1.0",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"default_quota": "10 GB",
"enabled": "yes",
"installed_version": "1.5.1",
"types": "filesystem"
},
"files_antivirus": {
"av_cmd_options": "",
"av_host": "",
"av_infected_action": "delete",
"av_max_file_size": "-1",
"av_mode": "socket",
"av_path": "\/usr\/bin\/clamscan",
"av_port": "0",
"av_socket": "\/var\/run\/clamd.scan\/clamd.sock",
"av_stream_max_length": "26214400",
"enabled": "yes",
"installed_version": "0.9.0.1",
"ocsid": "157439",
"types": "filesystem"
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "0.8.1",
"ocsid": "166049",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"incoming_server2server_share_enabled": "no",
"installed_version": "0.10.0",
"outgoing_server2server_share_enabled": "no",
"types": "filesystem"
},
"files_texteditor": {
"enabled": "yes",
"installed_version": "2.1",
"ocsid": "166051",
"types": ""
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "0.9.0",
"types": "filesystem"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"files_videoplayer": {
"enabled": "yes",
"installed_version": "0.9.8",
"types": ""
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "1.1",
"ocsid": "166055",
"types": ""
},
"gallery": {
"enabled": "yes",
"installed_version": "15.0.0",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": "logging"
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "0.5.0",
"types": "prevent_group_restriction"
},
"systemtags": {
"enabled": "yes",
"installed_version": "0.3.0",
"types": "logging"
},
"templateeditor": {
"enabled": "yes",
"installed_version": "0.1",
"types": ""
},
"twofactor_totp": {
"enabled": "[\"TOTP\"]",
"installed_version": "0.4.2",
"ocsid": "174726",
"types": ""
},
"updatenotification": {
"enabled": "yes",
"installed_version": "0.2.1",
"types": ""
},
"user_ldap": {
"cleanUpJobOffset": "250",
"enabled": "yes",
"has_memberof_filter_support": "",
"home_folder_naming_rule": "",
"installed_version": "0.9.0",
"last_jpegPhoto_lookup": "0",
"ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
"ldap_attributes_for_group_search": "",
"ldap_attributes_for_user_search": "",
"ldap_backup_host": "***REMOVED SENSITIVE VALUE***",
"ldap_backup_port": "389",
"ldap_base": "***REMOVED SENSITIVE VALUE***",
"ldap_base_groups": "***REMOVED SENSITIVE VALUE***",
"ldap_base_users": "***REMOVED SENSITIVE VALUE***",
"ldap_cache_ttl": "600",
"ldap_configuration_active": "1",
"ldap_display_name": "cn",
"ldap_dn": "***REMOVED SENSITIVE VALUE***",
"ldap_dynamic_group_member_url": "",
"ldap_email_attr": "mail",
"ldap_experienced_admin": "0",
"ldap_expert_username_attr": "uid",
"ldap_expert_uuid_group_attr": "",
"ldap_expert_uuid_user_attr": "",
"ldap_group_display_name": "cn",
"ldap_group_filter": "",
"ldap_group_filter_mode": "1",
"ldap_group_member_assoc_attribute": "uniqueMember",
"ldap_groupfilter_groups": "",
"ldap_groupfilter_objectclass": "",
"ldap_host": "***REMOVED SENSITIVE VALUE***",
"ldap_login_filter": "(&(|(objectclass=posixAccount))(uid=%uid))",
"ldap_login_filter_mode": "1",
"ldap_loginfilter_attributes": "",
"ldap_loginfilter_email": "0",
"ldap_loginfilter_username": "1",
"ldap_nested_groups": "0",
"ldap_override_main_server": "0",
"ldap_paging_size": "500",
"ldap_port": "389",
"ldap_quota_attr": "",
"ldap_quota_def": "",
"ldap_tls": "0",
"ldap_turn_off_cert_check": "0",
"ldap_user_display_name_2": "",
"ldap_user_filter_mode": "1",
"ldap_userfilter_groups": "",
"ldap_userfilter_objectclass": "posixAccount",
"ldap_userlist_filter": "(|(objectclass=posixAccount))",
"types": "authentication",
"use_memberof_to_detect_membership": "1"
}
}
}
List of activated apps:
Enabled:
- activity: 2.3.2
- comments: 0.3.0
- configreport: 0.1.1
- dav: 0.2.7
- external: true
- federatedfilesharing: 0.3.0
- files: 1.5.1
- files_antivirus: 0.9.0.1
- files_pdfviewer: 0.8.1
- files_sharing: 0.10.0
- files_texteditor: 2.1
- files_trashbin: 0.9.0
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 15.0.0
- notifications: 0.3.0
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.1
- twofactor_totp: 0.4.2
- updatenotification: 0.2.1
- user_ldap: 0.9.0
Disabled:
- encryption
- federation
- files_external
- user_external
Are you using external storage, if yes which one: local/smb/sftp/…
GlusterFS
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
OpenLDAP
LDAP configuration (delete this part if not used)
+-----------------------------------------------+--------------------------------------------+
| Configuration | |
+-----------------------------------------------+--------------------------------------------+
| hasMemberOfFilterSupport | |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | ***REMOVED SENSITIVE VALUE*** |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | ***REMOVED SENSITIVE VALUE*** |
| ldapBackupPort | 389 |
| ldapBase | ***REMOVED SENSITIVE VALUE*** |
| ldapBaseGroups | ***REMOVED SENSITIVE VALUE*** |
| ldapBaseUsers | ***REMOVED SENSITIVE VALUE*** |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 0 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | |
| ldapExpertUsernameAttr | uid |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 1 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | uniqueMember |
| ldapHost | ***REMOVED SENSITIVE VALUE*** |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(|(objectclass=posixAccount))(uid=%uid)) |
| ldapLoginFilterAttributes | |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 1 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | 0 |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | cn |
| ldapUserDisplayName2 | |
| ldapUserFilter | (|(objectclass=posixAccount)) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 1 |
| ldapUserFilterObjectclass | posixAccount |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| useMemberOfToDetectMembership | 1 |
+-----------------------------------------+--------------------------------------------+