Keyword

Items deleted from media/k2/items/cache weekly

  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
6 years 3 months ago #168661 by Marc Esteve
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.
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 althought 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
The topic has been locked.
More
6 years 2 months ago #168852 by JoomlaWorks
Replied by JoomlaWorks on topic Items deleted from media/k2/items/cache weekly
There is no such option in K2. It just doesn't make sense.

If you don't have a 3rd party plugin that would do that (a cleaner plugin), check with your hosting company or provider/sysadmin if there is some weird bash script deleting files that are older than X days. The bash script may reside elsewhere.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #168873 by Marc Esteve
Replied by Marc Esteve on topic Items deleted from media/k2/items/cache weekly
Hi Fotis,
Thanks for your answer. I agree with you that it just does not make sense. I´ve been searching on forums and despite seeing web developers having problems with that cache folder, it is not exactly the same problem I have..
At the moment I am trying things in relation to permissions, FTP issues, etc. but the problem is that I can only know if it works after seven days, so it is a little bit slow.
It only happens in www.liffey.cat, that I have hosted with provider A but not in www.liff.ie, that I have hosted with provider B. If the issue remains after my "experiments", I will buy another domain with server provider C and if it works there that should mean that the problem is with the server provider.
We'll see.
Thanks.
Regards,
Marc
The topic has been locked.
More
6 years 2 months ago #168875 by JoomlaWorks
Replied by JoomlaWorks on topic Items deleted from media/k2/items/cache weekly
If your hosting provider is doing things, you gotta let us know who they are, so other know and clearly stay away.

Imagine if you were hosting sensitive static data, e.g. PDF reports.

Jeeez...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #168877 by Marc Esteve
Replied by Marc Esteve on topic Items deleted from media/k2/items/cache weekly
Well, at the moment I would not like to accuse anybody...
I have been with them for over 8 years and I´ve had no issue until this thing started.
The topic has been locked.
More
6 years 2 months ago #168886 by JoomlaWorks
Replied by JoomlaWorks on topic Items deleted from media/k2/items/cache weekly
In any case, keep us posted please.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
4 years 10 months ago - 4 years 10 months ago #174290 by ilia
But the second problem, the cache folder should be updated after the deleted ones, this is also minus k2.
I have hostgator hosting.
I have some problem
Last edit: 4 years 10 months ago by ilia.
The topic has been locked.
More
4 years 10 months ago #174296 by JoomlaWorks
Replied by JoomlaWorks on topic Items deleted from media/k2/items/cache weekly
@Ilia What you say doesn't make sense. Re-phrase the question please.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
4 years 10 months ago #174311 by Marc Esteve
Replied by Marc Esteve on topic Items deleted from media/k2/items/cache weekly
Hi,
I had completely forgotten about this forum.
At the end I changed of hosting provider and it worked fine.
Even if the old hosting provider said that there was no problem on their side I understand that it was a server issue.
Marc
The topic has been locked.
More
4 years 10 months ago #174314 by JoomlaWorks
Replied by JoomlaWorks on topic Items deleted from media/k2/items/cache weekly
Thanks for the update Marc :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.

Powered by Kunena Forum