Hi there,
I’ve had an issue with the folder media/k2/items/cache for a while (December!) and it is that all the items older than one week included in that folder are automatically deleted.
This started to happen when I wanted to have a backup web for my site www.liffey.cat. I bought another domain www.liff.ie.
I transferred all the files via FTP from www.liffey.cat to my computer and then from my computer to www.liff.ie. They shared database and when I created items (articles) on www.liffey.cat then www.liff.ie was updated automatically except for the picture, that I had to update manually.
It only happens in the main domain (www.liffey.cat), not in any other subdomains, even if it’s exactly the same template. Sometimes I have a copy of the web in a subdomain (with everything working fine), I change the subdomain name to www via FTP, so that subdomain becomes the main domain, and... all pictures on that media/k2/items/cache folder disappear.
This happens with any template. I have tried 3 templates from different providers.
It happens with Joomla 2.5 and Joomla 3.8, basically, with any Joomla version.
All the subdomains and domains are in different MySQL databases.
At the moment I have the web on www.liff.ie, which is a copy of the old www.liffey.cat (now offline), using a different database and it works fine.
Permissions in folders (755) and files (644) are the same everywhere (main domain and subdomains).
An index.html file is present in the folder.
It only happens if the path and folder name is media/k2/items/cache. If I change “cache” by something else it does not happen although the pictures on the web are not visible because of the wrong news path.
I have a 100GB allowance and I am only using 16GB so space is not an issue.
As I have the web in several subdomains I don’t need the rebuild tool from github. I can just transfer the files to the folder via FTP but I would like to know where the issue is because otherwise they will be deleted again after one week of being there.
Thanks in advance.
Marc