Skip to:
Here is the error
Error: Traceback (most recent call last):File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in runawait self.futureFile "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 405, in __run_bodyrv = await self.middleware.run_in_thread(self.method, *([self] + args))File "/usr/local/lib/python3.9/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_threadreturn await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))File "/usr/local/lib/python3.9/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in runresult = self.fn(*self.args, **self.kwargs)File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 977, in nfreturn f(*args, **kwargs)File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/system.py", line 886, in debugraise CallError(debug_job.error)middlewared.service_exception.CallError: [EFAULT] [EFAULT] Failed to generate debug file: /usr/local/bin/../libexec/freenas-debug/network/network.sh: 141: Syntax error: "}" unexpected (expecting "fi")
21.08 PR: https://github.com/truenas/middleware/pull/7137
12.0 PR: https://github.com/truenas/middleware/pull/7133
Here is the error
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in run
await self.future
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 405, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File "/usr/local/lib/python3.9/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.9/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 977, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/system.py", line 886, in debug
raise CallError(debug_job.error)
middlewared.service_exception.CallError: [EFAULT] [EFAULT] Failed to generate debug file: /usr/local/bin/../libexec/freenas-debug/network/network.sh: 141: Syntax error: "}" unexpected (expecting "fi")