Comments (36)
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.
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.
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.
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.
Whoops, bad merge. Let's try that again.
from nextcloud-snap.
#272
Hi I opened an issue because of a connecting problem.
from nextcloud-snap.
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.
Dear all, after reading this issue the SNAP developers have some options:
- 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.
- add an optional SNAP with SAMBA support and connect from the Nextcloud SNAP to this SAMBA SNAP.
- 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.
Would like to see this feature too. Regards.
from nextcloud-snap.
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.
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.
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.
Hi, are there any updates as to when SMB client will be added?
from nextcloud-snap.
Sorry folks, we still haven't managed to get this working on all architectures. Help wanted.
from nextcloud-snap.
Same problem here.
How can I help ?
from nextcloud-snap.
Is there any solution for this issue???
from nextcloud-snap.
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.
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.
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.
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.
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.
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.
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.
I'd still love to see SMB support implemented officially.
from nextcloud-snap.
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.
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.
@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.
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.
Hello, I was just wondering, any news about this problem?
from nextcloud-snap.
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.
Can you tell me where this "sources" is so I can get rid of this snap only OS?
from nextcloud-snap.
if i install nextcloud directly (not using snap) on ubuntu will i have the option for adding smb ?
from nextcloud-snap.
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.
Another possibility is Nextcloud AIO which comes with smb-support out-of-the-box.
from nextcloud-snap.
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.
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)
- Unable to play .mkv video files properly HOT 5
- Upgrade to 27.1.8 to fix "Enforce password protection" bug HOT 6
- nextcloud.enable.https lets-encrypt won't work HOT 3
- Upgrade Nextcloud to 28.0.4 HOT 2
- Upgrade Nextcloud to 27.1.8 HOT 1
- Upgrade Nextcloud to 26.0.13
- Upgrade Apache to 2.4.59
- [Solved] File upload - Toastify is Awesome - notice on file uploading of size > 1 mb HOT 3
- Upgrade PHP to 8.2.18
- Curl errors now showing up in the logs HOT 5
- PHP Vulnerability - CVE-2024-2961 HOT 5
- nextcloud.export not exporting userdata HOT 17
- Update Nextcloud to 29
- Update Nextcloud to 28.0.5
- Update Nextcloud to 27.1.9 HOT 1
- NEXTCLOUD VERSION - still 24 as per security scan of nextcloud HOT 1
- Update MySQL to 8.0.37 HOT 1
- MySQL starting with 8.0.37 requires cmake 3.11.2 or newer
- nextcloud-snap/wiki/Managing-services | error in text + suggestions HOT 14
- Enable dailies for Nextcloud 29 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-snap.