Can't create and upload files on server side and client

client
webserver_issue

#1

Steps to reproduce

  1. Trying to upload file on server side or client side
    2.
    3.

Expected behaviour

File should be uploaded

Actual behaviour

In server (Web) side "Can't create folder",
On client side "server replied forbidden"

Server configuration

Operating system: Win 10

Web server: OS
DirectAdmin (CentOS 7) (64bits)

Database: MySql

PHP version: 5.6 or 7.1

ownCloud version: 10.0.2 (stable)

Updated from an older ownCloud or fresh install: Fresh install

Where did you install ownCloud from: exio.pl/cloud

Signing status (ownCloud 9.0 and above):

The content of config/config.php:

Can't find

List of activated apps:

All aps form fresh install

Are you using external storage, if yes which one: ?

Are you using encryption: yes

Are you using an external user-backend, if yes which one: ?

Client configuration

Browser:

Operating system:

Logs

Web server error log

[Fri Aug 25 06:44:53.119396 2017] [access_compat:error] [pid 6544:tid 127719089800960] [client 88.199.88.94:49750] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 06:44:53.120030 2017] [access_compat:error] [pid 6544:tid 127719231227648] [client 88.199.88.94:50429] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 07:13:30.087152 2017] [access_compat:error] [pid 6544:tid 127719027836672] [client 88.199.88.94:51973] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/remote.php
[Fri Aug 25 07:13:31.978493 2017] [access_compat:error] [pid 6544:tid 127719027836672] [client 88.199.88.94:51973] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/remote.php
[Fri Aug 25 07:14:33.319699 2017] [access_compat:error] [pid 6527:tid 127719039141632] [client 88.199.88.94:52026] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/remote.php
[Fri Aug 25 07:14:33.965850 2017] [authz_core:error] [pid 6527:tid 127719290431232] [client 88.199.88.94:52034] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/data/htaccesstest.txt
[Fri Aug 25 07:15:14.843715 2017] [authz_core:error] [pid 6544:tid 127719019308800] [client 88.199.88.94:52064] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/data/htaccesstest.txt
[Fri Aug 25 07:23:57.392923 2017] [authz_core:error] [pid 6544:tid 127719054616320] [client 88.199.88.94:52456] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/data/htaccesstest.txt
[Fri Aug 25 07:26:13.792260 2017] [authz_core:error] [pid 6527:tid 127719011931904] [client 88.199.88.94:52572] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/private_html/cloud/data/htaccesstest.txt
[Fri Aug 25 07:27:19.073476 2017] [access_compat:error] [pid 6527:tid 127719029888768] [client 88.199.88.94:52608] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 07:27:29.820612 2017] [access_compat:error] [pid 6527:tid 127719011931904] [client 88.199.88.94:52613] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 07:28:56.859342 2017] [access_compat:error] [pid 6544:tid 127719027836672] [client 88.199.88.94:52695] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 08:33:30.548730 2017] [access_compat:error] [pid 23838:tid 127719028696832] [client 88.199.88.94:54730] AH01797: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/remote.php
[Fri Aug 25 08:39:32.290463 2017] [authz_core:error] [pid 23808:tid 127719032252160] [client 88.199.88.94:54903] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/data/htaccesstest.txt
[Fri Aug 25 08:41:52.202324 2017] [autoindex:error] [pid 23838:tid 127719010838272] [client 88.199.88.94:54964] AH01276: Cannot serve directory /home/exio/domains/exio.pl/public_html/cloud/core/doc/user/_static/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive, referer: http://exio.pl/cloud/core/doc/user/index.html
[Fri Aug 25 08:42:00.586386 2017] [authz_core:error] [pid 23808:tid 127719541118720] [client 88.199.88.94:54976] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/data/htaccesstest.txt
[Fri Aug 25 08:43:59.673669 2017] [authz_core:error] [pid 23838:tid 127719020033792] [client 88.199.88.94:55005] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/data/htaccesstest.txt
[Fri Aug 25 08:45:22.495444 2017] [authz_core:error] [pid 23808:tid 127719067371264] [client 88.199.88.94:55029] AH01630: client denied by server configuration: /home/exio/domains/exio.pl/public_html/cloud/data/htaccesstest.txt

ownCloud log (data/owncloud.log)

