Not sure what you are using for a database, but if you are with the stock
sqllite3, it's pretty easy to rsync the whole pile over to a test machine, and
experiment and tweak in a low-stress environment. I test upgrades to our site
on a Mac laptop, using Trac, Apache, and all the other bits installed using
MacPorts (with Apache on port 8080, so as to avoid the built-in web server).
I use this script:
---
echo "Uses sudo to stop server, tweak permissions for the backup, and then to
restore original state"
sudo /opt/local/apache2/bin/apachectl stop
sudo chown -R dr2chase nobody
rsync -avz -e ssh some...@somewhere:/somepath/nobody/ nobody \
--rsync-path=/opt/csw/bin/rsync --exclude="/EggCache" --exclude="*.pyc"
sudo chown -R _www nobody
sudo /opt/local/apache2/bin/apachectl start
---
where "nobody" has subdirectories including "Trac", "Svn", and "EggCache"
David
On 2010-11-30, at 2:07 PM, Tim Kuo wrote:
> I downgraded to Trac0.11 to get Trac back up for now, will try it again later
> to see what the issue was.
>
> On Nov 30, 2010, at 8:47 AM, tim wrote:
>
>> Hi,
>>
>> I was trying to upgrade from trac0.11 to trac0.12 after upgrading
>> tracgit plugin, and it's complaining to me Trac Error
>>
>> TracError: The Trac Environment needs to be upgraded.
>>
>> Run "trac-admin /some/project upgrade"
>>
>> So I followed the instruction and ran the command and it shows up
>> OperationalError: (1050, "Table 'cache' already exists")
>>
>> Now trac is down, any suggestion what may have gone wrong?
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.