[SOLVED] Move cache directory

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
flipflip
Messages: 56
Registration: May 31, 2022 - 09:05

April 23, 2025 - 2:44 PM

Hello everyone,

I've been using Wapt for several months now and it's still just as convenient!

This morning, while trying to update packages from my console, I realized my C: drive was full (Wapt and the console are installed there). I did some digging and found the folder C:\Program Files (x86)\wapt\cache, which contains a 690MB Acrobat package. I assume this folder is used by the console while it retrieves the package, signs it, and pushes it to the server. So, why an old package remains isn't a big deal, but to avoid filling up my C: drive, I'm looking for a way to move this folder to another drive (something I've already done for the waptdev folder). But there aren't really any built-in options for this. I could work around it by creating a shortcut.

Is there a plan to allow moving this folder in future versions? (I'm still on version 2.5.5)

Thanks in advance.
Philippe.
User avatar
guigeek
Messages: 147
Registration: Nov 21, 2017 - 9:21 p.m.

April 23, 2025 - 3:05 PM

Hi,
I just know that in version 2.6 the cache is moved to the private directory.
But I don't know if it's possible to move it elsewhere.
Have a good day.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

April 23, 2025 - 3:18 PM

Hi Philippe,

as Guillaume said, the cache folder is moved to the private directory in 2.6, but this is the service directory, not the console directory. Normally, packages in the service cache should be deleted once the package is installed on the machine. So either there was a problem during installation, and the WAPT agent is keeping it to try the installation again later, or it's a cache management bug.

We fixed some cases where this could happen in 2.6; you should check if you're still seeing the problem in the latest version.

Regarding moving the directory, there should be the `wapt-get.ini packages_cache_dir` parameter (or `package_cache_dir` in 2.5, if I'm not mistaken), but this is more for testing and debugging than for production, so I don't recommend using it.

Regards,

Denis.

PS: How big is your C: drive to be full with 600MB? :roll:
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
flipflip
Messages: 56
Registration: May 31, 2022 - 09:05

April 23, 2025 - 4:11 PM

Thank you for your answers.
PS: How big is the C: drive to be full with 600MB? :roll:
No, there were other culprits involved. The hidden directory was in the wrong place at the wrong time ;)

I'm going to try to plan a switch to 2.6 quickly.

THANKS.
Locked