Installing Sonarr Plugin after Radarr plugin: "Jail: Radarr already exists!"

Status
Not open for further replies.

nathank1989

Contributor
Joined
Aug 29, 2016
Messages
103
I just installed the radarr plugin to give it a try and really liked it, so no I want to set up Sonarr.
I tried doing the same thing I did for Radarr, Plugins->Available Plugins->Sonarr->Install

Left all at default, and the jail name is "sonarr"

But I get this error:
Code:
Error: concurrent.futures.process._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
	r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 122, in main_worker
	res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
	return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 82, in _run
	return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
	return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 75, in _call
	return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 662, in nf
	return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 248, in fetch
	iocage.fetch(**options)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 909, in fetch
	props, accept_license=accept, official=official)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 690, in fetch_plugin_index
	props, 0, accept_license)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 125, in fetch_plugin
	props, jail_name)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_plugin.py", line 306, in __fetch_plugin_create__
	exit_on_error=self.exit_on_error).create_jail()
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 88, in create_jail
	return self._create_jail(jail_uuid, location)
  File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 104, in _create_jail
	raise RuntimeError(f"Jail: {jail_uuid} already exists!")
RuntimeError: Jail: radarr already exists!
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 332, in run
	await self.future
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/job.py", line 356, in __run_body
	rv = await self.middleware._call_worker(self.serviceobj, self.method_name, *self.args, job={'id': self.id})
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 977, in _call_worker
	job,
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 908, in run_in_proc
	return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
	return self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 902, in run_in_executor
	return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: Jail: radarr already exists!


Can I not have both plugins installed? Should I just install Sonarr on the same jail as Radarr?

On Freenas 11.2-BETA2
 

Stephen2

Dabbler
Joined
Jun 9, 2016
Messages
37
Hey, did you get this solved? I'm hitting the same thing right now.

Suspecting it's a bug in the plugin, with a name copy/pasted from Radarr plugin by accident or something silly...

Do we know where these are maintained? Source code?
 

Stephen2

Dabbler
Joined
Jun 9, 2016
Messages
37
It's actually not to do with having both. Having no other plugins and clicking Install on Sonarr initiates Radarr install.

Definitely just a typo bug somewhere. Trying to find out where, but I'm a bit out of my depth
 

Stephen2

Dabbler
Joined
Jun 9, 2016
Messages
37
:( Dug through Github and couldn't figure it out... Guess I'll have to wait a while to have Sonarr, or try a manual jail
 

Stephen2

Dabbler
Joined
Jun 9, 2016
Messages
37
It’s closed and a duplicate of one that hasn’t been made public yet it seems.

Hopefully a fix is deployed soon.

Sonarr seems like a simple enough install I might just do a manual jail instead of waiting.

Not sure how you went with this or if you feel comfortable, but just letting you know I am pretty average at FreeBSD, and very new at Plugins/Jails; went the manual jail route and it was all very easy, smooth and has been working for a good week+

Can support if you have questions.
 
Status
Not open for further replies.
Top