I recently migrated to 25.04 from CORE 13-U6 and have one issue I haven’t been able to resolve yet.
When I try to view the users through Credentials-> Users, I get a red stop sign image and a “Can not retrieve response” in the field where the users should be populated.
If I click Show Built-in users, I get the same response. I can add new users, but once they’ve been added I can’t change any of their settings through the UI.
This machine has been in use since FreeNAS 9.2 and migrated through a bunch of different jail and app configurations, so I’m figuring that I probably have some user that’s either in conflict with an existing user or missing/corrupted data for a user.
I used the CLI to access the account namespace and try to get information about what was there and/or missing but got this response from a query command:
[truenas] account user> query
Error: 3 validation errors for UserQueryResult
result.list[UserQueryResultItem].20.email
value is not a valid email address: The part after the @-sign is a special-use or reserved name that cannot be used with email. [type=value_error, input_value=‘apps@freenas.local’, input_type=str]
result.UserQueryResultItem
Input should be a valid dictionary or instance of UserQueryResultItem [type=model_type, input_value=[{‘id’: 1, ‘uid’: 0, ‘use…DMIN’], ‘api_keys’: }], input_type=list]
For further information visit Redirecting...
result.int
Input should be a valid integer [type=int_type, input_value=[{‘id’: 1, ‘uid’: 0, ‘use…DMIN’], ‘api_keys’: }], input_type=list]
For further information visit Redirecting...
This looks like there’s an issue with an e-mail address for at least one of my accounts, but I am not sure which account (probably the apps account, but not sure what number) and even if I knew which account, I’m not 100% sure what the best way to resolve the issue is.
I’m leaning towards removing all the prior accounts I had setup previously and just use the new standards with UID/GIDs starting in the 3000s. Can anyone point me in the right direction for how to find/remove these old non-standard accounts and leave myself with just the new users/groups I’ve created since 25.04 and obviously the default built-in accounts?