Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The smb protocol is not available

Aperta
#619 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, helm, kubernetes

Direzione di ricerca

Inizia con il Dockerfile e la configurazione Helm citati nel report, quindi riproduci il montaggio di una condivisione esterna SMB/CIFS usando l’immagine predefinita del chart. Traccia il modo in cui l’immagine fornisce smbclient e il modo in cui il pod lo esegue; il lavoro è completato quando il deployment predefinito può aggiungere e usare condivisioni SMB senza modifiche manuali a init-container o hook.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs info question

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.
image

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:

  1. run an init container that installs smbclient and puts it on a mounted folder which is read in the PATH variable (worked partially)
  2. 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)
    image

  • 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!

Lingua principale
Go Template
Stelle
537
Fork
317
Merge medio
2g 3h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/helm

Tutte le issue di nextcloud/helm

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.