Sqlite cache and duplicator
-
Hello all,
First, very nice plugin, speeds things up, and gets rid of the WordPress health check warning “You should use a persistent object cache.” My hosting plan does not provide redis or memcached.
I’ve spent a few days struggling with an issue involving this plugin and Duplicator. I’ve used Duplicator for years to back up WordPress sites and run them locally using Laragon. This has always worked fine. Suddenly, migrating a Duplicator backup to my localhost completely broke everything. The local links that always worked fine suddenly started directing me to bad url’s on the live site. I couldn’t access the local site at all. I recalled that I installed this plugin recently and indeed, that seems to be the root of the problem.
This turned out to be a known issue between the two plugins. If I deactivate the Sqlite object cache plugin before migrating, all is well again. However, if I reactivate the Sqlite object cache plugin on the localhost it completely breaks everything again. After that I can no longer access the localhost site at all, I get redirected to the live site with a bad url. The only way I can get it working again is to completely delete the localhost site and restore it from the backup made with the Sqlite object cache deactivated. Restoring just the database from the backup doesn’t help, there’s just no way I can get the Sqlite object cache to run properly on the localhost.
My only solution is to just leave the Sqlite object cache deactivated on the localhost. This really isn’t a problem but it scares me. I don’t know what would happen if I ever wanted to use my backup to restore the live site. I’d be more confident if the backup-migrate-restore process worked OK.
Even uninstalling the Sqlite object cache on the localhost and then re-installing it doesn’t help.
Any idea how this could happen? Are there files somewhere that might point to the live site after the migration that need to be deleted? Most confusing.
Thanks,
–Bill
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.