Hello
I am running this command (php -f bin/ubdatamigration run --step=5 --mode=update) and get the following error after the script has been running for about an hour.
Please advice
PHP Error[2]: Creating default object from empty value in file /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/protected/controllers/Step5Controller.php at line 1427 #0 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/protected/controllers/Step5Controller.php(264): Step5Controller->_migrateCatalogProductBundleOptions() #1 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/protected/commands/RunCommand.php(58): Step5Controller->actionRun() #2 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/protected/commands/RunCommand.php(28): RunCommand->_migrateData() #3 unknown(0): RunCommand->actionIndex() #4 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/yii/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs() #5 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/yii/console/CConsoleCommandRunner.php(71): RunCommand->run() #6 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/yii/console/CConsoleApplication.php(92): CConsoleCommandRunner->run() #7 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/yii/base/CApplication.php(184): CConsoleApplication->processRequest() #8 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/yii/yiic.php(33): CConsoleApplication->run() #9 /home/cloudpanel/htdocs/test.ovationmusic.com/pub/ub-tool/protected/ubdatamigration_cli.php(5): require_once() #10 /home/cloudpanel/htdocs/test.ovationmusic.com/bin/ubdatamigration(4): require_once()
21 answers
Hi there,
Before run delta migration in the step #5 with mode=update, seem you have deleted some products after migrated by our tool in first time?
Regards,
Mall.
Hi
Do you mean deleted products on the Magento 1 store? I am not sure. Perhaps a co worker did that.
What are our options?
Hi there,
Do you mean deleted products on the Magento 1 store?
No, is it in Magento2 after migrated in first time?
Regards,
Mall.
No, I am pretty sure nobody has deleted products in the Magento 2 installation after initial migration.
What can we do?
Hi there,
So, that issue is strange. I am sure you have do that. Let’s provide me the admin credentials, ssh credentials, web root folder path of Magento2 and phpMyadmin credentials of your databases (M1 vs M2 databases)
I will check further and specify you the product’s SKU which you have deleted after your initial migration.
Regards,
Mall.
Hi there,
_migrateCatalogProductBundleOptions
Seem you have delete some product bundle options after initial migration?
Regards,
Mall.
Hi there,
I have checked your instance and i see this: http://i.prntscr.com/ja0ImxuHSEqFmBIH1GAMrQ.png
Seem you have moved/cloned current Magento2 instance from other M2 instance?
Regards,
Mall.
No, this instance was originally installed here.
We made a clean install of Magento 2 and the first thing we did was to install the Ubertool.
As you note, there is an issue with the tool on the backend. I guess this has to do with the file permissions in the file system. The permissions have changed since I installed it the first time. Command line works though.
If you look at some of my earlier questions you will see the exact same server information there. You logged in back then as well
Hi there,
Ok, so let’s re-enable write permission for the folder at pub/ub-tool/protected/runtime
Once done, we can continue with our tool in back-end of your site.
And tell me know how it goes. I will check further the first issue.
Regards,
Mall.
Will you enable write permission? I am afraid I have not been able to do it.
Hi there,
I am afraid I have not been able to do it.
Yes, i have just do that for you but now we have new issue: http://i.prntscr.com/VDpd_vH2SFSaxIX349t9rA.png
Seem you have change some server settings?
Regards,
Mall.
I saw this too. I honestly have no clue what the problem is. I thought is was a problem with permissions.
I can ask my host manager. Do you have any more information I can give him?
Hi there,
Do you have any more information I can give him?
No, i don’t know what did you do with your instance after initial migration with our tool. So, i can’t suggest anything now.
Regards
Mall.
I have really not done anything. But we have constant problems with Magento changing permissions upon installation of different modules, so the host made an sh script that resets all permissions on the domain. At least Magento works then. But it might have created problems for Ubertool. Will ask them.
I get this error in the browser console.
Does that tell you something?
JQMIGRATE: Logging is active
start Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-migrate.js:21 JQMIGRATE: Logging is active
/pub/ub-tool/index.php/base/mailchimp/script/get Failed to load resource: the server responded with a status of 404 (Not Found)
/pub/static/version1501174135/frontend/Swissup/argento-mall/en_US/Magento_PageCache/js/page-cache.js:40 Uncaught TypeError: element.prop is not a function
Hi there,
I get this error in the browser console….
That is not related to our migration tool. Seem it still related to folders/files/owner settings in your Magento2 instance.
Anyway, you could try re-deploy the static files of your Magento2 site.
And tell me know how it goes.
Regards,
Mall.
Hi
I have re-deplyed static several times, but is the backend access really necessary to solve tis issue?
I assume all logs are available from Command line as well?
Hi there,
Here is root of the issue in the step#5 as you mentioned: http://i.prntscr.com/GvSIdtr6SdG4mc4p3OlwBw.png
By the our tool’s logging, Our tool helped to migrate a record in the table catalog_product_bundle_option (option_id = 197) but you have deleted that record in back-end of your site after initial migration.
I have solved that issue by this: http://i.prntscr.com/8kORxDJ2Rrmn33dc2pd7Ig.png
And you have at least there similar cases. I have solved all for you with the same process.
Now you can continue in the step #5: http://i.prntscr.com/-p8eUTqvSNKkce-OYE-y6A.png
Let’s have a look again.
Regards,
Mall.
Works fine. Thank you very much for fast help.