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
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
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
Hello.
Go to the /system/cache/ and remove all subdirectories. Please do not remove the /system/cache/index.html file
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
ive unticked write, on both, should this have fixed the issue?
thank you
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
Hello.
It seems you haven't responded to the question regarding the PHP and AbanteCart versions.
AbanteCart Version 1.3.4
PHP Version 8.1.30
are these the correct ones?
thank you
Hello
Please upgrade to the latest version of AbanteCart. Be sure to back up your webstore before proceeding with the upgrade.
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
Hello.
Please follow the Upgrade manual https://abantecart.atlassian.net/wiki/spaces/AD/pages/5275676/Upgrade+manually
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
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?
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.
Looks like your host require php-zlib(php-zip) and php-phar extensions installed.
Just enable these php-modules in your cPanel and try again.
See more information here https://abantecart.atlassian.net/wiki/spaces/AD/pages/3768390/AbanteCart+System+Requirements
Thanks for your reply, ive had a look, where do i find them?
i looked in myphpadmin but couldnt see it.
thanks
Quote from: abolabo on January 17, 2025, 05:49:08 AM
Looks like your host require php-zlib(php-zip) and php-phar extensions installed.
Just enable these php-modules in your cPanel and try again.
See more information .atlassian.net/wiki/spaces/AD/pages/3768390/AbanteCart+System+Requirements
Hello.
Contact your hosting support and ask them to ensure that the PHP Phar and PHP Zlib (PHP Zip) extensions are enabled and properly configured on your server.
asked them, got this reply:
Hello,
Unfortunately, those two extensions cannot be installed on our shared hosting server.
Best greetings,
i was thinking maybe just delete it all and start from scratch, was easier to build the site than it has been trying to update it lol
is there any other options?
thanks
Hello.
Almost all hosting providers include PHP Phar and PHP Zlib (PHP Zip) extensions as standard because they are essential for many applications. If your current hosting provider cannot enable these extensions, it might be worth considering switching to a hosting provider that supports them and with better disk space to not worry about cache folder.
Alternatively, if switching hosting is not an option for now, you still have the possibility of upgrading manually (https://abantecart.atlassian.net/wiki/spaces/AD/pages/5275676/Upgrade+manually). While it may require more effort, it can be a temporary workaround until you find a better hosting solution.
i only recently paid for another year for the hosting so dont really want to change
ive tried to do manually but still cant figure it out.
is there a service that i can pay to do for me? or if i give you the login details could you do for me?
if not the only option i can see is to delete it all and start again.
thanks
Quote from: BlueLotus on February 16, 2025, 08:27:20 AM
i only recently paid for another year for the hosting so dont really want to change
ive tried to do manually but still cant figure it out.
is there a service that i can pay to do for me? or if i give you the login details could you do for me?
if not the only option i can see is to delete it all and start again.
thanks
https://managed.abantecart.com/index.html#contact
Your disk space might be filling up due to excessive error logs, cache files, or large temporary files. Check the error_log file in public_html, clear AbanteCart cache, and review recent file changes. If the issue persists, use a file manager or SSH to identify the largest growing files.
thanks for the reply
Quote from: BlueLotus on February 28, 2025, 03:56:41 PM
thanks for the reply
this is the error log
https://drive.google.com/file/d/1nFjAdNJJpAqEbGts53QNcZcZtybUrl7D/view?usp=sharing
i dont know what it means
i got message on abantcart saying:
Incorrect index.php file permissions
Message status:
warning
Date:
01/10/2025 01:05:03 PM
Number of repetitions:
3639897
/home/bluelotu/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!
3911
/home/bluelotu/public_html/system/config.php file needs to be set to read and execute modes to keep it secured from editing!
i unticked the write box on these, i set to read and execute
if i delete it, and rebuild it all, will it stop this problem? as it was so easy to build he site, but proving impossible to fix lol
thanks again for your help
Warning is not error.
But you have a problems much bigger.
Just opened your error_log file and found you have a issues after incomplete upgrade process.
2025-01-13 13:19:39 - App Error: AbanteCart core v.1.3.4 Error: Cannot upgrade file : 'extensions/novator/storefront/view/novator/css/tm_style.css
Error: Cannot upgrade file : 'extensions/novator/storefront/view/novator/template/responses/checkout/address.tpl
Error: Cannot upgrade file : 'storefront/view/default/template/responses/checkout/address.tpl
Error: Cannot upgrade file : 'admin/controller/responses/listing_grid/menu.php
Error: Cannot upgrade file : 'extensions/ups/core/ups-api/AddressValidation/.php_cs
Error: Cannot upgrade file : 'extensions/ups/core/ups-api/AddressValidation/.travis.yml
Error: Cannot upgrade file : 'extensions/ups/core/ups-api/AddressValidation/README.md
Error: Cannot upgrade file : 'extensions/ups/core/ups-api/AddressValidation/composer.json
I suggest you replace all files from public_html directory https://github.com/abantecart/abantecart-src/tree/1.3.4 except public_html/system subfolder in manual mode (via ftp, ssh. cPanel fileManager etc)
Just download this zip https://github.com/abantecart/abantecart-src/archive/refs/tags/1.3.4.zip and replace