cancel
Showing results for 
Search instead for 
Did you mean: 

move magento to another host

move magento to another host

Hello,

 

I'm trying to restore a backup for someone in a new shared hosting, I'm not familiar with magento but after restoring files and database and change db setting in load.xml file now there is an error says : 

Connection to Redis failed after 2 failures.Last Error : (111) Connection refused

my question is  how can i dsiable cache and solve this problem? I tried comment <cache> section in load.xml file but still same error. any idea how to solve this?

also Its a shared hosting and i don't have root or ssh access to it

3 REPLIES 3

Re: move magento to another host

brother I have same issue I contact customer support rely to take positive response in future

same like this  DGme Login

Re: move magento to another host

To disable the cache and resolve the "Connection to Redis failed" error in Magento on shared hosting without root or SSH access:

  1. Verify Redis configuration in app/etc/env.php.
  2. Confirm Redis server availability with hosting provider support.
  3. Request assistance from the hosting provider to resolve the Redis connection issue.
  4. As a temporary workaround, switch to a file-based cache by editing env.php.
  5. Remember to reinstate the Redis configuration once the issue is resolved.

Collaborate with hosting provider support for a long-term solution.

Re: move magento to another host

It seems the error you're facing is related to Redis caching. Since it's a shared hosting environment and you don't have SSH or root access, you'll need to disable Magento’s Redis cache in a different way. Here are the steps:

  1. Disable Redis in env.php: You can modify your app/etc/env.php file. Look for the cache section related to Redis and either comment it out or change the cache type to file.

  2. Update Cache Storage: If Redis is still being referenced after disabling it, ensure that Magento is configured to use file-based caching. You can set this by modifying the cache configuration inside env.php.

  3. Clear the Var and Generated Folders: Sometimes, residual cache files cause issues. Delete the contents of the var/cache and generated folders after making the change.

For more detailed help, consult the Magento forums, where experienced developers discuss cases like this. Once the cache is disabled, you can proceed with your migration and focus on other tasks, like setting up the storefront for Decor Luxuries.