You can usually fix this by giving the webserver user write access to the config directory in owncloud