Can't get Syncthing to work with music folder

I want to sync my music folder between my computer and my homelab, but I can’t get syncthing to use the data/music folder. This is the error I get in syncthing:

Failed to create folder marker (folder.label=Music folder.id=mkkac-qjan9 folder.type=sendreceive error="mkdir /music/.stfolder: permission denied" log.pkg=model)

Failed initial scan (error="folder marker missing (this indicates potential data loss, search docs/forum to get information about how to proceed)" folder.label=Music folder.id=mkkac-qjan9 folder.type=sendreceive log.pkg=model)

I’m trying to add a new volume in user config like so: ${ROOT_FOLDER_HOST}/media/data/music:/music

error.log is empty.
app.log

2026-03-05T19:34:09.733Z - info >     App syncthing:migrated restart completed successfully
2026-03-05T19:35:07.334Z - info >     Stopping app syncthing:migrated
2026-03-05T19:35:07.336Z - info >     Pruned containers: null Space reclaimed: 0 MB
2026-03-05T19:35:07.365Z - info >     Allocated subnet 10.128.15.0/24 for app syncthing:migrated
2026-03-05T19:35:07.379Z - info >     Regenerating app.env file for app syncthing:migrated
2026-03-05T19:35:07.495Z - info >     Running docker compose with args --env-file /app-data/migrated/syncthing/app.env --env-file /data/user-config/migrated/syncthing/app.env --project-name syncthing_migrated -f /data/apps/migrated/syncthing/docker-compose.generated.yml --file /data/user-config/migrated/syncthing/docker-compose.yml down --remove-orphans
2026-03-05T19:35:14.531Z - info >     App syncthing:migrated stopped successfully
2026-03-05T19:35:14.534Z - info >     App syncthing:migrated stop completed successfully

runtipi debug

⚠️ Make sure you have started tipi before running this command
--- System information ---
┌──────────────┬───────┐
│ OS           │ linux │
│ OS Version   │ 24.04 │
│ Memory (GB)  │ 7.64  │
│ Architecture │ amd64 │
└──────────────┴───────┘

--- Tipi configuration ---
┌───────────────────────────┬────┐
│ Custom tipi docker config │ No │
│ Custom environment file   │ No │
└───────────────────────────┴────┘

--- Settings.json ---
{
  "advancedSettings": true,
  "allowAutoThemes": true,
  "allowErrorMonitoring": true,
  "appDataPath": "/home/obspogon/runtipi",
  "appsRepoUrl": "https://github.com/runtipi/runtipi-appstore",
  "demoMode": false,
  "dnsIp": "9.9.9.9",
  "domain": "\u003credacted\u003e",
  "eventsTimeout": 5,
  "experimental": {
    "insecureCookie": false
  },
  "forwardAuthUrl": "http://runtipi:3000/api/auth/traefik",
  "guestDashboard": false,
  "internalIp": "192.168.2.60",
  "listenIp": "192.168.2.60",
  "localDomain": "cyber.city",
  "logLevel": "info",
  "maxBackups": 3,
  "persistTraefikConfig": false,
  "port": 80,
  "postgresPort": 5432,
  "sslPort": 443,
  "themeBase": "slate",
  "themeColor": "blue",
  "timeZone": "America/New_York"
}

--- Environment variables ---
┌───────────────────────┬──────────────────────────────────────────────────────────────────┐
│ POSTGRES_PASSWORD     │ <redacted>                                                       │
│ RABBITMQ_PASSWORD     │ <redacted>                                                       │
│ APPS_REPO_ID          │ 29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903 │
│ APPS_REPO_URL         │ https://github.com/runtipi/runtipi-appstore                      │
│ TIPI_VERSION          │ v4.7.2                                                           │
│ INTERNAL_IP           │ 192.168.2.60                                                     │
│ ARCHITECTURE          │ amd64                                                            │
│ JWT_SECRET            │ <redacted>                                                       │
│ ROOT_FOLDER_HOST      │ /home/obspogon/runtipi                                           │
│ RUNTIPI_APP_DATA_PATH │ /home/obspogon/runtipi                                           │
│ NGINX_PORT            │ 80                                                               │
│ NGINX_PORT_SSL        │ 443                                                              │
│ DOMAIN                │ <redacted>                                                       │
│ POSTGRES_HOST         │ runtipi-db                                                       │
│ POSTGRES_DBNAME       │ tipi                                                             │
│ POSTGRES_USERNAME     │ tipi                                                             │
│ POSTGRES_PORT         │ 5432                                                             │
│ RABBITMQ_HOST         │ runtipi-queue                                                    │
│ RABBITMQ_USERNAME     │ tipi                                                             │
│ DEMO_MODE             │ false                                                            │
│ LOCAL_DOMAIN          │ cyber.city                                                       │
└───────────────────────┴──────────────────────────────────────────────────────────────────┘

--- Docker containers ---
┌─────────────────────┬──┐
│ No containers found │  │
└─────────────────────┴──┘
^ If a container is not 'Up', you can run the command `docker logs <container_name>` to see the logs of that container.

UPDATE: I tried to sync a folder to /media/data/syncthing without a user config and I got the same error. here’s the logs when I tried to sync from Syncthing

syncthing-1  | 2026-03-06 00:00:49 INF Additional device connection (device=RJZTWIK address=192.168.2.19:22000 count=2 log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 INF Adding folder (folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 ERR Failed to create folder root directory (folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive error="mkdir /media/data/syncthing/help: permission denied" log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 INF Ready to synchronize (folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 ERR Failed initial scan (error="folder path missing" folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 WRN Error on folder (error="folder path missing" folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 WRN Folder is in error state (folder=63fhx-2vntb error="folder path missing" log.pkg=model)
syncthing-1  | 2026-03-06 00:00:56 INF Peer has a new index ID (device=RJZTWIK folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive indexid=0x889918EE9F179518 log.pkg=model)
syncthing-1  | 2026-03-06 00:01:08 INF Removing folder (folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:01:08 INF Removed folder (folder.label="SRB2 Save" folder.id=63fhx-2vntb folder.type=sendreceive log.pkg=model)
syncthing-1  | 2026-03-06 00:01:26 INF Ignoring announced folder (folder.label=Music folder.id=mkkac-qjan9 device=RJZTWIK log.pkg=model)

SOLVED: i set PUID and GUID to 0 instead.