Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 515, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 562, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 622, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 619, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py”, line 101, in wrapped
result = func(*args)
^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/upgrade.py”, line 121, in upgrade
config = self.upgrade_values(app, upgrade_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/upgrade.py”, line 279, in upgrade_values
raise CallError(f’Failed to execute {migration_file_basename!r} migration: {stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to execute ‘ip_port_migration’ migration: Traceback (most recent call last):
File “/mnt/.ix-apps/app_configs/portainer/versions/1.4.0/migrations/ip_port_migration”, line 29, in
print(yaml.dump(migrate(yaml.safe_load(f.read()))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/mnt/.ix-apps/app_configs/portainer/versions/1.4.0/migrations/ip_port_migration”, line 15, in migrate
“port_number”: values[“network”][“tunnel_port”],
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: ‘tunnel_port’
Go to the app and click edit and find the section called Network. There’s going to be a check box and then an input box for the port number and then save.