After upgrade I got this error

ersuna55

Cadet
Joined
Apr 22, 2021
Messages
7
Hi ,

After update (TrueNAS-12.0-U3) I got the following error constaly and i dont know why

Code:
middlewared.__periodic_task_wrapper():938 - Exception while calling periodic task
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 936, in __periodic_task_wrapper
    await self._call(method_name, service_obj, method, [])
  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/kerberos.py", line 1134, in check_updated_keytab
    ts = await self.middleware.call('directoryservices.get_last_password_change')
  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 1206, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1110, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/directoryservices.py", line 342, in get_last_password_change
    stored_ts_bytes = server_secrets[f'SECRETS/MACHINE_LAST_CHANGE_TIME/{domain.upper()}']
KeyError: 'SECRETS/MACHINE_LAST_CHANGE_TIME/COOTRAIPI'
[2021/05/03 09:51:56] (WARNING) middlewared.__periodic_task_wrapper():938 - Exception while calling periodic task
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 936, in __periodic_task_wrapper
    await self._call(method_name, service_obj, method, [])
  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_/sharesec.py", line 251, in check_share_info_tdb
    await self.middleware.call('smb.sharesec.synchronize_acls')
  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/schema.py", line 973, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smb_/sharesec.py", line 282, in synchronize_acls
    rc_info = (list(filter(lambda x: s['name'] == x['share_name'], rc)))[0]
IndexError: list index out of range


Pc spec:
Proccesor: Pentium(R) Dual-Core CPU E6300 @ 2.80GHz
RAM: 8GB
HDD: 8 TB ( 3 Disk in Mirror)

The system crash and the proccesor are 100% ( by kernel up to 145%), I desactivated smartctl , some task for example snapshots, scrub task, but it didnt work. I have running Active Directory in my system, when it happens the system is very slow and. Thanks you for the help
 

Attachments

  • 22.png
    22.png
    33.2 KB · Views: 182
  • 33.png
    33.png
    31.7 KB · Views: 202
Joined
Jul 2, 2019
Messages
648
There is an issue with Python 3.8. Try installing the U3.1 upgrade.
 

ersuna55

Cadet
Joined
Apr 22, 2021
Messages
7
Thanks your for ur reply,

I installed the newer version so I will watching how to works the U3.1 version
 

ersuna55

Cadet
Joined
Apr 22, 2021
Messages
7
UPDATE

the system is running normaly, not crashed, not slow after update and disabled some shared folders to limit the connection to the server.
 

Attachments

  • monitor.png
    monitor.png
    23.5 KB · Views: 179

mikael

Dabbler
Joined
Feb 9, 2018
Messages
18
Is there a way to restart nicely after having this error? I can't reach my server from the web UI and not via SSH. Connecting via IPMI and iKVM/HTML5 shows very similar errors to those above (if not identical) but I can't see the Console Setup Menu. Is "Power Off Server - Orderly Shutdown" via IPMI the only option, or can I send some command via "iKVM/HTML5"?
 

Jessep

Patron
Joined
Aug 19, 2018
Messages
379
If the errors have scrolled the menu off screen can you still use the menu choices?
 
Top