Unable to import website
-
I currently have my website hosted at NameCheep. Considering I haven’t updated it in years and it gets no traction I wanted to archive it on my home TrueNAS server (24.10 “Electric Eel”). So, I downloaded the 12.5 MB XML of my website hosted at Namecheap, installed WordPress as a docker app, and tried uploading the .xml file. However, every time I do I get the following error:
Sorry, there has been an error.
File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini file or by post_max_size being defined as smaller than upload_max_filesize in php.ini.To rectify this issue, I tried updating the “upload_max_filesize” and “post_max_size” to 50M in both the “php.ini-production” and “php.ini-development” files I found in the “/usr/local/etc/php/” folder. Using the “cat” command confirm that the changes stayed in effect after I restarted the container. However, still am getting the error message, and WordPress’s Site Health plug is still reporting “Upload max filesize = 2M” and “PHP post max size = 8M” I also tested to see if I could upload anything to the local site by uploading a 3.6 MB video which uploaded and played back no problem.
Am I updating the wrong file? Is there another file I should be updating?
- You must be logged in to reply to this topic.