Author Topic: Public_html folder suddenly got full, and fills up so fast if make space  (Read 615 times)

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
hi

in the last week i've had a problem with my site,

my disk usage has filled up, the Public_html folder has suddenly started getting full really fast, i deleted some old backups, making 200mb, and within a few hours was full again, i freed up 220mb more and same again fills up so fast, and once full i cant open my emails or abantecart.

currently at over 800mb, 300 of that in one day

i made the site a year or so ago, and the disk storage has remained stable and low until about a week ago.

can someone tell me why it is filling up so fast, and what i need to delete.

i can upload screenshots if needs be

thanks in advance for any help

« Last Edit: January 09, 2025, 01:40:47 PM by BlueLotus »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #1 on: January 10, 2025, 01:26:41 AM »
Hello.
Here are your options:
1. check AbanteCart, PHP version and Hosting Provider: Could you please let us know your AbanteCart version and hosting provider? This information will help in diagnosing the issue.
2. Enable System Check: In your AbanteCart admin panel, please enable the system check feature. This will run a few checks and might provide insights into potential security issues https://abantecart.atlassian.net/wiki/spaces/AD/pages/8159239/System+Check.
3. Identify Large Folders: You need to investigate which folders are consuming the most space. Checking for large log files or error logs, as these can grow quickly
4. Compare with AbanteCart Code Base: Ensure that the files and folders in your public_html directory match the standard AbanteCart code base. This will help identify any third-party files that might be causing the issue https://github.com/abantecart/abantecart-src

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #2 on: January 10, 2025, 04:13:02 AM »
thank you for the reply,

i use orangewebsite, and the version is from the start of last year, unfortunately, now i cant even open abantecarte as my disk usage is full and i dont know what to delete to make more space. so i cant get the version or do the system check

this is the reply from support from my hosting, they said they cant help any more and i needed to ask for help on here.
Hello,

Majority of your usage is in public_html.

0 ./.well-known
23M ./admin
1.9M ./core
0 ./download
27M ./extensions
3.0M ./image
21M ./resources
40K ./static_pages
9.7M ./storefront
643M ./system
4.7M ./vendor
732M .

which majority seems to be cache inside the system folder.

644M ./cache
44K ./logs
644M .


in the layout folder in cache there is literally thousands of log files, takes a while to even load them all, the rest of the folders seem normal

i was thinking maybe delete the entire thing and restore from backup? or can i just delete loads of files in the cache?

thanks again for your help
« Last Edit: January 10, 2025, 04:24:37 AM by BlueLotus »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #3 on: January 10, 2025, 05:47:58 AM »
Hello.
Go to the /system/cache/ and remove all subdirectories. Please do not remove the /system/cache/index.html file

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #4 on: January 10, 2025, 07:00:38 AM »
edit: i deleted just the layout folder and that cleared up over 700mb, but it is already starting to fill up with hundreds of files.

 i set up the system check, just got messages saying:

Number of repetitions:
1719
/public_html/index.php file is writable. It is recommended to set read and execute modes for this file to keep it secured and running properly!



/public_html/system/config.php file needs to be set to read and execute modes to keep it secured from editing!






---------------

just to double check, you mean all the folders? just keep the last file? or keep the folders but delete the contents of them all?

thanks again for your help
« Last Edit: January 10, 2025, 08:34:02 AM by BlueLotus »

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #5 on: January 10, 2025, 08:33:40 AM »
ive unticked write, on both, should this have fixed the issue?


thank you
« Last Edit: January 10, 2025, 08:38:24 AM by BlueLotus »

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #6 on: January 12, 2025, 08:23:39 AM »
now my tmp folder has filled up 250mb in an hour, and the layout folder in public_html keeps filling up 100s of mb a day.

can you explain why this is happening? and is it possible to fix it?

thanks again

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #7 on: January 13, 2025, 02:18:01 AM »
Hello.
It seems you haven't responded to the question regarding the PHP and AbanteCart versions.

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #8 on: January 13, 2025, 06:21:09 AM »
AbanteCart Version 1.3.4
PHP Version 8.1.30

 are these the correct ones?

thank you

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #9 on: January 13, 2025, 06:35:34 AM »
Hello
Please upgrade to the latest version of AbanteCart. Be sure to back up your webstore before proceeding with the upgrade.

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #10 on: January 13, 2025, 08:31:28 AM »
i have tried but get the following:


 Error: Can't unpack package "/home/......./public_html/admin/system/temp/install/abantecart_1.4.0_upgrade_only.tar.gz
" after download. Archive error. See error log for details.

Stuck? Not a problem. You can install extensions another way. Check this help link



im trying to install manually, but

1. download the extension archive.
Download link is in your order history.

i cant find download link.

thanks

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile

Offline BlueLotus

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #12 on: January 13, 2025, 10:59:07 AM »
im a bit confused lol this is a bit advanced for me, i have read over the instructions about 10 times, i get the copy and paste bit, and the edit upgrade.sql, but the rest i dont know

also, i dont know where the directory is, and how do i find my info to replace in upgrade.sql?

i was hoping to install i via

/wiki/spaces/AD/pages/5668987/Install+via+package+upload

sorry to not understand, im not a professional i just built this site for a project to see if i could do it,

thanks


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6028
  • Karma: +284/-2
    • View Profile
Re: Public_html folder suddenly got full, and fills up so fast if make space
« Reply #13 on: January 14, 2025, 02:02:00 AM »
Hello.
Have you tried downloading the package from the GitHub release page? https://github.com/abantecart/abantecart-src/releases/tag/1.4.0
Did you check the error in the log?

 

Powered by SMFPacks Social Login Mod