1

i face the issue in magento223 version after data migration for only customer data to magento223 setup migration was successfully completed.

but in admin login in all customer grid it shows like "No such entity." how to resolve this issue can any one help out for this ?

i also done with index:reindex command and cache:clean commange still not display.

Thanks

2 Answers 2

1

When you transfer the data the insert records on these specific records are automatically generated and tend to start at 1 and not 0.

I think this script work for you :-

SET FOREIGN_KEY_CHECKS=0;
UPDATE `store` SET store_id = 0 WHERE code='admin';
UPDATE `store_group` SET group_id = 0 WHERE name='Default';
UPDATE `store_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
5
  • this is already value set in my tables all value is same as you mention any other way ? Commented Feb 27, 2019 at 12:59
  • Customer Grid index has been rebuilt successfully or not ? Commented Feb 27, 2019 at 13:10
  • yes grid rebuilt successfully and the from customer data i do logged in via front end using the credential and it's successfully logged in in frontend but not display in backend side. Commented Feb 27, 2019 at 13:18
  • To debug this issue, please open the file vendor/magento/framework/Exception/NoSuchEntityException.php Commented Feb 27, 2019 at 14:43
  • i debug the file also but nothing is desplayed and i debug the migrated customer data in that entry the store_id and website_id was change and i was update that value and index:reindex was also done still customer grid not came. Commented Feb 28, 2019 at 4:47
0

In database table 'customer_entity' confirm website id with existing website if not match then change it and run below commands.

php bin/magento indexer:reindex

php bin/magento cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.