Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

/gpx/create fails on db2 #670

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

/gpx/create fails on db2 #670

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: richard[at]systemeD.net
[Submitted to the original trac issue database at 8.23pm, Thursday, 7th February 2008]

 <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
@openstreetmap-trac
Copy link
Author

Author: tomhughes
[Added to the original trac issue at 11.53pm, Thursday, 7th February 2008]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant