404 error magento backend Migration PRO 2.0.5

I have some problems using the UB data migration pro tool that I just installed.

I used all the correct commands in the command line to install it, and after in my magento installation I see a button for the data migration tool in the left menu bar.
But when I click on it I get some kind of iframe with my store frontend’s 404 page.

How can I solve this issue and start using the migration plugin?

19 answers

Profile photo of Mall Staff 184060.00 $tone August 13, 2016
Public

Hi pictureh,
I need a closer look to detect the root of issues as you said. Let’s provide me the Admin and SSH credentials of your site. 
I will check further and help you get out.
Regards,
Mall.

#1
Profile photo of Mall Staff 184060.00 $tone August 15, 2016
Public

Hi pictureh,
Yes, i have detect your site and see that, after you have installed this tool, folders and files of this tool locate at pub/ub-tool/ get permission is 775 with folders and 664 with files but your webroot olny working fine with 755 of folder and 644 of files permission.
So, i have run chmod for folders and files of this tool with command as bellow:
with folders:

find pub/ub-tool/ -type d -exec chmod 755 {} +;

and with files:

find pub/ub-tool/ -type f -exec chmod 644 {} +;

and the issue was solved: http://i.prntscr.com/f92eb9b0cfd945f49687fc44b490dce7.png
Also, i see you have custom data of Catalog Categories, Products…. You have to install a Magento fresh before install and use this tool. Please follow step by step in our guide for this tool.
Regards,
Mall.
 

#3
Profile photo of pictureh 240.00 $tone August 16, 2016
Public

Hello Mall,
I did a fresh install and used the migration tool which opened correctly now. Only i´m experiencing a problem with opening configurable products in the magento backend, I get an error stating that there has been an error processing your request. When I look at the error in the report folder this is the log;
 

