adityagupta1994
Cadet
- Joined
- Jan 3, 2021
- Messages
- 4
Hi guys, I have been using FreeNas for the last 4 years now and everything was working really well, but then one of my hard drives died and there were some permanent data errors in my pool. I then set up a fresh system with TrueNAS-12.0-RC1 and created pools from scratch and copied over all the data from my old system. Now just after a couple of days, I have started noticing some strange issues with the system, some of them are as follows -
1) I am unable to edit or create new users. When trying to create a new user, I get this error - https://prnt.sc/wgub6c
Text -
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 463, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 506, in do_update
await self.__set_smbpasswd(user['username'])
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 857, in __set_smbpasswd
await self.middleware.call('smb.update_passdb_user', username)
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 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb_/passdb.py", line 112, in update_passdb_user
raise CallError(f'Failed to set NT password for {username}: {setntpass.stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to set NT password for umesh: Username not found!
I then setup a fresh system with TrueNAS-12.0-U1 also to check if this problem exist in that version and while creating new users, this problem suddenly started happening in this new system as well. Seems like after a certain number of users or due to a particular user name, this issue is happening as in this new system, no other settings were touched.
2) Some pools keep losing their ACL permission settings ie- If i change the ACL settings to allow a particular group, after some time, that particular pool falls back to the factory permissions setting of ACL as if I never set any custom permissions for it.
Both these issues are very strange as i never encountered anything like this in the past 4 years since I have been using FreeNas. If anyone can guide me how to figure out this issue and resolve it, I will be very greatful.
1) I am unable to edit or create new users. When trying to create a new user, I get this error - https://prnt.sc/wgub6c
Text -
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 463, in update
rv = await self.middleware._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 506, in do_update
await self.__set_smbpasswd(user['username'])
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/account.py", line 857, in __set_smbpasswd
await self.middleware.call('smb.update_passdb_user', username)
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 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb_/passdb.py", line 112, in update_passdb_user
raise CallError(f'Failed to set NT password for {username}: {setntpass.stderr.decode()}')
middlewared.service_exception.CallError: [EFAULT] Failed to set NT password for umesh: Username not found!
I then setup a fresh system with TrueNAS-12.0-U1 also to check if this problem exist in that version and while creating new users, this problem suddenly started happening in this new system as well. Seems like after a certain number of users or due to a particular user name, this issue is happening as in this new system, no other settings were touched.
2) Some pools keep losing their ACL permission settings ie- If i change the ACL settings to allow a particular group, after some time, that particular pool falls back to the factory permissions setting of ACL as if I never set any custom permissions for it.
Both these issues are very strange as i never encountered anything like this in the past 4 years since I have been using FreeNas. If anyone can guide me how to figure out this issue and resolve it, I will be very greatful.