NextCloud failed to upgrade to 1.6.26 in TrueNas

Hi there,

I really hope this community can help me.

I recently upgraded to TrueNas Community 25.04.0 (Fangtooth) and noticed in the Apps section that NextCloud had an update available - 1.6.25 to 1.6.26. So, naturally I clicked on upgrade, but instead the upgrade failed with this message:

[Errno 2] No such file or directory: ‘/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud/1.6.26’

This showed in “More Info”

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 599, 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 596, 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 96, in wrapped
result = func(*args)
^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/upgrade.py”, line 120, in upgrade
with upgrade_config(app_name, upgrade_version):
File “/usr/lib/python3.11/contextlib.py”, line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/ix_apps/upgrade.py”, line 12, in upgrade_config
shutil.copytree(upgrade_version[‘location’], version_path)
File “/usr/lib/python3.11/shutil.py”, line 571, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud/1.6.26’

I am very new to this and have no idea what is happening or what to do in order to update/ugrade my NextCloud app.

Any and all help with this would be very greatly appreciated.

Thanks in advance.

Kevin

This does not look Nextcloud specific. Maybe this?

Thanks for sharing this. As I mentioned, I’m very new to this. How would I refresh the catalog?

Thanks for your help,

Kevin