Samba External storage unavailable after upgrade to 10.5

After upgrading to Owncloud 10.5 (docker image change) samba external storage is not accessible anymore (used to work fine with Owncloud 10.4)

  • Samba server itself is available. I made sure it is up by accessing it using other clients.
  • Owncloud external storage configuration shows green icon. (if I introduce some incorrect credentials, icon turns to red, so Owncloud server can reach the samba server)
  • Permission of files in samba is ok (I also tried with 777 permission - same result)


Server responds on HTTP GET with 503.

Not relevant here, but I use Traefik reverse proxy for the owncloud docker container in order to enable https.

Server logs taken with docker-compose logs do not show much info. I did not find a way to increase logging level in owncloud docker looking through documentation. Any advice is welcome.
This is the log that I have:

x.x.x.x - - [15/Aug/2020:15:01:13 +0000] "GET / HTTP/1.1" 302 676 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:13 +0000] "GET /apps/files/ HTTP/1.1" 200 5976 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:14 +0000] "GET /core/js/oc.js?v=116297286a5608c0100b98dfcb82cb05 HTTP/1.1" 200 5681 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:14 +0000] "GET /apps/gallery/config?extramediatypes=1 HTTP/1.1" 200 745 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:14 +0000] "GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 791 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:15 +0000] "PROPFIND /remote.php/dav/files/gasiminei/ HTTP/1.1" 207 4947 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:15 +0000] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F HTTP/1.1" 200 832 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:15 +0000] "GET /ocs/v1.php/apps/files_external/api/v1/mounts?format=json HTTP/1.1" 200 828 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:15 +0000] "GET /index.php/apps/files_external/userglobalstorages/2?testOnly=false HTTP/1.1" 200 883 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
127.0.0.1 - - [15/Aug/2020:15:01:20 +0000] "GET /status.php HTTP/1.1" 200 1085 "-" "curl/7.68.0"
x.x.x.x - - [15/Aug/2020:15:01:31 +0000] "GET /remote.php/webdav/SMB-Share HTTP/1.1" 503 8630 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
x.x.x.x - - [15/Aug/2020:15:01:31 +0000] "GET /core/js/oc.js?v=116297286a5608c0100b98dfcb82cb05 HTTP/1.1" 200 5681 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36"
127.0.0.1 - - [15/Aug/2020:15:01:50 +0000] "GET /status.php HTTP/1.1" 200 1091 "-" "curl/7.68.0"

You can use OWNCLOUD_LOG_LEVEL=0 in the environment variables (docker compose file) and restart the container. That way you can enable debug logs.

There should be exceptions in the log file though.

You can also try to set a domain in the SMB configuration. “WORKGROUP” usually works if you don’t have a better one.

1 Like