[installation & upgrade] update 122 fails on Windows due to rename() #194

Closed
opened 2026-10-04 23:46:45 +02:00 by adam · 3 comments
Owner

Reported by flop25 on 12 Jul 2012 16:22

Version: 2.4.1

the update 122
"derivatives: new organization of "upload" and "galleries" directories"
fails because of the bad behavior of rename() on Windows : it seems there is problem to overwrite exiting files using rename() under Windows

my searches give me :
https://bugs.php.net/bug.php?id=29812
http://www.php.net/manual/fr/function.rename.php#102274
https://github.com/contao/core/issues/3593
https://github.com/contao/core/issues/3390

Piwigo Bugtracker #2691

**Reported by flop25 on 12 Jul 2012 16:22** **Version:** 2.4.1 the update 122 &quot;derivatives: new organization of &quot;upload&quot; and &quot;galleries&quot; directories&quot; fails because of the bad behavior of rename() on Windows : it seems there is problem to overwrite exiting files using rename() under Windows my searches give me : https://bugs.php.net/bug.php?id=29812 http://www.php.net/manual/fr/function.rename.php#102274 https://github.com/contao/core/issues/3593 https://github.com/contao/core/issues/3390 [Piwigo Bugtracker #2691](http://piwigo.org/bugs/view.php?id=2691) <!-- github-sync-id:97226423 -->
adam closed this issue 2026-10-04 23:46:45 +02:00
Author
Owner

@flop25 do you still encounter the problem?

@flop25 do you still encounter the problem? <!-- github-comment-id:215341436 -->
Author
Owner

ouch
I need to install an old one and do the update but it would be on a Win10
I will try I assign myself

ouch I need to install an old one and do the update but it would be on a Win10 I will try I assign myself <!-- github-comment-id:215413267 -->
Author
Owner

cant reproduce

cant reproduce <!-- github-comment-id:327034813 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#194