Giter VIP home page Giter VIP logo

Comments (36)

BR0KK avatar BR0KK commented on May 27, 2024 6

Would like to knwo this to. This is a Feature i miss from Owncloud (OC has this working OOTB)

Installed from SNAP today and still get this "smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.
error

Installing php-smbclient dioes not resolve this issue

from nextcloud-snap.

JSchimmelpfennig avatar JSchimmelpfennig commented on May 27, 2024 2

I'm using nextcloud-snap in my Ubuntu LXC on Proxmox and I would really appreciate if I can mount my samba share. After enabling the external storage app in nextcloud I get the following message: ""smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it."

After doing "apt install smbclient" the message didn't change. Any ideas?

from nextcloud-snap.

wouterAA avatar wouterAA commented on May 27, 2024 1

I could really use this feature. One of the reasons I bought the Owncloud box was to have a web interface to my external samba shares. For now I configured it over SFTP but I would really like to just the samba shares.

from nextcloud-snap.

fishscene avatar fishscene commented on May 27, 2024 1

I too would like to see this feature.
This was opened several months ago - is there a status update on where this might be at? (planning/on roadmap/etc..?)

Thanks!

from nextcloud-snap.

kyrofa avatar kyrofa commented on May 27, 2024 1

Whoops, bad merge. Let's try that again.

from nextcloud-snap.

devz3r0 avatar devz3r0 commented on May 27, 2024 1

#272
Hi I opened an issue because of a connecting problem.

from nextcloud-snap.

yukiyukiharu avatar yukiyukiharu commented on May 27, 2024 1

Hello!
Are there any options to solve this issue? Does anyone know of some alternative methods?
We extremely need smbclient for our tasks..

from nextcloud-snap.

adb336 avatar adb336 commented on May 27, 2024 1

Dear all, after reading this issue the SNAP developers have some options:

  1. integrate smbclient from the SAMBA suite and php-smbclient or PECL [Package :: smbclient] into the snap. The issue with ARM depends on HW architecture used. Those using ARM normally don't have issues with the original SAMBA or PECL packages. If the SNAP maintainer have those issues it would be helpful to know details about their issues.
  2. add an optional SNAP with SAMBA support and connect from the Nextcloud SNAP to this SAMBA SNAP.
  3. connect Nextcloud SNAP with SAMBA installation on SNAP host.

For the users I actually see only the alternative to NOT use the Nextcloud SNAP but to install Nextcloud directly onto the host with SAMBA enabled. On the Nextcloud doc-server is a description how to activate SAMBA with Nextcloud.

Kind regards,

from nextcloud-snap.

taschenlampe avatar taschenlampe commented on May 27, 2024

Would like to see this feature too. Regards.

from nextcloud-snap.

kyrofa avatar kyrofa commented on May 27, 2024

I personally have very little experience with samba, so I'm probably not the right person to be playing with this. As such, as far as I'm concerned, this is currently not on the roadmap. I'm of course willing to accept contributions for this though, as long as it doesn't bloat the snap too much or introduce security concerns.

from nextcloud-snap.

fishscene avatar fishscene commented on May 27, 2024

Thanks for the fast response, @kyrofa.

