Moving shop directories

So here’s my issue. My ultimate goal is to update from 2.3.4 to 2.4.3. Presently we have the 2.3.4 shop in it’s own domain.com/shop/ directory. I’m planning on moving it to shop.domain.com.

I cloned the DB, copied and moved the shop to it’s new home. Changed the env.php, updated the core_config_data, and commented out the RewriteBase in the .htaccess file.

Load it up, and get this error in the exception.log:

main.CRITICAL: The website with id 1 that was requested wasn’t found. Verify the website and try again. {“exception”:”[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): The website with id 1 that was requested wasn’t found. Verify the website and try again. at /xxx/xxx/shop/vendor/magento/module-store/Model/WebsiteRepository.php:110)”} []

Any bright ideas?

submitted by /u/cjd3
[link] [comments]