This is, how I tried to set up ownCloud calendar before, and did not work. If you are interested in the solution, see this.