Error while updating GeoIP

Hello,

I tried to run the archive.php on our Windows Server 2012 and got the error “The process cannot access the file because it is being used by another process.”. The detailed message is shown below. I eliminated possilbe file access right issues and there is also no other process accessing the file.

I could imagine, that the issue is caused by the Windows path seperator ("" instead of “/”).

How can I solve this issue?

Thanks a lot,
crobler


There is an error. Please report the message (Piwik 2.1.0) and full backtrace in the Piwik f orums (please do a Search first as it might have been reported already!).

Warning: rename(D:\domain.tld\piwik.domain.tld/misc/GeoIPCity.dat.new,D:\domain.tld\piwik.domain.tld/misc/GeoIPCity.dat): The process cannot access the file because it is being used by another process. (code: 32) in D:\domain.tld\piwik.domain.tld\plugins\UserCountry\GeoIPAutoUpdater.php on line 268

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 rename(…) called at [D:\domain.tld\piwik.domain.tld\plugins\UserCountry\GeoIPAutoUpdater.php:268]
#2 Piwik\Plugins\UserCountry\GeoIPAutoUpdater::unzipDownloadedFile(…) called at [D:\domain.tld\piwik.domain.tld\plugins \UserCountry\GeoIPAutoUpdater.php:156]
#3 Piwik\Plugins\UserCountry\GeoIPAutoUpdater->downloadFile(…) called at [D:\domain.tld\piwik.domain.tld\plugins\UserCo untry\GeoIPAutoUpdater.php:95]
#4 Piwik\Plugins\UserCountry\GeoIPAutoUpdater->update(…) called at [:]
#5 call_user_func(…) called at [D:\domain.tld\piwik.domain.tld\core\TaskScheduler.php:194]
#6 Piwik\TaskScheduler::executeTask(…) called at [D:\domain.tld\piwik.domain.tld\core\TaskScheduler.php:131]
#7 Piwik\TaskScheduler->doRunTasks(…) called at [D:\domain.tld\piwik.domain.tld\core\TaskScheduler.php:81]
#8 Piwik\TaskScheduler::runTasks(…) called at [D:\domain.tld\piwik.domain.tld\plugins\CoreAdminHome\API.php:39]
#9 Piwik\Plugins\CoreAdminHome\API->runScheduledTasks(…) called at [:]
#10 call_user_func_array(…) called at [D:\domain.tld\piwik.domain.tld\core\API\Proxy.php:209]
#11 Piwik\API\Proxy->call(…) called at [D:\domain.tld\piwik.domain.tld\core\API\Request.php:215]
#12 Piwik\API\Request->process(…) called at [D:\domain.tld\piwik.domain.tld\plugins\API\Controller.php:31]
#13 Piwik\Plugins\API\Controller->index(…) called at [:]
#14 call_user_func_array(…) called at [D:\domain.tld\piwik.domain.tld\core\FrontController.php:521]
#15 Piwik\FrontController->doDispatch(…) called at [D:\domain.tld\piwik.domain.tld\core\FrontController.php:84]
#16 Piwik\FrontController->dispatch(…) called at [D:\domain.tld\piwik.domain.tld\core\dispatch.php:30]
#17 require_once(…) called at [D:\domain.tld\piwik.domain.tld\index.php:47]

I have the same problem! but I am using iwik 2.2