owncloud / owncloud/core

External storage support with windows server 2022 showing not all files / folders

Open
#41,187 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Bug
Dominant language
PHP
Stars
8.8k
Forks
2.1k
Avg merge
20h 7m
Merged PRs (30d)
41

Description

Describe the bug

I'm using Ubuntu 22.04 / ownCloud 10.13.4 (stable) in a docker container and mysql 8 in a docker container with enabled external smb storage.
The external storage became green after configuration, but when I login as the user itself in the user space, it shows only the root file share but not all sub files/folders! This happens for some user, but one user has some subfolders but not everthing is showing up.

I tried so far:

  • smbclient from inside the owncloud docker container is fine, everything is browseable and like it should be.
  • I have updated the docker container with apt-get and tried to update smbclient/php.
  • I have disabled all unneeded apps like sharing, federation etc.
  • Enabled "Windows Network Drive" Enterprise Feature is working, but it's not desired!!!

My Docker config
docker run --name owncloud --network="intern" --restart=always
-e OWNCLOUD_ADMIN_USERNAME=root
-e OWNCLOUD_ADMIN_PASSWORD=xxx
-e OWNCLOUD_DB_TYPE=mysql
-e OWNCLOUD_DB_NAME=owncloud_db
-e OWNCLOUD_DB_USERNAME=owncloud
-e OWNCLOUD_DB_PASSWORD=xxx
-e OWNCLOUD_DB_HOST=mysql
-e OWNCLOUD_SUB_URL=/owncloud
-e OWNCLOUD_TRUSTED_DOMAINS="xxx"
-d -p 8082:8080 owncloud/server

docker run --name mysql --network="intern" --restart=always -e MYSQL_ROOT_PASSWORD=xxx -v bind-address=0.0.0.0 -d -p 3306:3306 -p 33060:33060 mysql:latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the missing subfiles and folders with the reported ownCloud, Docker, MySQL, and Windows Server 2022 setup, comparing affected users and SMB client results; done means all expected folders appear without enabling the Windows Network Drive Enterprise Feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mysql, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.