Sonarr, ubuntu and mapped windows share possible?

**Sonarr version **: 0.2.0.1293
**Mono version **: 5.18.0.240
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

media/winshare/tvshows
media/winshare/downloads/sonarr

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.

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 //192.168.86.35/tvshows /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

@TRaSH
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.

/shared/
/shared/backup/
/shared/downloads/
/shared/downloads/torrents/
/shared/downloads/usenet/
/shared/downloads/usenet-docker/
/shared/media/
/shared/media/books/
/shared/media/comics/
/shared/media/games/
/shared/media/movies/
/shared/media/movies-archive/
/shared/media/movies-kids/
/shared/media/music/
/shared/media/tv/
/shared/media/tv-archive/
/shared/media/tv-downloads/
/shared/media/tv-ended/
/shared/media/tv-kids/

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.

@TRaSH

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

/media/winshare/downloads/
/media/winshare/downloads/usenet
/media/winshare/downloads/torrents
/media/winshare/media
/media/winshare/media/tv
/media/winshare/media/movies

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

//192.168.86.35/media /shared/media/ cifs username=xxx,password=xxx,uid=nobody,vers=3.02,iocharset=utf8,noperm 0 0
//192.168.86.35/downloads /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:

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