Available jails showing error (Honestly not sure what's going on...)
Description
Problem/Justification
None
Impact
None
duplicates
is duplicated by
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:

Jason Beatty July 2, 2019 at 12:24 AM
I just wanted to say thanks and that the issue was the permissions set for the jail. Thanks for getting me to where I needed so I could get back up and running!

William Gryzbowski June 27, 2019 at 7:45 PM
Closing as timeout

William Gryzbowski June 24, 2019 at 3:50 PM
Ping

William Gryzbowski June 20, 2019 at 12:35 PM
Jason, did you change permissions of your volume recursively, or set ACL?
Whats the output of ls -la /mnt/z2_4tbx5/iocage/

Dru Lavigne June 20, 2019 at 2:12 AMEdited
Jason: are you logged in to Jira when you try to access the Document Vault? If so, does it show a + sign for you?
Edit: nvm, I see your debug.
Cannot Reproduce
Pinned fields
Click on the next to a field label to start pinning.
Created June 4, 2019 at 8:46 PM
Updated July 1, 2022 at 4:31 PM
Resolved June 27, 2019 at 7:45 PM
I believe this all started when I was brave (see also stupid) enough to try to add a folder in the iocage for emby via windows since I'm a bit weak at the command line and was getting an error that a folder path within emby didn't exist. shortly after adding the folder I upgraded to 11.4.1 and the system wouldn't boot. I suspected a bad usb drive to I cloned to another usb drive and it was showing the same issues as the original drive. I was however able to install on the new usb drive and transfer the configuration to the new usb drive. after booting though I ran into several issues that I wish I had better documented...
Since the new usb drive had the configuration I wanted (user accounts and groups etc) I exported the conifg and wiped the usb drive entirely. After uploading the config I started to install emby and got the error below.
When selecting available jails I receive the following error:
Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 643, in fetch_plugin_index
self.__clone_repo(git_server, git_working_dir)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 1255, in __clone_repo
porcelain.pull(destination, repo_url, errstream=devnull)
File "/usr/local/lib/python3.6/site-packages/dulwich/porcelain.py", line 826, in pull
r.reset_index(tree=tree)
File "/usr/local/lib/python3.6/site-packages/dulwich/repo.py", line 950, in reset_index
validate_path_element=validate_path_element)
File "/usr/local/lib/python3.6/site-packages/dulwich/index.py", line 530, in build_index_from_tree
obj, entry.mode, full_path, honor_filemode=honor_filemode)
File "/usr/local/lib/python3.6/site-packages/dulwich/index.py", line 460, in build_file_from_blob
os.chmod(target_path, mode)
PermissionError: [Errno 1] Operation not permitted: b'/mnt/z2_4tbx5/iocage/.plugin_index/madsonic.json'
During handling of the above exception, another exception occurred:
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 131, 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 91, in _run
return await self._call(name, serviceobj, methodobj, params=args, job=job)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 84, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 84, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 530, in list_resource
header=False)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 914, in fetch
icon=True, official=official)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 650, in fetch_plugin_index
_callback=self.callback)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
_callback(content, exception)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
raise callback_exception(message)
RuntimeError: [Errno 1] Operation not permitted: b'/mnt/z2_4tbx5/iocage/.plugin_index/madsonic.json'
"""
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/main.py", line 166, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1097, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1042, in _call
return await self._call_worker(name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1062, in _call_worker
return await self.run_in_proc(main_worker, name, args, job)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 996, in run_in_proc
return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 972, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: [Errno 1] Operation not permitted: b'/mnt/z2_4tbx5/iocage/.plugin_index/madsonic.json'
To be honest I have no idea what it means... but I tried then to wipe the new USB drive and start from scratch instead of uploading a config. Unfortunately, I'm still getting this error when searching for available jails.
If anyone knows what I can do (aside from wiping my pool and starting over) I'd really appreciate the help.