SOLVED Set Time Zone

bhk

Dabbler
Joined
May 24, 2023
Messages
36
Hello everbody,

I'm trying to set the time zone, but I receive the following error:
Code:
[EINVAL] general_settings_update.ui_certificate: Selected certificate does not have a private key
More info...
 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 204, 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 1344, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/service.py", line 576, in update
    rv = await self.middleware._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1344, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1246, in nf
    res = await f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, in nf
    return await func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/system_general/update.py", line 257, in do_update
    raise verrors
middlewared.service_exception.ValidationErrors: [EINVAL] general_settings_update.ui_certificate: Selected certificate does not have a private key


I would really appreciate your help!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I'm trying to set the time zone
Where? In which version of TrueNAS? You've posted this in the SCALE -> Apps subforum, which would suggest you're trying to set the time zone for an app--if that's the case, which one? And wherever you're doing this, what else are you changing?
 

bhk

Dabbler
Joined
May 24, 2023
Messages
36
TrueNAS-SCALE-22.12.3.3
I'm trying to set the time zone from LA to Berlin for the TrueNAS apps catalogue, because I can not sync the repo.

Code:
Failed to sync TRUENAS catalog: [EFAULT] Failed to clone 'https://github.com/truenas/charts.git' repository at '/mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master' destination: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/truenas/charts.git /mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master stderr: 'Cloning into '/mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master'... fatal: unable to access 'https://github.com/truenas/charts.git/': Failed to connect to github.com port 443 after 3096 ms: Couldn't connect to server '
04.09.2023 08:12:50 (America/Los_Angeles)
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I'm trying to set the time zone from LA to Berlin for the TrueNAS apps catalogue
So where, exactly, in TrueNAS are you trying to make this change, and what else are you changing? Because the error you posted suggests you're trying to change a TLS certificate, not the time zone--and those two settings are in completely different places in the UI.

And why do you think the time zone has anything to do with this problem? Date/time errors do cause problems with accessing other websites, and GitHub seems to be a common case for it to come up, but the issue there results from a date that's off (usually way off), and it produces a completely different error.
 
  • Like
Reactions: bhk

bhk

Dabbler
Joined
May 24, 2023
Messages
36
TrueNASTime.PNG
TrueNASTime2.PNG
TrueNASTime3.PNG
 

bhk

Dabbler
Joined
May 24, 2023
Messages
36
So where, exactly, in TrueNAS are you trying to make this change, and what else are you changing? Because the error you posted suggests you're trying to change a TLS certificate, not the time zone--and those two settings are in completely different places in the UI.

And why do you think the time zone has anything to do with this problem? Date/time errors do cause problems with accessing other websites, and GitHub seems to be a common case for it to come up, but the issue there results from a date that's off (usually way off), and it produces a completely different error.
I haven't configured anything in the Credentials tab. I'm only trying to get the repo back synced.
 

bhk

Dabbler
Joined
May 24, 2023
Messages
36
I've been able to set the correct time zone. I still receive an error.

Code:
Failed to sync TRUENAS catalog: [EFAULT] Failed to clone 'https://github.com/truenas/charts.git' repository at '/mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master' destination: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/truenas/charts.git /mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master stderr: 'Cloning into '/mnt/pool01/ix-applications/catalogs/github_com_truenas_charts_git_master'... fatal: unable to access 'https://github.com/truenas/charts.git/': Failed to connect to github.com port 443 after 3005 ms: Couldn't connect to server '
05.09.2023 11:31:03 (Europe/Berlin)
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Do you have your default gateway set correctly?
 

bhk

Dabbler
Joined
May 24, 2023
Messages
36

flashdrive

Patron
Joined
Apr 2, 2021
Messages
264
Hello,

I do have an issue as well with a "non-standard time zone" - the Gateway is set correctly, I can ping a random website from the shell.

Any ideas? I have also used the TN Scale time zone option (China / Shanghai)


edit:

see


 
Last edited:
Top