Hi,
I have installed Cacti 1.2.21 on Rocky 8 with PHP 8.1.8, MariaDB 10.3.32-2 and while performing the new install I got the following error:
date.timezone >= Error A valid timezone that matches MySQL and the system
On DB I have:
MariaDB [(none)]> SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;
+--------------------+---------------------+
| @@GLOBAL.time_zone | @@SESSION.time_zone |
+--------------------+---------------------+
| Europe/Zurich | Europe/Zurich |
+--------------------+---------------------+
Within PHP:
[root@cacti1 ~]# grep zone /etc/php.ini
; Defines the default timezone used by the date functions
; https://php.net/date.timezone
date.timezone = Europe/Zurich
And on system side:
[root@cacti1 ~]# timedatectl
Local time: Sun 2022-07-31 10:45:28 CEST
Universal time: Sun 2022-07-31 08:45:28 UTC
RTC time: Sun 2022-07-31 08:45:28
Time zone: Europe/Zurich (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
What could be the root issue ?
TimeZone validation issue
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 71
- Joined: Thu Apr 26, 2012 7:41 am
Re: TimeZone validation issue
Ok ticket can be closed: afzer login from another Browser, it passes successfully, sorry...
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: TimeZone validation issue
Does the other browser still have issues? If so, open a ticket on GitHub.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 71
- Joined: Thu Apr 26, 2012 7:41 am
Re: TimeZone validation issue
No because I complete the install
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: TimeZone validation issue
Oh, okay. Glad you worked through it then. The TimeZone stuff should be pretty solid by now, but there is the issue of upgrades that seem to have bitten you. We don't do much upgrade testing from the 0.8.x versions any more. So, things pop up from time to time and this is a pretty recent feature.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests