Thanks Ryan, that seemed to have been the issue. It worked now.

trac-migrate.py --in-place /var/trac/projects/main 
mysql://user:pass@localhost:3306/trac
Copying tables:
  attachment table... 161 records.
  auth_cookie table... 25 records.
  cache table... 1 records.
  component table... 11 records.
  enum table... 26 records.
  milestone table... 15 records.
  node_change table... 426063 records.
  notify_subscription table... 0 records.
  notify_watch table... 0 records.
  permission table... 35 records.
  report table... 14 records.
  repository table... 3 records.
  revision table... 13043 records.
  session table... 61467 records.
  session_attribute table... 134962 records.
  system table... 1 records.
  ticket table... 354 records.
  ticket_change table... 4109 records.
  ticket_custom table... 0 records.
  version table... 10 records.
  wiki table... 1221 records.
Back up conf/trac.ini to conf/trac.ini.migrate-1486592320 in 
/var/trac/projects/main.


On Friday, February 12, 2016 at 9:06:15 AM UTC-7, Michela Ledwidge wrote:
>
> For the benefits of anyone else upgrade old tracs, suggest adding 
> something like this to TracFaq. It quite took a while to troubleshoot 
> upgrading from 0.12.2 to 1.1.6.
>
> Is there no way to determine an attachment's path?
>
> --
> Q: Attachments are missing after upgrade
> Attachments from earlier versions of trac cannot simply be copied into the 
> new file structure as the path and filename are now generated. The trac 
> upgrade scripts rely on the existence of the old 
> /path/to/projenv/attachments folder and will attempt to delete it when the 
> upgrade is complete. If the legacy attachments folder is not found at 
> upgrade time, restore it and then run the db28.py script above to migrate 
> legacy files
>
> To find the path to a file, <INSERT>
>
> --
>
> Michela
>

-- 
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