Sonarr, ubuntu and mapped windows share possible?


**Sonarr version **:
**Mono version **:
OS: Ubuntu 18.04.1

First time Ubuntu user here so I need some help getting it to work.

I am running a hyper-v with ubuntu. Sonarr is running using docker. I am trying to set up sonarr to use my shared folders from windows. The folder is mapped to


How can I add the path above to sonarr so it will add my existing tvshows? My current docker-compose file looks like this under volumes.

  - ${USERDIR}/docker/sonarr:/config
  - ${USERDIR}/Downloads/completed:/downloads
  - ${USERDIR}/media/tvshows:/tv
  - "/etc/localtime:/etc/localtime:ro"
  - ${USERDIR}/docker/shared:/shared

So basically I want to change - ${USERDIR}/media/tvshows:/tv something that makes sonarr understand that the tvshow is located at // /media/winshare/tvshows

Please help me out here. Feels like I have tried everything.


a remote path mapping might help but i think those are typically for mapping the (remote) download path to something local, not the other way around - i dont use them so not sure

note that i think mono has SMB issues, so you might want to consider using NFS instead, but there is this


I just mounted the shared path in to my Ubuntu.
And worked from there.
After testing added to my fstab


Shared folders is mounted in Ubuntu and is working as intended.

It is getting Sonarr to locate the shared folder that is the problem

Can you please show me the path you use in Sonarr and the one you have setup in /etc/fstab


sudo nano /etc/fstab

//IPorHostname/shared /shared cifs username=smbusername,password=smbpassword,uid=nobody,vers=3.02,iocharset=utf8,noperm 0 0

because i’m a linux & docker noob i decided to use dockstarter for dockers on my ubuntu VM,
during the main setup you can set your TV and Movies location.
This makes it later much easier to add your media to your apps in containers.

also i make use of a consistent directory structure
looking at your previous post it seems you also have that done.



Do you care to explain? If this is an easier way to set it up it is definitiv the way to go for me.


I’m mainly a windows user,
But I wanted to learn some basic Linux and also wanted my apps in container’s.
But had a hard time to understand how to setup.
Some one suggested that I should give dockstarter a try.
Because it helps you to setup the basics for a container’s.
There is a support channel on discord.
On there website they have a yt clip to explain the basics so you can see how it works.



Thank you. Will give dockstarter a go and see if it makes the hole Ubuntu experience less painful :rofl:


you still need to mount your share
in your case i would do something like

//IPorHostname/media/winshare/ /shared cifs username=smbusername,password=smbpassword,uid=nobody,vers=3.02,iocharset=utf8,noperm 0 0

then i would create some folders like


this must be setup before you start with dockstarter


Hehe, I just did :slight_smile:

sudo mkdir /shared
sudo mkdir /shared/media
sudo mkdir /shared/media/tvshows
sudo mkdir /shared/media/movies
sudo mkdir /shared/media/music
sudo mkdir /shared/downloads
sudo mkdir /shared/downloads/sonarr
sudo mkdir /shared/downloads/radarr
sudo mkdir /shared/downloads/torrent
sudo mkdir /shared/downloads/sync
sudo mkdir /shared/downloads/usenet


i hope you mounted it before you made it ?
because those shares should be on your windows computer that you share with your ubuntu vm.

don’t know if you’re going to use torrents or usenet or both,
but you actually don’t need a separate sonarr/radarr download path.
only if you’re also going to use those name for your category’s for your download client.


Yeah, I figured it out.

So i crated two different folders in Ubuntu.

sudo mkdir /shared/media
sudo mkdir /shared/downloads

Then mounted shares in these

// /shared/media/ cifs username=xxx,password=xxx,uid=nobody,vers=3.02,iocharset=utf8,noperm 0 0
// /shared/downloads cifs username=xxx,password=xxx,uid=nobody,vers=3.02,iocharset=utf8,noperm 0 0

Now I am installing dockstarter and will se how it goes :slight_smile:


just do a full setup,
if you need more help i suggest that you join the discord channel.
because it doesn’t belong here


Thank you so much for helping me. Will head over to the discord channel if more help is needed :slight_smile:

closed #15

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.