Closed ptocadoa closed 3 months ago
what i see is in GMT
This seems to be the same as https://github.com/ntop/ntopng/issues/8571 Please avoid opening multiple tickets for the same issue.
Perhaps #8571 issue was not clear and was closed maybe too fast (I was getting different TZ at diferent places) Today I have forced a redeploy of the docker with the above yaml and NTOPNG does not get the TZ specified.
An update for the ntopng.dev image should be available on dockerhub, it seems the tzdata package was not installed which affects the timezone. Please check the new image and let us know.
Although It seems I am using latest version, it says TZ=UTC
If i connect to ntopng command line:
Could you check the time to see if it is correct, regardless of the printed Timezone name? Please also provide the date output
Screenshot taken right now. Please note the local timezone at the taskbar vs the GMT timezone inside the browser.
Please note the date at the host (above) and date inside ntopng docker.
Could you run apt install tzdata in the container and issue date again?
Installed tzdata in the container Date now reports correctly in bash At the botton of the ntopng page, the date is local. The dashboards, filters, graphs are still using epoch time and GMT timezone.
d31236f7ed4e2f3c1e7b61aa7c4a2b8db5acae30 probably fixes this, please wait for the new docker images (tomorrow)
date+time seems to have been corrected:
but as time goes by:
graphs do not appear:
I have tried to reset ntop preferences via: redis-cli keys "ntopng.*" | xargs redis-cli unlink
what are you currently using, rrd or influxdb?
I am currently using RRD, cleaning redis preferences. I have just changed to Influx 1.8.10....commenting rsults in a few minutes
Changing to Influx makes unresponsive my ntopng docker. Access denied to folder/files appear: 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/-1/top_talkers/) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/-1/alerts/) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/0/top_talkers/) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/0/alerts/) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/ts_schemas) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/scripts_data) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/interface) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/httpdocs) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/alert_endpoints) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/network) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/http_lint) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/menu_items) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/locales) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/active_monitoring) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/check_definitions) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/scripts) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/system) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/snmp_device) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/syslog) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/alert_definitions) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/modules) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/flow) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/host) failed [13/Permission denied] 02/Aug/2024 12:49:46 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/templates) failed [13/Permission denied] 02/Aug/2024 12:49:49 [Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/tmp/influxdb/) failed [13/Permission denied] [admin@NAS164B9C ntopng]#
To do that, you need to add the option to the configuration file: --dont-change-user
I have deleted the folder of my docker ntopng and recreated I had configured influxdb as backend Restarted the docker and voila, graphs appear using influxdb
Thank you for reporting, this seems solved
My ntopng compose