Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Public_html folder suddenly got full, and fills up so fast if make space

Started by BlueLotus, January 09, 2025, 01:31:59 PM

Previous topic - Next topic

BlueLotus

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


Basara

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

BlueLotus

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

Basara

Hello.
Go to the /system/cache/ and remove all subdirectories. Please do not remove the /system/cache/index.html file

BlueLotus

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

BlueLotus

ive unticked write, on both, should this have fixed the issue?


thank you

BlueLotus

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

Basara

Hello.
It seems you haven't responded to the question regarding the PHP and AbanteCart versions.

BlueLotus

AbanteCart Version 1.3.4
PHP Version 8.1.30

are these the correct ones?

thank you

Basara

Hello
Please upgrade to the latest version of AbanteCart. Be sure to back up your webstore before proceeding with the upgrade.

BlueLotus

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


BlueLotus

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


Basara

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?

BlueLotus

ive downloaded it and tried to install manually, says failed to unpack i think

pasted the error log below, it makes no sense to me.
i was thinking, if i totally delete it all and just rebuild the whole site, took me about 2 hours to make, ive spent about 10 hours trying to update and fix it in the last week lol.

Forum Rules Code of conduct
AbanteCart.com 2010 -