a:4:{i:0;s:98:"The configuration parameter "componentType" is a required for "advanced_pricing_button" component.";i:1;s:8097:"#0 /home/pictureh/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(360): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)
#1 /home/pictureh/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(360): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)
#2 /home/pictureh/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(360): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)
#3 /home/pictureh/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(272): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false)
#4 /home/pictureh/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(164): Magento\Framework\View\Element\UiComponentFactory->mergeMetadata('product_form', Array, false)
#5 /home/pictureh/public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(124): Magento\Framework\View\Element\UiComponentFactory->create('product_form', NULL, Array)
#6 /home/pictureh/public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'product_form', Array, Object(Magento\Framework\View\Layout\Interceptor))
#7 /home/pictureh/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\UiComponent->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#8 /home/pictureh/public_html/vendor/magento/framework/View/Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#9 /home/pictureh/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#10 /home/pictureh/public_html/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#11 /home/pictureh/public_html/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#12 /home/pictureh/public_html/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#13 /home/pictureh/public_html/vendor/magento/framework/View/Layout.php(244): Magento\Framework\View\Layout\Builder->build()
#14 /home/pictureh/public_html/vendor/magento/framework/View/Layout.php(859): Magento\Framework\View\Layout->build()
#15 /home/pictureh/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(414): Magento\Framework\View\Layout->getBlock('menu')
#16 /home/pictureh/public_html/vendor/magento/module-backend/Model/View/Result/Page.php(59): Magento\Framework\View\Layout\Interceptor->getBlock('menu')
#17 /home/pictureh/public_html/var/generation/Magento/Backend/Model/View/Result/Page/Interceptor.php(24): Magento\Backend\Model\View\Result\Page->setActiveMenu('Magento_Catalog...')
#18 /home/pictureh/public_html/vendor/magento/module-catalog/Controller/Adminhtml/Product/Edit.php(69): Magento\Backend\Model\View\Result\Page\Interceptor->setActiveMenu('Magento_Catalog...')
#19 /home/pictureh/public_html/var/generation/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php(24): Magento\Catalog\Controller\Adminhtml\Product\Edit->execute()
#20 /home/pictureh/public_html/vendor/magento/framework/App/Action/Action.php(102): Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->execute()
#21 /home/pictureh/public_html/vendor/magento/module-backend/App/AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#22 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))
#23 /home/pictureh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callParent('dispatch', Array)
#24 /home/pictureh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Catalog...', 'dispatch', Object(Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor), Array, 'adminAuthentica...')
#25 /home/pictureh/public_html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#26 /home/pictureh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#27 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Catalog...', 'dispatch', Object(Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor), Array, 'adminMassaction...')
#28 /home/pictureh/public_html/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#29 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#30 /home/pictureh/public_html/var/generation/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php(39): Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callPlugins('dispatch', Array, Array)
#31 /home/pictureh/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#32 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#33 /home/pictureh/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#34 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#35 /home/pictureh/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#36 /home/pictureh/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#37 /home/pictureh/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#38 /home/pictureh/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#39 /home/pictureh/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#40 /home/pictureh/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#41 {main}";s:3:"url";s:107:"/backend11/catalog/product/edit/id/61/key/584da5bf6f5ca09e7eb8bd06a4315b0982e7233fb94bc9c5122881b1ee936580/";s:11:"script_name";s:10:"/index.php";}
#4
Profile photo of Mall Staff 184060.00 $tone August 16, 2016
Public

Hi pictureh,

The configuration parameter "componentType" is a required for "advanced_pricing_button" component

That issue come from Magento core and to solve that issue you can find solutions at here:
https://github.com/magento/magento2/issues/5236
or at here: http://magento.stackexchange.com/questions/123994/the-configuration-parameter-componenttype-is-a-required-for-advanced-pricing
Please have a look and contact me if you need further assistance!
Regards,
Mall.
 
 

#5
Profile photo of pictureh 240.00 $tone September 14, 2016
Public

The 404 error disappeared and I was able to open the Migration tool. But now, at step 5 -- Migrate the products the step finishes with showing a 404 page after +- 10 min loading. It does look like it imported the data, but it does not show up at the frontend.
I reindexed using ssh, checked the status of the products (all enabled), checked the visibility (which is both search and catalog) and checked the stock which is in stock. Any idea’s why my products dont show up in the categories?

#8
Profile photo of Mall Staff 184060.00 $tone September 15, 2016
Public

Hi pictureh,
How many products in your case? Seem you have not reindex the data successfully yet.
I need a closer look to detect the root of issue as you said. Let’s provide me the admin and ssh credential of your Magento 2.
I will check further and help you get out.
Regards,
Mall.

#9
Profile photo of pictureh 240.00 $tone September 16, 2016
Public

Hello Mall,
 
Unfortunately, the products still don´t show up on the frontend. I gave you all the correct admin permissions now.
 
Thanks and kind regards,
 
Jeroen Lavrijssen

#12
Profile photo of Mall Staff 184060.00 $tone September 19, 2016
Public

Hi pictureh,
Yes, i have checked your back-end and see you used our tool with Magento 2.1.1.
My apology for not clarifying early enough that our migration tool is currently available for Magento 2.1.0. The Magento 2.1.1 has just been released, so we need a bit more time for compatibility testing with this new 2.1.1 version. 
Could you please try to proceed with Magento 2.1.0 again? I see this unexpected circumstance takes you extra time for re-migration. I am terribly sorry for such inconvenience.
Regards,
Mall.

#13
Profile photo of pictureh 240.00 $tone September 19, 2016
Public

Hi Mall,
Do you have any idea when the tool will be available for 2.1.1?
As you can imagine, we would like to migrate to the newest stable magento release.
Thanks and with kind regards

#14
Profile photo of Admin Staff -30740.00 $tone September 19, 2016
Public

Hi Jeroen, 
The compatibility testing with Magento 2.1.1 is in progress now, we can expect to have the new update to UB Data Migration Pro within tomorrow. 
Thanks for your patience.
Regards,
An Nguyen

#15
Profile photo of Ayaz Madhiya 20.00 $tone September 19, 2016
Public

Hi Mall,
I am having issue in your Data migration Pro tool. 
I installed your module successfully in my magento 2 store and it works fine for first 5 steps and then it’s showing me 404 page in “Migration Customers” and “Migration Sales Data” after around 10 min loading time. 
Please can you help me to fix this issue?
Kind regards
Ayaz

#16
Profile photo of Admin Staff -30740.00 $tone September 20, 2016
Public

Hi Ayaz,
Please help to provide us via private message your M2 admin and SSH credentials, we will check and help you out. 
Meanwhile, please create a new ticket to avoid confusion when the owner of this ticket has new follow-up replies regarding his issue. 
And also, kindly include the profile or email associated with the UB Data Migration Pro purchase, as we could not keep track based on your current profile. 
Many thanks,
An Nguyen

#17
Profile photo of pictureh 240.00 $tone September 20, 2016
Public

I updated the 2.0.5 to 2.0.6 by uploading the files, chmodding the files again, clearing the cache and reindexing the data.
Then, when I open the Magento admin panel and click on the migration tool I get the following error;
Any fixes for this?
 
Fatal error: Uncaught Error: Class ‘CInlineAction’ not found in /home/pictureh/public_html/pub/ub-tool/yii/web/CController.php:414 Stack trace: #0 /home/pictureh/public_html/pub/ub-tool/yii/web/CController.php(259): CController->createAction(‘error’) #1 /home/pictureh/public_html/pub/ub-tool/yii/web/CWebApplication.php(282): CController->run(‘error’) #2 /home/pictureh/public_html/pub/ub-tool/yii/base/CErrorHandler.php(368): CWebApplication->runController(‘migrate/error’) #3 /home/pictureh/public_html/pub/ub-tool/yii/base/CErrorHandler.php(296): CErrorHandler->renderError() #4 /home/pictureh/public_html/pub/ub-tool/yii/base/CErrorHandler.php(133): CErrorHandler->handleError(Object(CErrorEvent)) #5 /home/pictureh/public_html/pub/ub-tool/yii/base/CApplication.php(824): CErrorHandler->handle(Object(CErrorEvent)) #6 /home/pictureh/public_html/pub/ub-tool/yii/YiiBase.php(406): CApplication->handleError(2, ‘include(/home/p…’, ‘/home/pictureh/…’, 406, Array) #7 /home/pictureh/public_html/pub/ub-tool/yii/YiiBase.php(406): incl in /home/pictureh/public_html/pub/ub-tool/yii/web/CController.php on line 414

#18
Profile photo of Mall Staff 184060.00 $tone September 21, 2016
Public

Hi pictureh
Seem you still have issues with folders/files permission. Let’s provide me the admin and ssh credentials of your server. 
I will check further and help you get out.
Regards,
Mall.

#19

Please login or Register to Submit Answer

Written By

Comments