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
brother I have same issue I contact customer support rely to take positive response in future
same like this DGme Login
To disable the cache and resolve the "Connection to Redis failed" error in Magento on shared hosting without root or SSH access:
Collaborate with hosting provider support for a long-term solution.
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:
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.
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.
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.