Page 2 of 2

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 10:21
by omexlu
Die Frage ist eher warum das Standartmässig bei der KeyHelp Installation nicht mitgemacht wurde, ich wollte da jetzt nicht dranrumschrauben was im Nachhinein irgendwie die Installation früher oder später beeinflussen kann.

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 10:32
by Florian
Ubuntu 24 ist relativ neu, vielleicht gabs da wieder ne Änderung die bei anderen System nicht notwendig war

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 10:41
by omexlu
Das eventuell möglich, bei Eurer Demo läuft die selbe Version dort stimmt es (habs in phpMyAdmin getestet).

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 10:45
by Florian
Hallo,

ich werde es auf einem Testsystem prüfen.

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 10:47
by omexlu
Vielen Dank :)

Was mich aber mehr stört ist dass der Webspeicher und Dateicount nicht bei der Berechnung funktioniert:
viewtopic.php?p=50868#p50868

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 16:09
by Florian
Hi,

so ein jungfräulich installierter Server mit Ubuntu 24 und Keyhelp:

Code: Select all

MariaDB [(none)]> SHOW VARIABLES LIKE '%time_zone%';
+------------------+--------+
| Variable_name    | Value  |
+------------------+--------+
| system_time_zone | CEST   |
| time_zone        | SYSTEM |
+------------------+--------+
2 rows in set (0,002 sec)

MariaDB [(none)]>  select curtime();
+-----------+
| curtime() |
+-----------+
| 16:09:01  |
+-----------+
1 row in set (0,000 sec)
So wie es sein soll.

Code: Select all

timedatectl 
               Local time: Mi 2024-09-11 16:10:08 CEST
           Universal time: Mi 2024-09-11 14:10:08 UTC
                 RTC time: Mi 2024-09-11 14:10:08
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Re: MYSQL: current_timestamp()

Posted: Wed 11. Sep 2024, 16:12
by omexlu
Danke der Rückmeldung, bei mir war auch nur ein minimal image der Rest hat KeyHelp eingerichtet also keine Ahnung warum (das andere Problem stört mich mehr [anderer Thread])

Bei mir leider nicht (warum auch immer):

Code: Select all

MariaDB [(none)]> SHOW VARIABLES LIKE '%time_zone%';
+------------------+--------+
| Variable_name    | Value  |
+------------------+--------+
| system_time_zone | UTC    |
| time_zone        | SYSTEM |
+------------------+--------+
2 rows in set (0.001 sec)

MariaDB [(none)]> select curtime();
+-----------+
| curtime() |
+-----------+
| 14:11:08  |
+-----------+
1 row in set (0.000 sec)

Code: Select all

               Local time: Wed 2024-09-11 16:13:19 CEST
           Universal time: Wed 2024-09-11 14:13:19 UTC
                 RTC time: Wed 2024-09-11 14:13:19
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Re: MYSQL: current_timestamp()  [GELÖST]

Posted: Wed 11. Sep 2024, 17:32
by omexlu
Läuft alles danke für den Support :)