ownCloud 7.0.4 is end-of-life since a longer time [1] and contains various bugs, especially in the encryption topic. This version is something you really shouldn't use on a productive system. Please upgrade first to a still supported version (e.g. 8.1.12 or up, see [2]) and try again.