0.12 environment upgrade gives cryptic error message with postgresql
|Reported by:||Owned by:||Remy Blank|
Upgrading several installs to 0.12 and running into some UI weirdness. If you attempt to run
trac-admin /path/to/env upgrade on a env using postgresql you get the unhelpful, unfriendly message:
OSError: [Errno 2] No such file or directory
Turns out that's because it's trying to create a backup, which it can't do with postgresql. All you need to do is add
--no-backup to the command and it works fine. I seem to recall in the past there was a more useful error message there. Any chance it can be returned?