On Wed, Feb 8, 2017 at 9:25 AM Atilio Medina <[email protected]> wrote:

>
>
> On Wednesday, February 8, 2017 at 10:25:02 AM UTC-7, Atilio Medina wrote:
>
> It was more like a new install and converting and exporting the database
> manually.  We didn't use the migrate plugin. The old was 0.12 and the new
> is 1.12.
>
>

> Old
> http://www.ibisph.org/trac
>
> New
> https://trac.ibisph.org/trac/
>
> Where is this db28.py file located? I don't seem to see it on either
> server. Do we have to have the old and new environments on the same server
> in order to run db28.py ?
>
>
> Thanks,
> Atilio
>
>
You only need the new environment to run db28.py, in fact it will be
executed when upgrading from Trac 0.12 when running trac-admin $env
upgrade. Have you read TracUpgrade?
http://trac.edgewall.org/wiki/TracUpgrade

Did you skip all of the upgrade steps by manually changing the
 "database_version" value in the "system" table? Or did you run trac-admin
$env upgrade and the attachments just failed to migrate?

db28.py is part of the Trac distribution. It will be packaged in the .egg
or .whl of your install. However, the FAQ shows how you can invoke the
upgrade step from a script. I'd only recommend doing that if you've run the
environment upgrade and the attachments have failed due to the unknown
defect described in the FAQ and #11370.

If you manually changed "database_version" in the "system" table when
moving from SQLite to MySQL, I suggest you revert the value to "26", which
is the value from Trac 0.12.x, and execute "trac-admin $env upgrade".

https://trac.edgewall.org/browser/tags/trac-0.12.7/trac/db_default.py?marks=20#L19

Well, you are where you are now, but it would have been much better to use
TracMigratePlugin and follow the steps in TracUpgrade. See also:
https://trac.edgewall.org/wiki/TracMigrate

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to