usap-dc-dev / usap-dc-website

repository for usap-dc website. Includes javascript client side app and python/flask server side.
2 stars 0 forks source link

error message when validating DIF xml in curator tool #24

Closed fnitsche2001 closed 1 year ago

fnitsche2001 commented 1 year ago

I have noticed occasionally an error message when validating DIF xml in the DIF XML curator tool (see attached image. There seems to be an extra error message "Error saving validated DIF XML" at the end, although the xml seems to be saved correctly to the watch directories. This message only occurs sometimes (when updating existing some project xml files?), but not always. It is unclear what causes this error. The example is p0010389 usap-dc_error_dif_save

astrong-ldeo commented 1 year ago

This is due to file ownership/permissions issues on the server. Ensure that the user "apache" has write access to the desired file, if it exists, to avoid this problem in the future.