I have decent experience getting samba running on Ubuntu. But zero experience with programming or integrating anything with a web interface.
Since samba/cifs is heavily used by many folks (even if they don't realize they are using it), I can imagine a lot of folks looking forward to this feature - especially if they have a home NAS. If anyone is capable of providing a PR for this, know that I would be very appreciative of your work.

I can of course, dabble, but if I do submit a PR, it would require heavy scrutinizing.

from nextcloud-snap.

kyrofa avatar kyrofa commented on May 27, 2024

Sorry everyone, #272 found enough issues to revert the samba feature so as to not block release of security updates. We're still working on it.

from nextcloud-snap.

 avatar commented on May 27, 2024

Hi, are there any updates as to when SMB client will be added?

from nextcloud-snap.

kyrofa avatar kyrofa commented on May 27, 2024

Sorry folks, we still haven't managed to get this working on all architectures. Help wanted.

from nextcloud-snap.

ljoets avatar ljoets commented on May 27, 2024

Same problem here.
How can I help ?

from nextcloud-snap.

floydu avatar floydu commented on May 27, 2024

Is there any solution for this issue???

from nextcloud-snap.

szaimen avatar szaimen commented on May 27, 2024

Is there any solution for this issue???

For now probably only this: #548 (comment)
(Please also don't forget to enable removable-media for the snap first)

from nextcloud-snap.

kyrofa avatar kyrofa commented on May 27, 2024

For any future readers, note that samba is not supported because we cannot seem to get it to work on arm. See #272 for details. We haven't managed to figure out why it's broken, but we would definitely like this feature if anyone in the community knows.

from nextcloud-snap.

vizion8-dan avatar vizion8-dan commented on May 27, 2024

Hi, sorry I can't provide help with this and must admit that I know nothing about snap, but is ARM support such a big deal for this nextcloud snap? And could the smb support not be disabled (dynamically) if "on" arm?

(Would really like to see smb in this snap and am running it only on x86)

😉

from nextcloud-snap.

agentflippy5 avatar agentflippy5 commented on May 27, 2024

I'm running the NextCloud on a Raspberry Pi and would very much appreciate the ability to add samba shares - but it's understandable if that has to come after x86 support is released :)

This isn't possible on all types of servers with Samba shares, but in case anyone else is wanting to access shares from a Windows computer, the workaround I'm using is by running an SFTP server within the Windows Subsystem for Linux. As long it stays working that way I would prefer using SFTP over SMB anyway

from nextcloud-snap.

xlorepdarkhelm avatar xlorepdarkhelm commented on May 27, 2024

I'm using nextcloud-snap in my Ubuntu LXC on Proxmox and I would really appreciate if I can mount my samba share. After enabling the external storage app in nextcloud I get the following message: ""smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it."

After doing "apt install smbclient" the message didn't change. Any ideas?

The problem is that it has to be inside the snap, which is self-contained and doesn't pay attention at all to the outside environment. Installing smbclient in the outside environment is pretty worthless for this, unfortunately. The snap doesn't use apt, for example.

from nextcloud-snap.

3Dscrewer avatar 3Dscrewer commented on May 27, 2024

Work around
Edit fstab
insert
//xxx.xxx.xxx.xxx/name of drive /mnt/xxxx cifs domain=name-of-your-pc,user=xxxx,password=xxx,uid=1000,gid=1000,sec=ntlmssp,nodev,nosuid,noexec 0 0
(tested and using at Ubuntu 18.XX and 20.04.2)
first xxxx represents your ip of the share
name of drive is not G: or other, but the name you have given, in my case musicbase
name of your pc is the name you have given to your pc you can find it in LAN
user should be known for access
password the same

There is another, a bit saver version where you put your name and password in a file credentials. I don't use it, because nextcloud is behind a stand alone reverse proxy and is running in a VM

//192.168.168.4/musik /mnt/Musik cifs credentials=/home/ncadmin/.smbcredentials 0 0

.smbcredentials looks like
username=xxxx
password=xxxxxx

This is not tested

BUT you can only use one folder /mnt/xxxx is working /mnt/xxxx/xxxx/ is not working
what I would say, if you are creating /mnt/shares/root you can add the root of the drive, but not /mnt/shares/root/single folder
example /mnt/1/music/ is working /mnt/shares/1/music/ not

If edited fstab, reboot and have a look if the files in /mnt you want, keep in mind you can only use /mnt or /media
If every thing went well, you can add the files in the NC external app as local give the path as /mnt or /media

I'm not sure may be there is a need for "sudo snap connect nextcloud:removable-media" I have done and also
"sudo snap connect nextcloud:network-observe"

from nextcloud-snap.

github-actions avatar github-actions commented on May 27, 2024

This issue is stale because it has been without activity for 60 days. It will be closed after 7 more days of inactivity.

from nextcloud-snap.

GenocideStomper avatar GenocideStomper commented on May 27, 2024

I'd still love to see SMB support implemented officially.

from nextcloud-snap.

reinvantveer avatar reinvantveer commented on May 27, 2024

Me too. Editing fstab isn't much of a blocker, but support out of the box on my Pi would be very nice.

from nextcloud-snap.

depawlur avatar depawlur commented on May 27, 2024

SMB is officially supported by nextcloud for some time already. Best feature is near-realtime listener for any changes made on the share.
looks like smbclient and php smbclient are required for it to work.

from nextcloud-snap.

agentflippy5 avatar agentflippy5 commented on May 27, 2024

@depawlur To my knowledge, it still does not work on ARM, at least not within the snap. Although it's been a minute since I've tried it.

from nextcloud-snap.

lupp0l0 avatar lupp0l0 commented on May 27, 2024

Hello! Are there any options to solve this issue? Does anyone know of some alternative methods? We extremely need smbclient for our tasks..

The issue is still there. Mounting the share in fstab is not a viable option for me because I need to use user credentials to authenticate to the server in order to obey ACLs in the filesystem.
A similar issue seems to be present in the Docker image too.

from nextcloud-snap.

playtoncz avatar playtoncz commented on May 27, 2024

Hello, I was just wondering, any news about this problem?

from nextcloud-snap.

lupp0l0 avatar lupp0l0 commented on May 27, 2024

Hello, I was just wondering, any news about this problem?

I ended up installing NetxCloud from sources instead of using snap package.

from nextcloud-snap.

GettingNowhere avatar GettingNowhere commented on May 27, 2024

Can you tell me where this "sources" is so I can get rid of this snap only OS?

from nextcloud-snap.

kushalgoaten avatar kushalgoaten commented on May 27, 2024

if i install nextcloud directly (not using snap) on ubuntu will i have the option for adding smb ?

from nextcloud-snap.

lupp0l0 avatar lupp0l0 commented on May 27, 2024

if i install nextcloud directly (not using snap) on ubuntu will i have the option for adding smb ?

Yes, it will work if not installed as a snap package

from nextcloud-snap.

szaimen avatar szaimen commented on May 27, 2024

Another possibility is Nextcloud AIO which comes with smb-support out-of-the-box.

from nextcloud-snap.

tjvanpat avatar tjvanpat commented on May 27, 2024

Has there been any progress on this issue?

SMB/CIFS should be considered required functionality for file-sharing software. It's surprising (and disappointing) to only find out after installing and setting up Nextcloud that it's not included, meaning my time was wasted.

from nextcloud-snap.

RosinSmoke avatar RosinSmoke commented on May 27, 2024

It's getting pretty ridiculous. Had to use someone else's version of snap package since v14 because of this feature missing. Why is php-smbclient not included in the default build, is it really not possible to ship arm version separately?

from nextcloud-snap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.