You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
run an init container that installs smbclient and puts it on a mounted folder which is read in the PATH variable (worked partially)
run a before-starting hook to install the smbclient and/or the php-smbclient (didn't work)
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: