Open XDDK opened 3 months ago
See https://github.com/nextcloud/helm/issues/205#issuecomment-2252118329 for an example.
I've tried multiple solutions to fix this myself besides changing the Dockerfile because I have to run an image that will not always be up with the helm configuration standards.
Extending the Dockerfile is the correct way. I'm not clear what you mean by "have to run an image that will not always be up with the helm configuration standards" so I'm not able to respond to that part of your statement. Can you clarify what you mean?
The issue is simple and opened in multiple places because the nextcloud image doesn't install the required dependencies for the smbshare in the Dockerfile.
"smbclient" is not installed. Mounting of "SMB/CIFS", "SMB/CIFS using OC login" is not possible. Please ask your system administrator to install it.
I've tried multiple solutions to fix this myself besides changing the Dockerfile because I have to run an image that will not always be up with the helm configuration standards.
Solutions tried:
The first solution worked partially, meaning nextcloud saw the binary and recognised the smb protocol allowing me to add a smb external share but I do get this error when adding it (with same info as in my local machine, nb I also checked the ping to the server and is good from the container)
The second solution didn't work at all because of multiple issues with the permissions and I don't want to give root permissions to the entire pod and to all of my containers.
Can anyone help me in order to solve this until nextcloud fixes this feature in the helm charts? Nextcloud contributors, please consider adding this to the default installation.
Thank you everyone!