Skip to content
This repository was archived by the owner on Jan 3, 2019. It is now read-only.

Conversation

@hemsleyk
Copy link

Not having SMB support in the image triggers a warning when viewing external storage options. SMB support is very important for on-prem deployments where the files are backed by a Windows server. The base image should really have this owncloud feature. Only applied change to 9.1.

@hemsleyk hemsleyk mentioned this pull request Aug 25, 2016
@yosifkit
Copy link
Member

Is this worth the additional space for all users or would it be better to document a simple Dockerfile?

FROM owncloud:9
RUN apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*

@pierreozoux
Copy link
Contributor

I like the document part.

@danielgusmao
Copy link

danielgusmao commented Dec 10, 2016

Please put one line to install SMBClient

RUN apt-get update && apt-get install -y
bzip2
libcurl4-openssl-dev
libfreetype6-dev
libicu-dev
libjpeg-dev
libldap2-dev
libmcrypt-dev
libmemcached-dev
libpng12-dev
libpq-dev
libxml2-dev
smbclient
&& rm -rf /var/lib/apt/lists/*

@pierreozoux
Copy link
Contributor

Obviously, there is the same request for Nextcloud image.

@yosifkit would it make sense to create yet another tag, say -heavy or -all that ship with:

  • smb
  • imap

and maybe other optional dependencies?

We could actually reduce the size of the base image by moving redis, memcached and pg support to this heavy tag.

@yosifkit
Copy link
Member

yosifkit commented Mar 4, 2017

I think that adding another tag for heavy would just be extra maintenance burden for little gain. We can't provide a Docker image that works for every use case, but we can create a general purpose image that can be easily extended to fit the specific needs of the situation.

As for the specifics on this PR, I would rather not add ~60 MB of packages when I think it would be better to mount the remote files system on the host; that way multiple services could use different parts of the remote storage and you won't need to install smbclient in each of them.

@hemsleyk
Copy link
Author

hemsleyk commented Jun 7, 2017

My issue was that Owncloud / Nextcloud touted app-native SMB mounting pretty heavily in the marketing (e.g. Windows home folders feature, AD integration).

@tianon tianon mentioned this pull request Oct 17, 2017
@tianon tianon mentioned this pull request Nov 20, 2017
@ghost
Copy link

ghost commented Feb 3, 2018

having the same issue here
I tried install smb with
docker exec -it "Container ID" apt-get update && apt-get install -y smbclient && rm -rf /var/lib/apt/lists/*
but going back to the web ui it shows that smbclient is still not installed?

@barnabasbusa
Copy link

Any update on this? I'm desperate to get this docker image working on my unraid server. It would be great if I could just add an existing share to ownCloud using SMB.

@rubo77
Copy link

rubo77 commented Aug 16, 2018

@danielgusmao :

When I try your command in nextcloud apache docker those packages are not existing:

Package libpng12-dev is not available, but is referred to by another package.
E: Unable to locate package lbfreetype6-dev

@rubo77
Copy link

rubo77 commented Aug 16, 2018

You can install smbclient via an extra file in your docker-compose folder. see:

https://stackoverflow.com/a/47907859/1069083

@tianon tianon mentioned this pull request Nov 17, 2018
@yosifkit
Copy link
Member

Closing old issue

@yosifkit yosifkit closed this Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants