Hello,
My configuration:
Docker ownCloud 9.1 - https: //hub.docker.com/_/owncloud/
Docker nginx reverse proxy - https: //hub.docker.com/r/jwilder/nginx-proxy/
Docker letsencrypt - https: //hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/
I had the same problem as joseph. And he’s right. The instructions leave a lot to be desired for those who don’t make their living off computer admin. The following should help get those with some admin knowledge pointed in the right direction.
PECL (https: //pecl.php.net/) is an PHP extension repository.
pecl install smbclient
is the command issued on the command line to install
smbclient
If your ownCloud server is configured like mine was you’ll get the following error after attempting to install smbclient
:
configure: error: Could not find libsmbclient.h
See https: //github.com/eduardok/libsmbclient-php/issues/42 to learn how to defeat the error. The cliff notes version is:
You need to install package libsmbclient-dev. That is the package that provides libsmbclient.h.
Then comes the problem of modifying php.ini
with:
extension=“smbclient.so”
Where the F is php.ini
located? See https: //www.ostraining.com/blog/coding/phpini-file/ to find out how to identify where php.ini
is located.
The output will look something like the following:
php.ini
was not initially in /usr/local/etc/php/conf.d
. Creating the file is a simple matter of using the touch
command and then a text editor (https: //itsfoss.com/command-line-text-editors-linux/) to insert:
extension=“smbclient.so”
After restarting ownCloud and getting the necessary smb server information entered correctly external storage works like a champ.
Regards,
Jake
P.S. Sorry about the formatting of the web links. The “man” doesn’t trust new users with more than two hyperlinks.