The smb protocol is not available
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
- Ambito
- devops, infrastructure
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
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!
- Lingua principale
- Go Template
- Stelle
- 537
- Fork
- 317
- Merge medio
- 2g 3h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/helm
-
No native support for REDIS_USER enviroment varForse già presa @jholmes802 l’ha presa 10 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Failed to inspect imageAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Nextcloud pods run as the namespace's default service account: the chart's account is only created with rbac.enabled, which binds the removed PodSecurityPolicyForse già presa @martin-mat l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
-
nextcloud.openmetrics.allowedClients is silently ignored unless nextcloud.configs is setForse già presa @JanWelker l’ha presa 26 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
Tutte le issue di nextcloud/helm
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bioconda/bioconda-recipes#70401 ·
I maintainer di solito rispondono entro 2 giorni
-
a11y data import fails with "missing --authors parameter" (npm drops flags in `bin/configure.js`)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
agentic-workflows Needs: Triage :mag:
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
amnezia-vpn/amnezia-client#3297 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug o&m
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
GSA/datagov-harvester#1024 ·
I maintainer di solito rispondono entro 1 giorno