Keyword

Items deleted from media/k2/items/cache weekly

  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
2 months 2 weeks ago #168661 by Marc Esteve
Marc Esteve created the topic: Items deleted from media/k2/items/cache weekly
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

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #168852 by Fotis
Fotis replied the 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.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #168873 by Marc Esteve
Marc Esteve replied the 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

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #168875 by Fotis
Fotis replied the 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...


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Marc Esteve
  • Marc Esteve's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #168877 by Marc Esteve
Marc Esteve replied the 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.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 weeks ago #168886 by Fotis
Fotis replied the topic: Items deleted from media/k2/items/cache weekly
In any case, keep us posted please.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

Moderators: william white