Hi Ryan,

We have done an upgrade by manually exporting the old sqlite database into 
the new mysql database. The uploads on the old system provided the full 
path. The new uploads seem to create some kind of hash to create the 
directory and file name. Is there a way to update either the file locations 
or the references on the database? The attachment table doesn't seem to 
have any references to this new paths. Not sure how it's implemented.

Any help is appreciated.

Thanks,
Atilio

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