Please use the search function of this forum FIRST nexyt time, before creating new thread covering a problem which has already been adressed in this thread.
i did and it did not help me. I sorted it out anyways this is how i got it to work for anyone else searching:
what i did was mount the share to the host (unraid in this case). Then i mapped that mount in the docker to the media folder. In nextcloud instead of SMB/CIFS (external storage) i used local