Unable to add root folder - [Fatal] SonarrErrorPipeline: Request Failed. POST /api/v3/rootFolder

Sonarr version: 4.0.3.1413
Mono version (if Sonarr is not running on Windows):
OS: Alpine Linux v3.19
Debug logs: sonarr.trace.txt - Pastebin.com
Description of issue:
In Sonarr, trying to ‘add root folder’: I can browse to and select the library folder on my NAS share. Click on OK results in error: Dokcer_Consoler_out.txt - Pastebin.com (=Docker console output)

Additional Information:
In radarr I’m facing the same error.
For SabNZBd and qbittorrent, both uses the same share, the file access is working as expected (read/write)
From the Sonarr image console, I can read and write folders and files on this share

I already tried to solve the problem by:

  • remove and re-download all the images (Sonarr, Radarr, Sabnzbd, …)
  • remove Ubuntu WSL image and reïnstall
  • update WSL
  • Tried with and without wsl2 config for networkingMode=mirrored
  • update all docker images to the latest release.
  • restart Host and NAS

Windows11+WSL2+Docker
Windows 11 version: 23H2 (OS Build 22631.3296)
WSL version: 2.1.5.0
Ubuntu version: 22.04.4 LTS (Jammy Jellyfish)
my docker compose file = compose.yaml - Pastebin.com

Log instructions explicitly say not to use pastebin.

Why are you using Docker on Windows?