Opened 11 years ago

Closed 11 years ago

#670 closed defect (fixed)

/gpx/create fails on db2

Reported by: richard@… Owned by: Tom Hughes
Priority: major Milestone:
Component: api Version:
Keywords: Cc:

Description

 <TomH-Home> ah - I see the problem - it fails if you get a daemon on db2
 <TomH-Home> (that's the upload, not the import)
 <RichardF> ah, ok - any reason?
 <RichardF> and yes, the second time I uploaded it, it's happy
 <TomH-Home> that mail is for the upload that failes
 <TomH-Home> it is trying to link the upload file in /tmp to the trace dir, but that is failing with EXDEV on db2 as the trace dir there is an NFS mount, and you can't hard link across file systems
 <TomH-Home> uploads via the web site are all processed on www, but api uploads might wind up on either machine

Change History (1)

comment:1 Changed 11 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [6792]) Use FileUtils?.mv instead of File.rename as it will do a copy+delete when the source and target are not on the same filesystem. Closes #670.

Note: See TracTickets for help on using tickets.