Hi
I have Nextcloud installed on my Rockstor Nas but need to install smb-client or php-smbclient for use the external storage from my other NAS. How do I install that in the prober way?
I’ve a Western Mycloud NAS and an old Zyxel 326
Hi
I have Nextcloud installed on my Rockstor Nas but need to install smb-client or php-smbclient for use the external storage from my other NAS. How do I install that in the prober way?
I’ve a Western Mycloud NAS and an old Zyxel 326
@nicklas, since Rockstor offers Samba as a sharing technology, it not only has the server components but also the client already installed since both are part of the corresponding package. So you should be able to use smbclient
with the appropriate command options and switches at the command line to connect to your other NAS.
@Hooverdan I get this when I try to setup smb connection in Nextcloud
I was thinking that you create the samba connections by mounting them on Rockstor itself. I would then expect Nextcloud to see them as a “local” share and be able to read/write.
If you want NextCloud to do it, then the NextCloud container underlying the Rockon will need to have the smbclient or php-smbclient installed.
This you can do directly inside the container, however that is only temporary (i.e. as soon as the Rockon is restarted that will be lost), so would only be for testing. The only other option I see (after some searching) is to either create your own custom docker container based on the NextCloud one, which will contain the smbclient or find one that someone else has published with the appropriate libraries installed.
A comment, on the first option:
smbclient
within the Nextcloud container itself.Rockstor is currently using the community maintained NextCloud docker container for the Rockon definition. There is also a All-in-One version which contains everything but the kitchen sink, which is the official one.
There is already an open issue on the Rockon repo on github to implement the AiO image, however it’s not quite as straight forward due to requirements that are conflicting with Rockstor’s standard setup, which is why it has not been completed:
So, I think if you can figure out the SMB share mounting on Rockstor directly and then have NextCloud pick them up, that might be the simpler approach.