{"reqId":"WZ7cQ1t5TiIAAHHvSogAAAG@","level":3,"time":"2017-08-24T14:01:39+00:00","remoteAddr":"88.199.88.94","user":"--","app":"mysql.setup","method":"POST","url":"\/cloud\/index.php","message":"Specific user creation failed: An exception occurred while executing 'SELECT user FROM mysql.user WHERE user=?' with params [\"oc_exio\"]:\n\nSQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'exio_owncloud'@'localhost' for table 'user'"}
{"reqId":"WZ7cWFt5TiIAAHHvSvUAAAG@","level":2,"time":"2017-08-24T14:02:01+00:00","remoteAddr":"88.199.88.94","user":"--","app":"core","method":"POST","url":"\/cloud\/index.php\/login?redirect_url=%252Fcloud%252Findex.php%252Fapps%252Ffiles%252F","message":"Login failed: 'exio' (Remote IP: '88.199.88.94')"}
{"reqId":"WZ7fTFt5TiIAAHHvT90AAAG7","level":3,"time":"2017-08-24T14:14:37+00:00","remoteAddr":"88.199.88.94","user":"exio","app":"PHP","method":"POST","url":"\/cloud\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0"}
{"reqId":"WZ7fs1t5TiIAAHHvUDwAAAG7","level":2,"time":"2017-08-24T14:16:19+00:00","remoteAddr":"88.199.88.94","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"88.199.88.94\" tried to access using \"cloud.exio.pl\" as host."}
{"reqId":"WZ7ftFt5TiIAAHHSkYYAAAD9","level":2,"time":"2017-08-24T14:16:20+00:00","remoteAddr":"88.199.88.94","user":"--","app":"core","method":"GET","url":"\/index.php\/core\/js\/oc.js?v=e81ad89ccd551814ed7c72139b5cf64d","message":"Trusted domain error. \"88.199.88.94\" tried to access using \"cloud.exio.pl\" as host."}
{"reqId":"WZ7ftVt5TiIAAHHvUFcAAAG6","level":2,"time":"2017-08-24T14:16:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"core","method":"GET","url":"\/cron.php","message":"Trusted domain error. \"88.199.88.94\" tried to access using \"cloud.exio.pl\" as host."}
{"reqId":"WZ@zsVt5TiIAABl-7jkAAAF@","level":0,"time":"2017-08-25T05:20:49+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}
{"reqId":"WZ@zsVt5TiIAABl-7jkAAAF@","level":0,"time":"2017-08-25T05:20:49+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}
{"reqId":"WZ@zxVt5TiIAABl-7kwAAAF8","level":0,"time":"2017-08-25T05:21:09+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash with arguments : "}
{"reqId":"WZ@zxVt5TiIAABl-7kwAAAF8","level":0,"time":"2017-08-25T05:21:09+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash with arguments : "}
{"reqId":"WZ@0D1t5TiIAABl-7lUAAAF-","level":0,"time":"2017-08-25T05:22:24+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ@0D1t5TiIAABl-7lUAAAF-","level":1,"time":"2017-08-25T05:22:24+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Invalidating tokens older than 2017-08-24T05:22:24+00:00"}
{"reqId":"WZ@0D1t5TiIAABl-7lUAAAF-","level":0,"time":"2017-08-25T05:22:24+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ@0lFt5TiIAABl-7rkAAAF9","level":0,"time":"2017-08-25T05:24:36+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ@0lFt5TiIAABl-7rkAAAF9","level":1,"time":"2017-08-25T05:24:36+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Invalidating tokens older than 2017-08-24T05:24:36+00:00"}
{"reqId":"WZ@0lFt5TiIAABl-7rkAAAF9","level":0,"time":"2017-08-25T05:24:36+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ@11Ft5TiIAAF0eraQAAAE-","level":0,"time":"2017-08-25T05:29:56+00:00","remoteAddr":"88.199.88.94","user":"--","app":"no app in context","method":"GET","url":"\/cloud\/index.php\/apps\/files\/?dir=\/&fileid=3","message":"Current user is not logged in"}
{"reqId":"WZ@111t5TiIAAF0ereQAAAE-","level":0,"time":"2017-08-25T05:29:59+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : "}
{"reqId":"WZ@111t5TiIAAF0ereQAAAE-","level":0,"time":"2017-08-25T05:29:59+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : "}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\DeleteOrphanedItems with arguments : "}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned system tag relations deleted"}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned user tag relations deleted"}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned comments deleted"}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned comment read marks deleted"}
{"reqId":"WZ-EsFt5TiIAAF0etnAAAAE@","level":0,"time":"2017-08-25T06:33:21+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\DeleteOrphanedItems with arguments : "}
{"reqId":"WZ-FeFt5TiIAAF0ABtYAAAC-","level":0,"time":"2017-08-25T06:36:40+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}
{"reqId":"WZ-FeFt5TiIAAF0ABtYAAAC-","level":0,"time":"2017-08-25T06:36:40+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}
{"reqId":"WZ-GJFt5TiIAAF0et7YAAAE9","level":0,"time":"2017-08-25T06:39:32+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash with arguments : "}
{"reqId":"WZ-GJFt5TiIAAF0et7YAAAE9","level":0,"time":"2017-08-25T06:39:32+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash with arguments : "}
{"reqId":"WZ-GU1t5TiIAAF0et9oAAAE@","level":0,"time":"2017-08-25T06:40:19+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ-GU1t5TiIAAF0et9oAAAE@","level":1,"time":"2017-08-25T06:40:19+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Invalidating tokens older than 2017-08-24T06:40:19+00:00"}
{"reqId":"WZ-GU1t5TiIAAF0et9oAAAE@","level":0,"time":"2017-08-25T06:40:19+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ-GWVt5TiIAAF0et@gAAAE-","level":0,"time":"2017-08-25T06:40:25+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files_Versions\\BackgroundJob\\ExpireVersions with arguments : "}
{"reqId":"WZ-GWVt5TiIAAF0et@gAAAE-","level":0,"time":"2017-08-25T06:40:25+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files_Versions\\BackgroundJob\\ExpireVersions with arguments : "}
{"reqId":"WZ-GXFt5TiIAAF0AB1UAAAC@","level":0,"time":"2017-08-25T06:40:28+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files_Sharing\\DeleteOrphanedSharesJob with arguments : "}
{"reqId":"WZ-GXFt5TiIAAF0AB1UAAAC@","level":0,"time":"2017-08-25T06:40:28+00:00","remoteAddr":"88.199.88.94","user":"--","app":"DeleteOrphanedSharesJob","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned share(s) deleted"}
{"reqId":"WZ-GXFt5TiIAAF0AB1UAAAC@","level":0,"time":"2017-08-25T06:40:28+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files_Sharing\\DeleteOrphanedSharesJob with arguments : "}
{"reqId":"WZ-GbFt5TiIAAF0euBgAAAE3","level":0,"time":"2017-08-25T06:40:44+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : "}
{"reqId":"WZ-GbFt5TiIAAF0euBgAAAE3","level":0,"time":"2017-08-25T06:40:44+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\ScanFiles with arguments : "}
{"reqId":"WZ-GtVt5TiIAAF0AB-sAAAC1","level":0,"time":"2017-08-25T06:41:57+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ-GtVt5TiIAAF0AB-sAAAC1","level":1,"time":"2017-08-25T06:41:57+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Invalidating tokens older than 2017-08-24T06:41:57+00:00"}
{"reqId":"WZ-GtVt5TiIAAF0AB-sAAAC1","level":0,"time":"2017-08-25T06:41:57+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OC\\Authentication\\Token\\DefaultTokenCleanupJob with arguments : "}
{"reqId":"WZ-Hglt5TiIAAF0ACF4AAAC8","level":0,"time":"2017-08-25T06:45:22+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Started background job of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}
{"reqId":"WZ-Hglt5TiIAAF0ACF4AAAC8","level":0,"time":"2017-08-25T06:45:22+00:00","remoteAddr":"88.199.88.94","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished background job, the job took : 0 seconds, this job is an instance of class : OCA\\Files\\BackgroundJob\\CleanupFileLocks with arguments : "}

Browser log

Insert your browser log here, this could for example include:
a)
Content Security Policy: Dyrektywa „frame-src” jest przestarzała. Zamiast niej należy używać dyrektywy „child-src”.  (nieznane)

JQMIGRATE: Migrate is installed, version 1.4.0  jquery-migrate.min.js:2:542

Deprecation warning: tipsy is deprecated. Use tooltip instead.

#2

Is there anyone who can help me solve problem?


#3

Adding this in to my .htaccess solved problems.

   <Limit GET POST>
    order allow,deny
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order allow,deny
    allow from all
    </Limit>

#4

Hi @pr0woKator ,
is there a specific place where you added the lines? i have the same problem - connected external storage SMB/CIFS … and i get all sorts of Errors.

I appreciate the help.