Having error on Available Plugins page

Status
Not open for further replies.

EzerchE

Cadet
Joined
Jul 28, 2018
Messages
7
Still having this error on availbale plugins page since 3 updates. Today i updated to the latest but the problem still exists. How can i fix it?

Error: concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 646, 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 1222, 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/NAS/iocage/.plugin_index/openvpn.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 128, 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 88, 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 81, in _call
return methodobj(*params)
File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, 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 461, in list_resource
header=False)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 911, in fetch
icon=True, official=official)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_plugin.py", line 653, in fetch_plugin_index
_callback=self.callback)
File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 81, 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/NAS/iocage/.plugin_index/openvpn.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 161, in call_method
result = await self.middleware.call_method(self, message)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, 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 1046, in _call
return await self._call_worker(serviceobj, name, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1073, in _call_worker
job,
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1004, 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 989, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: [Errno 1] Operation not permitted: b'/mnt/NAS/iocage/.plugin_index/openvpn.json'
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    26.6 KB · Views: 404

samuel-emrys

Contributor
Joined
Dec 14, 2018
Messages
136
Looks like there are some permissions issues regarding the openvpn package information file. Log into the CLI and post the output of ls -al /mnt/NAS/iocage/.plugin_index

For reference, my openvpn entry looks like this:
-rw-r--r-- 1 root wheel 552 Nov 14 23:05 openvpn.json
 

EzerchE

Cadet
Joined
Jul 28, 2018
Messages
7
-rwxrwxr-x+ 1 root wheel 552 Dec 29 13:21 openvpn.json

mine like this. how can i restore the default permissions?
 
Status
Not open for further replies.
Top