inverse-inc / packetfence

PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) solution. Boasting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, powerful BYOD management options, 802.1X support, layer-2 isolation of problematic devices; PacketFence can be used to effectively secure networks small to very large heterogeneous networks.
https://packetfence.org
GNU General Public License v2.0
1.39k stars 290 forks source link

chart not found on url "/api/v1/chart?chart=packetfence.logs.packetfence_log" #7669

Open yananet opened 1 year ago

yananet commented 1 year ago

Describe the bug Status - Dashboard - Logs - packetfence.log not shown but the following error shown

packetfence.logs.packetfence_log: chart not found on url "/api/v1/chart?chart=packetfence.logs.packetfence_log"

After recreating pfperl-api with build-local-container.sh.

To Reproduce Steps to reproduce the behavior:

  1. Starting from vanilla Zero-effort VM
  2. Finish the initial steps.
  3. Make sure that Status - Dashboard - Logs - packetfence.log shows a correct graph.
  4. recreate pfperl-api with /usr/local/pf/addons/dev-helpers/build-local-container.sh pfperl-api
  5. reboot the system
  6. Check again that Status - Dashboard - Logs - packetfence.log shows the error
packetfence.logs.packetfence_log: chart not found on url "/api/v1/chart?chart=packetfence.logs.packetfence_log"

Screenshots If applicable, add screenshots to help explain your problem. image

Expected behavior The graph should be shown without error message

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

yananet commented 1 year ago

I cannot reproduce this on 12.1. Also reproducible in 12.1. However I cannot reproduce on a different system which was installed a month before.