So, either the create or second update throwing. I fixed that in my error handling PR, but it is not trivial and I'm not sure it fixes the underlying issue. I'm not even sure what the underlying issue is. I think rrdcached is supposed to create the directory.