Get the new PortableApps.com Platform 12.0.3. Better, stronger, faster, and prettier. Download Now or Buy on a Flash Drive
Instant access to over 300 free and legal portable apps (over 9GB) including the new Solfege (Aug 30, 2014)
PortableApps.com needs your help: Please consider making a donation today

Trouble getting "incremental" update of the daily

Tim Clark's picture
Tim Clark
Moderator
- June 20, 2010 - 3:34pm
Share on Facebook

I'm having a problem updating and would like to see if it's a "just me" situation or if anyone else is having a problem.

Does anyone know what this means

Hint: The database directory must be writable for UID 0 or GID 0

My problem seems to be with getting the incremental update, it fails and so has to download the full daily.cvd instead of patching it to become daily.cld, which means dowloading 2 MBs as opposed to a few KBs, or 6 minutes as opposed to a few seconds on a modem.

This has happened to me 4 times.

I have my copy of CWP .095.3 in the same directory and it updates fine.
...\...\EmergencyStuff\ClamWinPortable95.3\
...\...\EmergencyStuff\ClamWinPortable\

Could it be that new CW does not like the length of the path? [see full path below]
If I move the New version to a different directory it works fine, but as I said the older version seems to have no problem with it's location.

Any help would be appreciated, as I am very confused

Here is the full update message:

ClamAV update process started at Sat Jun 19 21:15:53 2010
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
Trying host database.clamav.net (213.165.80.159)...
ERROR: getfile: Can't create new file .\clamav-2c45318810925a8efe6f2ed5fc85f90b.00000108.clamtmp in 
C:\Documents and Settings\Tim\My Documents\Timp\Downloaded\EmergencyStuff\ClamWinPortable\Data\db\clamav-4c43a669a1482ec2b240c28727e5eed1.00000108.clamtmp\clamav-8fad4cc4a7621cc45c3f9ddeaf98a469.00000108.clamtmp

Hint: The database directory must be writable for UID 0 or GID 0   <------ This is odd [tim]

WARNING: getpatch: Can't download daily-11221.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
daily.cvd updated (version: 11221, sigs: 96681, f-level: 51, builder: guitar)
bytecode.cvd is up to date (version: 26, sigs: 3, f-level: 51, builder: nervous)
Database updated (801411 signatures) from database.clamav.net (IP: 213.165.80.159)

[edit: oh, and I'm XPSP3 fully patched, Admin, 1G ram]
Tim


( categories: )

Path Length and New ClamWin ?

Ok,

Here's what I tried
I moved the ClamWinPortable dir to:
C:\Documents and Settings\Tim\My Documents\Timp\Downloaded\HappyTown\ClamWinPortable

Still no joy, when I counted the length of the path AND the length of directory it, CWP, wanted to create AND the length of the file it wanted to create I got a number something like 261 characters.

Now I know that 256 is a magic number in Windows sometimes when it comes to paths, so I renamed ...\HappyTown\ to ...\H\ and tried the update again,

It WORKED !

So, it would SEEM that the new version of CW does not deal with very long directory structure [at least not in number of characters] as well as the older versions did.

This might have something to do with what John mentioned to me the other day, that CW .096.1 no longer deals with relative paths, so I guess it now uses absolute paths.

Bummer, not sure if there's anything that can be done about this.

Tim

Things have got to get better, they can't get worse, or can they?

there isnt much

there was an issue in the past with clamwin and upgrading when it was in a directory with spaces. i dont know how they fixed that but that has caused me some massive headaches with some of my recent tinkerings.