Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109680

Upgrade to 12-U2.1 Failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: 12.0-U1
    • Fix Version/s: 12.0-U3
    • Component/s: Upgrades
    • Labels:
      None

      Description

      Error: Traceback (most recent call last):
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
      await self.future
      File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body
      rv = await self.middleware.run_in_thread(self.method, *([self] + args))
      File "/usr/local/lib/python3.8/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.8/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.8/site-packages/middlewared/schema.py", line 977, in nf
      return f(*args, **kwargs)
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/update.py", line 320, in download
      return self.middleware.call_sync('update.download_update', job, train, location, 100)
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1254, in call_sync
      return self.run_coroutine(methodobj(*prepared_call.args))
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1294, in run_coroutine
      return fut.result()
      File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 432, in result
      return self.__get_result()
      File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
      raise self._exception
      File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/update.py", line 324, in download_update
      success = await self.middleware.call('update.download_impl', *args)
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1238, in call
      return await self._call(
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1206, in _call
      return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
      File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1110, in run_in_executor
      return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
      File "/usr/local/lib/python3.8/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.8/site-packages/middlewared/plugins/update_/download_freebsd.py", line 30, in download_impl
      Update.DownloadUpdate(
      File "/usr/local/lib/freenasOS/Update.py", line 1074, in DownloadUpdate
      latest_mani.RunValidationProgram(directory, kind=Manifest.VALIDATE_UPDATE)
      File "/usr/local/lib/freenasOS/Manifest.py", line 682, in RunValidationProgram
      subprocess.check_output(valid_script, preexec_fn=PreExecHook, stderr=subprocess.STDOUT)
      File "/usr/local/lib/python3.8/subprocess.py", line 411, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "/usr/local/lib/python3.8/subprocess.py", line 489, in run
      with Popen(*popenargs, **kwargs) as process:
      File "/usr/local/lib/python3.8/subprocess.py", line 854, in _init_
      self._execute_child(args, executable, preexec_fn, close_fds,
      File "/usr/local/lib/python3.8/subprocess.py", line 1702, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
      PermissionError: [Errno 13] Permission denied: './ValidateUpdate'

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  vladimirv Vladimir Vinogradenko
                  Reporter:
                  Fly_Scuba Dale Cunningham
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: