New issue today

Soloratov

Cadet
Joined
Mar 22, 2024
Messages
3
Updates don't work, apps won't load, and I can't change time zones!

First indicator something was wrong is I can't connect to update server. Second was app library errors out. I checked the system settings and the time and time zone are wrong. When I attempt to correct it, here is the error: (I am super new to all this)

Code:
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method    result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call    return await methodobj(*prepared_call.args)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/service/config_service.py", line 83, in update    rv = await self.middleware._call(         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call    return await methodobj(*prepared_call.args)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf    res = await f(*args, **kwargs)          ^^^^^^^^^^^^^^^^^^^^^^^^  
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf    return await func(*args, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/system_general/update.py", line 244, in do_update    verrors = await self.validate_general_settings(new_config, 'general_settings_update')              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/system_general/update.py", line 107, in validate_general_settings    verrors.extend(await validate_port(                   ^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/async_validators.py", line 111, in validate_port    return await middleware.call('port.validate_port', schema, port, bind_ip, whitelist_namespace)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call    return await self._call(           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call    return await methodobj(*prepared_call.args)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/ports/ports.py", line 69, in validate_port    port_mapping = await self.ports_mapping(whitelist_namespace)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
File "/usr/lib/python3/dist-packages/middlewared/plugins/ports/ports.py", line 112, in ports_mapping    for attachment in filter(lambda entry: entry['namespace'] != whitelist_namespace, await self.get_in_use()):                                                                                      ^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/ports/ports.py", line 51, in get_in_use    used_ports = await delegate.get_ports()                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/attachments.py", line 12, in get_ports    for chart_release in filter(lambda c: c['used_ports'], await self.middleware.call('chart.release.query')):                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call    return await self._call(           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call    return await methodobj(*prepared_call.args)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf    res = await f(*args, **kwargs)          ^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf    return await func(*args, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 134, in query    k8s_node_ip = await self.middleware.call('kubernetes.node_ip')                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call    return await self._call(           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call    return await methodobj(*prepared_call.args)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf    return await func(*args, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 44, in nf    res = await f(*args, **kwargs)          ^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/update.py", line 553, in node_ip    addr['address'] for addr in k8s_node_config['status']['addresses'] if addr['type'] == 'InternalIP'                                ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'addresses'
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are your DNS settings correct?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Glad you figured it out!
 
Top