Files keep comming back

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. Delete file
2. Refresh
3. File's back

Expected behaviour
File should be deleted

Actual behaviour
File comes back after refresh

Server configuration
Operating system:
Web server: DirectAdmin
Database: MariaDB/MySQL
PHP version: 5.6.30
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: fresh web-install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)
{"reqId":"WOyiyiVhvh4AAFmcA7sAAAAA","remoteAddr":"31.201.60.156","app":"mysql.setup","message":"Specific user creation failed: An exception occurred while executing 'SELECT user FROM mysql.user WHERE user=?' with params [\"oc_pimadmin\"]:\n\nSQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'piminfo_oc'@'localhost' for table 'user'","level":3,"time":"2017-04-11T09:32:58+00:00","method":"POST","url":"\/index.php","user":"--"}
{"reqId":"WOyiyiVhvh4AAFmcA7sAAAAA","remoteAddr":"31.201.60.156","app":"mysql.setup","message":"Database creation failed: An exception occurred while executing 'GRANT ALL PRIVILEGES ON piminfo_yu62hi . * TO 'piminfo_oc'':\n\nSQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'piminfo_oc'@'localhost' to database 'piminfo_yu62hi'","level":3,"time":"2017-04-11T09:32:58+00:00","method":"POST","url":"\/index.php","user":"--"}
{"reqId":"WOykJyVhvh4AAFrvlFwAAAAI","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:38:47+00:00","method":"GET","url":"\/oc\/","user":"--"}
{"reqId":"WOykJyVhvh4AAFxjYsQAAAAL","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:38:47+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOykKCVhvh4AAFvvTWoAAAAG","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:38:48+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOykiiVhvh4AAFxjYsUAAAAL","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:26+00:00","method":"GET","url":"\/oc\/","user":"--"}
{"reqId":"WOykiiVhvh4AAFyDpWMAAAAJ","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:26+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOykiyVhvh4AAFnvsaMAAAAF","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:27+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOykmCVhvh4AAFxERK4AAAAE","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:40+00:00","method":"GET","url":"\/oc\/index.php\/settings\/admin?trustDomain=www.pimdegreef.info","user":"--"}
{"reqId":"WOykmCVhvh4AAFt-BVwAAAAH","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:40+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOykmCVhvh4AAFnvsagAAAAF","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:40:40+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOykwyVhvh4AAFzk1n0AAAAC","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:23+00:00","method":"GET","url":"\/oc\/index.php\/settings\/admin?trustDomain=www.pimdegreef.info","user":"--"}
{"reqId":"WOykwyVhvh4AAFzxY@sAAAAN","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:24+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOykxCVhvh4AAFvvTXwAAAAG","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:24+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOykySVhvh4AAFt-BWkAAAAH","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:29+00:00","method":"GET","url":"\/oc\/","user":"--"}
{"reqId":"WOykySVhvh4AAFyDpYQAAAAJ","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:29+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOykySVhvh4AAFx@-7YAAAAA","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:29+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOyk5SVhvh4AAFvvTX0AAAAG","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:57+00:00","method":"GET","url":"\/oc\/","user":"--"}
{"reqId":"WOyk5SVhvh4AAFt-BWoAAAAH","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:57+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOyk5SVhvh4AAFyDpYUAAAAJ","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:41:57+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}
{"reqId":"WOylACVhvh4AAFxERLMAAAAE","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:42:24+00:00","method":"GET","url":"\/oc\/","user":"--"}
{"reqId":"WOylACVhvh4AAF1JNxIAAAAF","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:42:24+00:00","method":"GET","url":"\/oc\/index.php\/core\/js\/oc.js?v=44f549c002f9d7bd0c14461179cc593a","user":"--"}
{"reqId":"WOylACVhvh4AAFxjYtUAAAAL","remoteAddr":"31.201.60.156","app":"core","message":"Trusted domain error. \"31.201.60.156\" tried to access using \"www.pimdegreef.info\" as host.","level":2,"time":"2017-04-11T09:42:24+00:00","method":"GET","url":"\/oc\/cron.php","user":"--"}

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
	- INVALID_HASH
		- core/fonts/LICENSE.txt
		- core/vendor/jsTimezoneDetect/jstz.js
- files_external
	- INVALID_HASH
		- 3rdparty/Dropbox/API.php
- files_texteditor
	- INVALID_HASH
		- js/vendor/ace/src-noconflict/mode-diff.js
Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [core/fonts/LICENSE.txt] => Array
                        (
                            [expected] => 4cc5a12bfe984c0a50bf7943e2d70a948d520ef423677c77629707aace3a95aa378d205de929105d644680679e70ef2449479b360ad44896b75bafed66613272
                            [current] => 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
                        )
                    [core/vendor/jsTimezoneDetect/jstz.js] => Array
                    (
                        [expected] => ece74dd6f5fc9587cf167dd17df51b66f70bd711f445da8d1d21bb1b0570f3c97b25d3ece110b08e2f2b294369d9b775cc169b666840a5b769ba338aa6d73d48
                        [current] => beae737d18aae6e8c5fdfb0bf3389b687ec746e6b334185710cc5b8f45b73b3c57442db541807ab440b55517ef2d138f4c40148abafcb6462481016b617e1f53
                    )

            )

    )

[files_external] => Array
    (
        [INVALID_HASH] => Array
            (
                [3rdparty/Dropbox/API.php] => Array
                    (
                        [expected] => a6866ef3ceeb26d9d4b2ccc343aeaf626c82f03e279962bc7d761a68e87e5a7916ff0bcf7a350e20889557336ed9c5dd1651cfe513fa04bb8a03cd6d8f9cc484
                        [current] => 917eed2c4f6359a4d0b8658a36404c83344b0bf72ccda614dd59f97d099b3d9ef4e86691401c64d3754c3f7e0fa163eab946a25dbc7bc65e1694ffd47a054317
                    )

            )

    )

[files_texteditor] => Array
    (
        [INVALID_HASH] => Array
            (
                [js/vendor/ace/src-noconflict/mode-diff.js] => Array
                    (
                        [expected] => 4a59b6376376b81e4e12ccc345065db62029a61035a88e19b1be3d7ec4cd9f86444121cca6d46c44a5f86e4f5b44d5109cbc77e80c07ff8dbce61f758b88e765
                        [current] => 298cba4d3b472b418aca47db6522c752a4b5530de3f6f2d83eb42eb5fe4231356bfd860a7e2f735b3e5ced759dbc6ca26fc6a18c49bd7ffa07d5a6faa78ae51d
                    )

            )

    )
)

Also: I'm able to upload but not to make folders and delete as stated above

First, add your domain to the trusted_domains in your config/config.php and also solve the problem with code integrity check:

I fixed all that, but I'm still unable to delete files or make folders. Is it because of the users in linux? I use DirectAdmin.

Update: I've installed Owncloud on a fresh Raspberry Pi image and everything works. I guess it has something to do with folder ownership. In Directadmin a Linux user is owner of the www data, but is doesn't work on that server.

I don't know this system but it's very likely something specific in that environment. The directadmin community can probably help you better to figure out the difference between the systems.

Thanks, I figured it out. I did an install in /var/www/root and it works, instead of /home/user/. Stupid me.