[Script Request] SMB share into Nextcloud

Hi @dragonfire1119 , first of all, thank you so much for all the help.

I want to add a network drive to my Nextcloud that is only possible through SMB share.
To do that, it’s required to have the php smbclient. In a normal LXC container I would just “apt install smbclient”, but with CasaOS, I don’t know how to perform it making it permanent.

Can you please explain how can I do it? Or is it possible to get a script that performs that?
Really appreciate the support.

Hi @dragonfire1119 , could you please add in Nextcloud container the library libsmbclient-php ?

You would need to mount the SMB on the host, then change the host path on the nextcloud app in the CasaOS App Settings.

@dragonfire1119 I have the SMB mounted on the host. I simply cannot use it on Nextcloud as I’m missing that php lib (libsmbclient-php).

This has been added to BigBearCasaOS:

1 Like

Hi @dragonfire1119 , I just installed this, but instead of a new App, couldn’t we have the same?
Having two will bring extra difficulty to maintain due to duplicated efforts. As an example, now I’m not able to use the script for the trusted domain. A new one would be needed to fix this app.
If using the same app, always bringing SMB that will leverage a basilar nextcloud functionality, the maintenance would be much more practical and everyone would be able to leverage it.

Also, I’m dealing with a new installation, but for other users who may not be the case and need to use SMB, they would have another effort to migrate the data. Could you please consider to merge SMB on the main nextcloud? Thank you for all the help.

Hello, the big-bear nextcloud has been moved over to using:

This is awesome! Already tested and it’s working fine! Thank you @dragonfire1119 ! :raised_hands:

1 Like

Awesome, glad it’s working for you! You’re welcome!