[PATCH] trac-admin deploy - upgraded files contain leftovers in their end when new content is smaller.
|Reported by:||Owned by:||Christian Boos|
|Severity:||trivial||Keywords:||deploy upgrade issue|
It should be very trivial to be fixed.
I've upgraded from Trac 0.11 to Trac 0.12 and after:
trac-admin /path/to/env deploy /deploy/path
Upgraded trac environments became inaccessible (Apache began returning error message to the browser requests).
I've compared the modified files with a recent backup and found that they were almost identical.
Affected were all files in the cgi-bin folder: trac.wsgi, trac.fcgi and trac.cgi.
There were just cosmetic changes and … also few bytes at the end originating from the pre-upgraded file version which of course are meaningless. After removing these characters all returned to normal.
The same happened both on WinXP and linux.
Change History (6)
comment:2 by , 10 years ago
|Summary:||trac-admin deploy - upgraded files contain leftovers in their end when new content is smaller. → [PATCH] trac-admin deploy - upgraded files contain leftovers in their end when new content is smaller.|