Can't import (even manually) a site after site moved and supercache installed

Bug Summary

After moving a site to a new host, and installing supercache, I am no longer able to import a backup of the system. Evidently you map cached paths in the database from to C:/users/username/appdata/local/

Steps to reproduce

As precisely as you can, list the steps it takes to reliably reproduce the issue. Create a backup of a site with Modern Events Lite and Spercache plugins installed and at lease one event defined with a long title (“randy b will share his story at red bay freedom sunday 13 march 2022 at 7 zoom and in person”) in the manner described in the help notes. Drag and drop the zip file on Local. the import will proceed briefly, then die with an import fail message. Examining the local-lightening log shows the last message is " {“stack”:“Error: ENOENT: no such file or directory, realpath ‘C:\Users\robwg\AppData\Local\Temp\local-by-flywheel-vmPEIlIoUM\wp-content\cache\supercache\www.shoalsaa.org\events\randy-b-will-share-his-story-at-red-bay-freedom-sunday-13-march-2022-at-7-zoom-and-in-person-866-617-390-811-274-420-621-744-928-718-357-499-831-873-974-717-784’”,“level”:“warn”,“message”:“Unable to import site.”,“timestamp”:“2022-04-07T20:43:31.006Z”}.

Note that on the running system and the original SQL file from the backup, this record shows the path as “/home/dh_4cswpd/shoalsaa.org/wp-content/cache/supercache/www.shoalsaa.org/events/randy-b-will-share-his-story-at-red-bay-freedom-sunday-13-march-2022-at-7-zoom-and-in-person-866-617-390-811-274-420-621-744-928-718-357-499-831-873-974-717-784”
I am not sure why you chose to map it differently… it might have worked if left in the equivalent absolute path to wp-content.

Environment Info

Describe your environment.

  • What Operating System are you using?
    Windows 11 build 22593.ni_release.220402-1100
  • What versions of site software (Nginx, Apache, PHP, MySQL) is used?
    Apache 2.4.43; PHP 7.4.1; Mariadb 10.4.10
  • What version of Local is installed?
    6.3.21+5826

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

Include any screenshots or video recordings of the issue to help others reproduce.

This topic was automatically closed after 730 days. New replies are no longer allowed.