Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:server:first_start [2025-05-06 13:55]
admin Added setting of time zone
blocks:server:first_start [2025-05-14 05:26] (current)
mattias [Setting the Time Zone]
Line 106: Line 106:
   * Log in as the //pixi-admin// user (or switch to this accont),   * Log in as the //pixi-admin// user (or switch to this accont),
   * Open a terminal window by clicking the "Terminal" icon in the dock to the left.   * Open a terminal window by clicking the "Terminal" icon in the dock to the left.
-  * Type the following command +   
-  * Enter your pixi-admin password and select the desired time zone.+On ubuntu 24.04 and Debian 12 one must remove obsolete storage of timezone information (This location is no longer updated by timedatectl, which is the modern way of setting up time on Linux systems using systemd)
  
 +<code>rm -f /etc/timezone</code>
 +
 +For this part it is important that the longer TZ identifier is used (i.e. Europe/London), while shorter notation is supported by linux, such short notations like "CET" is not recognized by Blocks server (java).  See available options from this list:[[https://en.wikipedia.org/wiki/List_of_tz_database_time_zones|TZ notation]]
 <code> <code>
-sudo dpkg-reconfigure tzdata+sudo timedatectl set-timezone Europe/Stockholm
 </code> </code>
 +
 +Verify:
 +<code> timedatectl status </code>
  
 You must restart Blocks to make this change take effect. You must restart Blocks to make this change take effect.
 +