TNAS Scale cant login with web UI

Updated my rig to 26… Got everything working good. Rebooted a few times and log off.

I can only SSH into it and when I try to cli –menu I get more problem.

When loging in the web UI gives me this error.

Summary

Error Name: EINVAL
Error Code: 22
Reason: maximum recursion depth exceeded
Error Class: RecursionError
Trace: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py”, line 387, in process_method_call
result = await method.call(app, id_, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py”, line 57, in call
result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
message_id=id_)
^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1083, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
audit_callback=audit_callback_messages.append, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 910, in call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py”, line 209, in wrapped
result = await func(*args)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/auth.py”, line 860, in login_ex
auth_resp, cred = await self.middleware.run_in_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
login_ex_password_plain, self.middleware, app=app, auth_ctx=auth_ctx, auth_data=data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 796, 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 793, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/auth
/login_ex_impl.py", line 131, in login_ex_password_plain
user_info = middleware.call_sync(‘auth.authenticate_user’, resp.user_info)
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1261, in call_sync
return self.run_coroutine(methodobj(*prepared_call.args))
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1409, in run_coroutine
return fut.result()
~~~~~~~~~~^^
File “/usr/lib/python3.13/concurrent/futures/_base.py”, line 449, in result
return self.__get_result()
~~~~~~~~~~~~~~~~~^^
File “/usr/lib/python3.13/concurrent/futures/_base.py”, line 401, in __get_result
raise self.exception
File "/usr/lib/python3/dist-packages/middlewared/plugins/auth
/authenticate.py", line 67, in authenticate_user
‘privilege’: await self.middleware.call(‘privilege.compose_privilege’, privileges),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1231, in call
return await self._call(
^^^^^^^^^^^^^^^^^
…<2 lines>…
)
^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 910, in call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/account
/privilege.py", line 398, in compose_privilege
compose[‘roles’] |= self.middleware.role_manager.roles_for_role(role, enabled_stig)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/role.py”, line 373, in roles_for_role
self.roles_for_role(included_role, enabled_stig)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/role.py”, line 373, in roles_for_role
self.roles_for_role(included_role, enabled_stig)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/role.py”, line 373, in roles_for_role
self.roles_for_role(included_role, enabled_stig)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 986 more times]
File “/usr/lib/python3/dist-packages/middlewared/role.py”, line 374, in roles_for_role
for included_role in self.roles[role].includes if self.role_stig_check(included_role, enabled_stig)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded

This is what I get when I try to get the cli –menu from ssh

Summary

truenas_admin@truenas[~]$ cli --menu
Traceback (most recent call last):
File “/usr/bin/cli”, line 33, in
sys.exit(load_entry_point(‘midcli==0.0.0’, ‘console_scripts’, ‘cli’)())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/lib/python3/dist-packages/midcli/main.py”, line 297, in main
cli = CLI(**args.dict)
File “/usr/lib/python3/dist-packages/midcli/main.py”, line 50, in init
self.context = Context(self, url=url, user=user, password=password, timeout=timeout,
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
editor=editor, menu=menu, menu_item=menu_item, mode=mode, stacks=stacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/midcli/context.py”, line 194, in init
self.reload()
~~~~~~~~~~~^^
File “/usr/lib/python3/dist-packages/midcli/context.py”, line 248, in reload
self.hostname = c.call(‘system.hostname’)
~~~~~~^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/truenas_api_client/init.py”, line 827, in call
return self.wait(c, callback=callback, job=job, timeout=timeout,
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_log_py_enotauthenticated=_log_py_enotauthenticated)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/truenas_api_client/init.py”, line 874, in wait
raise c.error
truenas_api_client.exc.ClientException: [ENOTAUTHENTICATED] Not authenticated
truenas_admin@truenas[~]$

After restating the middleware I get the sam problem. ( systemctl restart middlewared )

I kinda stummped. Same results using https too

Roll back to a previous TrueNAS version. You may have a bug in the latest version of 26.

is that for sure?

We don’t know what is causing the error you’re seeing.
But what is for sure is that you are running a prerelease version of TrueNAS and that since you are having issues, reverting to the previous one is a sensible choice.

Having said that, reporting the issue you’re having as a bug before you do so may help the developers, for example using the Report a bug link in the top of the forum.

I have run into issues running the nightly, Version 26 before. My usual is to boot into a previous version of the nightly, since I update it often and then see if that fixes the issue. You use Report a Bug at the upper, top right of the Forums to submit bugs for 26 Nightly. They usually like to see what version was working and what version wasn’t and the problem.
You might wait a day or two and try updating to a newer release from a previous boot environment and see if that fixed the issue. You can also click on the Report a Bug and browse the JIRA tickets for version 26 and see if your issue has been reported already.

did. Now my HBA wont show on the GUI.

Please give us more details on your system and what, exact version of TrueNAS you have running or working. Complete hardware details. It really matters when you are running the Nightly / Developer trains.

I would make sure you have copies of your downloaded system configuration. Keep multiple copies versioned since you are Nightly.

25.10.2.1

Dell poweredge T110 Intel(R) Xeon(R) CPU E31275 @ 3.40GHz

NVIDIA Corporation GK208 [GeForce GT 630 Rev. 2] [0000:01:00.0]

02:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

, Boot is 2x USB converterd (NGFF) m.2 16GB drives and 16GB EEC ram

It has been quite a while since you posted. What problem(s) are you currently having? The original post was about a 26 Nightly and then you posted info for 25.10.2.1?