After moving files, i was unable to add or delete files from an owncloud account.
It seems that a separate process handles this.
by syncing the files again with the following command, i was able to add and delete again:
php /var/www/html/owncloud/console.php files:scan --all-
https://forum.owncloud.org/viewtopic.php?f=29&t=23035