Page 1 of 1
Unable to add root folder
Posted: Sun Jun 15, 2025 10:58 am
by Tealeaf
Hi
I've installed yams and am following the configuration tutorials. When I try to add the data/movies folder to Radarr I get the error message
Unable to add root folder
Path '/data/movies' does not exist
The folder is an smb share. The YAMS user wrote the additional folders, and I can touch test and it will create a document.
Bit of a linux noob, so really appreciate all your help. 
Re: Unable to add root folder
Posted: Sun Jun 15, 2025 12:43 pm
by rogs
Hey @Tealeaf!
Some questions:
- Where did you mount the SMB share?
- Did you set your SMB share as your media directory?
- I know your user has the right permissions to write in the SMB share, but are you sure the user that runs YAMS has permissions to write on the SMB share?
- Have you checked the Radarr logs?
docker logs radarr --follow
Cheers!
Roger.
Re: Unable to add root folder
Posted: Sun Jun 15, 2025 1:35 pm
by Tealeaf
Hi @rogs !
For a little more info, I'm using an lxc so I've mounted the share using this tutorial but with the mount in the lxc named as /mnt/nas
I used /mnt/nas as my media directory (I have also tried changing the puid and pgid to 1000, however my user should be 1001)
Code: Select all
# Base configuration
PUID=1001
PGID=1001
MEDIA_DIRECTORY=/mnt/nas
INSTALL_DIRECTORY=/opt/yams
MEDIA_SERVICE=jellyfin
I installed it with the user that has permissions to write in the SMB share, how do I check that is the correct user that runs YAMS?
This is the print out to docker logs radarr --follow
Code: Select all
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1001
User GID: 1001
───────────────────────────────────────
Linuxserver.io version: 5.26.2.10099-ls276
Build-date: 2025-06-15T04:52:48+00:00
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[Info] Bootstrap: Starting Radarr - /app/radarr/bin/Radarr - Version 5.26.2.10099
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Debug] Bootstrap: Console selected
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationController: *** Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
[Info] DatabaseEngineVersionCheck: SQLite 3.48.0
[Info] FluentMigrator.Runner.MigrationRunner: => 0.1252068s
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
[Info] FluentMigrator.Runner.MigrationRunner: => 0.1303912s
[Info] MigrationController: *** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrating
[Info] FluentMigrator.Runner.MigrationRunner: PerformDBOperation
[Info] NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor: Performing DB Operation
[Info] DatabaseEngineVersionCheck: SQLite 3.48.0
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0185134s
[Info] FluentMigrator.Runner.MigrationRunner: DatabaseEngineVersionCheck migrated
[Info] FluentMigrator.Runner.MigrationRunner: => 0.0262343s
[Info] Microsoft.Hosting.Lifetime: Now listening on: http://[::]:7878
[Info] CommandExecutor: Starting 2 threads for tasks.
[Info] Microsoft.Hosting.Lifetime: Application started. Press Ctrl+C to shut down.
[Info] Microsoft.Hosting.Lifetime: Hosting environment: Production
[Info] Microsoft.Hosting.Lifetime: Content root path: /app/radarr/bin
[ls.io-init] done.
[Info] ManagedHttpDispatcher: IPv4 is available: True, IPv6 will be disabled
[Warn] RadarrErrorPipeline: Invalid request Validation failed:
-- Path: Path '/data/movies' does not exist
Re: Unable to add root folder
Posted: Sun Jun 15, 2025 1:45 pm
by rogs
Ok, it seems like your mount it's not correct. Here's an example fstab
record:
Code: Select all
//192.168.0.123/YourSMBShare /mnt/your-share/ cifs username=your-smb-username,password=your-smb-password,uid=your-server-user,gid=your-server-user-group 0 0
Re: Unable to add root folder
Posted: Mon Jun 16, 2025 5:21 am
by Tealeaf
Sorry if this is a silly question but by
uid=your-server-user,gid=your-server-user-group
Do you mean the UID and GID from my SMB share server (Ie from Truenas?) or from the PUID=1001 PGID=1001 from the LXC container?
Re: Unable to add root folder
Posted: Mon Jun 16, 2025 11:34 am
by rogs
Code: Select all
uid=your-server-user,gid=your-server-user-group
That's your host server user and group. Your SMB share server credentials are your-smb-username
and your-smb-password