Reset step 2 breaks site

Hi 
I am trying to reset all data in order to run a fresh migration.
I am reseting steps 8, 7, 6, 5, 4, 3, 2 (but not step 1)
All is fine, however when I reset step 2 no websites can be found and I see the error 
“The website with id X that was requested wasn’t found”
Any ideas how I can reset this?
Thanks
 

3 answers

Profile photo of Mall Staff 184060.00 $tone July 2, 2020
Public

Hi there,

“The website with id X that was requested wasn’t found”
Any ideas how I can reset this?

Oh, it seem you have deleted the default website in M2 (website added after you have installed your M2 instance)
Could you start again with our migration tool in a new M2 fresh instance?
Regards,
Mall.

#1
Profile photo of wood.sofs 540.00 $tone July 2, 2020
Public

Thanks Mall
Actually, I think it was because there were rows in the core_config_data that were referencing the old website.
Running this sql seems to have resolved:

update core_config_data set scope_id = 0 where scope_id = 5 and scope = 'websites';

Thanks

#2
Profile photo of Mall Staff 184060.00 $tone July 3, 2020
Public

Hi there,

Running this sql seems to have resolved:

Yes, you can continue with that. If you come across any other issues, please get back to me here.  

Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments