Skip to main content
Solved

Installation/upgrade to 24r1GA and new system parameter SERVER_TIME_ZONE


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 43 replies

Hi anyone know what the installer parameter name and the value for it ? 

Only place in the tech doc is the system parameters where it’s refers to a installer parameter?

When performing the upgrade we get this exception
 

!!!Error deploying file fndbas\24R1-GA.cdb at 03-JUN-24 09:08:44

!!!Error occurred while executing Plsql Block

DECLARE

   server_time_zone_    FND_SETTING_TAB.VALUE%TYPE      := 'NOT_SET';

   parameter_           FND_SETTING_TAB.PARAMETER%TYPE  := 'SERVER_TIME_ZONE';

   fnd_setting_record_  FND_SETTING_TAB%ROWTYPE;

 

   FUNCTION Is_Valid_Time_Zone(time_zone_ IN VARCHAR2) RETURN BOOLEAN

   IS

      time_zone_count_ NUMBER;

   BEGIN

      SELECT COUNT(*)

      INTO time_zone_count_

      FROM V$TIMEZONE_NAMES

      WHERE TZNAME = time_zone_;

 

      RETURN time_zone_count_ > 0;

   END Is_Valid_Time_Zone;

BEGIN

   IF Is_Valid_Time_Zone(server_time_zone_) = FALSE THEN

      RAISE_APPLICATION_ERROR(-20001, 'Set_Server_Time_Zone: The time zone specified via the global.serverTimeZone parameter is invalid -> ' || server_time_zone_ || '. Please provide a valid time zone value.');

   END IF;

 

   SELECT *

   INTO fnd_setting_record_

   FROM FND_SETTING_TAB

   WHERE PARAMETER = parameter_;

 

   IF fnd_setting_record_.VALUE IS NULL OR fnd_setting_record_.VALUE = 'NOT_SET' THEN

      UPDATE FND_SETTING_TAB

      SET VALUE = server_time_zone_

      WHERE PARAMETER = parameter_;

      COMMIT;

      dbms_output.put_line('Set_Server_Time_Zone: Server time zone is updated to ' || server_time_zone_);

   ELSIF fnd_setting_record_.VALUE = server_time_zone_ THEN

      dbms_output.put_line('Set_Server_Time_Zone: Server time zone is already set to ' || server_time_zone_);

   ELSE

      RAISE_APPLICATION_ERROR(-20001, 'Set_Server_Time_Zone: Server time zone is already set to ' || fnd_setting_record_.VALUE || '. Cannot update to ' || server_time_zone_);

   END IF;

 

EXCEPTION

   WHEN NO_DATA_FOUND THEN

      INSERT INTO IFSAPP.FND_SETTING_TAB

      ("PARAMETER", "PARAMETER_DESC", "DYNAMIC", "VALUE", "DOMAIN", "DOMAIN_DESC", "CLIENT_READ_ONLY", "VALUE_TYPE", "CATEGORY", "MODULE", "ROWVERSION")

      VALUES(parameter_, 'Server timezone', '999', server_time_zone_, '*^', 'Server timezone', 'FALSE', 'CUSTOM STRING', 'System Settings', 'FNDBAS', SYSDATE);

      COMMIT;

      dbms_output.put_line('Set_Server_Time_Zone: Server time zone is set to ' || server_time_zone_);

END;

ORA-20001: Set_Server_Time_Zone: The time zone specified via the global.serverTimeZone parameter is invalid -> NOT_SET. Please provide a valid time zone value.

ORA-06512: at line 19

Best answer by hhanse

In 24r1 there is a new mandatory parameter that is passed via the installer (ifscloud-values.yaml) - all bold parameters are mandatory.

View original
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img+11
  • Hero (Employee)
  • 177 replies
  • Answer
  • June 3, 2024

In 24r1 there is a new mandatory parameter that is passed via the installer (ifscloud-values.yaml) - all bold parameters are mandatory.


Forum|alt.badge.img+7
  • Author
  • Sidekick (Partner)
  • 43 replies
  • June 3, 2024

Thanks hhanse :)


paguin
Sidekick (Partner)
Forum|alt.badge.img+11
  • Sidekick (Partner)
  • 143 replies
  • June 24, 2024

@hhanse ,

thanks. This was a userful information.

Best Regards

Pankaj


Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 4 replies
  • March 25, 2025
@hhanse 

Hello

We are facing the same issue, and even after setting it to Europe/Paris, we still receive the same error. Could you please provide the correct syntax to use in the ifscloud-value.yaml file?

Regards,


Forum|alt.badge.img+11
  • Hero (Employee)
  • 177 replies
  • March 25, 2025

global:
  serverTimeZone: Europe/Paris

Are there any error in the ifs-db-init container? After deploying the new timezone?
cmd>installer --set action=mtinstaller
cmd>kubectl logs ifs-db-init-xxxx-yyyy -n <nameapce>
 


Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 4 replies
  • March 25, 2025

We conducted tests with possible values for the serverTimeZone parameter (tests with Etc/UTC+1 and CET), but without success. We then performed a rollback using the Europe/Paris value, and this time, it worked.
I can't find an explanation for this behavior!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings