Unable to add SMB storage: directory not found

It’s a fresh install. I have installed smbclient and enabled external storage in owncloud settings.
My smb server is on another machine and I have confirmed that I can access it and list files using smbclient via command line.

Storage settings visible below.

I then visit Files → External Storage → click on folder “media”. I get redirected to main Files page and get an error message: Directory “/media” not found.

Not sure how to debug this further.

Server configuration

Operating system: Debian 12, 6.5.13-3-pve

Web server:

Database:

PHP version:

ownCloud version: 10.14.0.3

Updated from an older ownCloud or fresh install: fresh install

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Forum says I can’t include links??
pastebin com/qz5a1ci6

You can try to install the libsmbclient-php library (some instructions in Server Preparation for Ubuntu 22.04) It’s for ubuntu, but the basics is the same: install the package, enable the php module and restart the server.

If that still doesn’t work, you can also try to connect to a remote subfolder instead of the root of the share.

I’ve installed php smbclient per your suggestion, and restarted apache. Then restarted whole server just to make sure. It still does not work.
Tried to mount a subfolder and got the same error.

I give up. Will mount my storage by other means.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.