Migration from Google drive to Nextcloud it's not working

Hello,

I am migrating my google drive data to the Nextcloud server, but it’s not working.

It’s simple to show 0% for a long time so I run the cron.php file manually then I below error.

[root@officemail01 ~]# su - www-data -c ‘/usr/local/lsws/lsphp80/bin/php /var/www/html/cron.php’
PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 1608519680 bytes) in /var/www/html/cron.php on line 124

Even if I allow the memory_limit 10 G still I am getting the same error.

n1

Hello,

Check the “oc_jobs” tables, Is there any unnecessary jobs are running. If it’s there truncate the table the restart migration

I do not know. But perhaps you can better use:

sudo -u www-data /usr/local/lsws/lsphp80/bin/php /var/www/html/cron.php

Perhaps the user envirment is set in a different way. But I am not sure.