• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

pfSense-pkg-Status_Traffic_Totals (vnstat) - Error: Unable to parse database

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
2 Posts 2 Posters 272 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mfld LAYER 8
    last edited by Mar 11, 2023, 8:28 AM

    Since one of the recent snapshots, vnstat database seems corrupted. Seen on 3 / 3 test boxes.

    in CLI it has some clues:

    vnstat
    
                          rx      /      tx      /     total    /   estimated
     enc0:
    Error: Failed to get interface id from database (1): no such column: enc0
    Error: Failed to fetch month data.
     pflog0:
    Error: Failed to get interface id from database (1): no such column: pflog0
    Error: Failed to fetch month data.
     pfsync0:
    Error: Failed to get interface id from database (1): no such column: pfsync0
    Error: Failed to fetch month data.
     WG0 (tun_wg0):
    Error: Failed to get interface id from database (1): no such column: tun_wg0
    Error: Failed to fetch month data.
     WAN (vtnet0):
    Error: Failed to get interface id from database (1): no such column: vtnet0
    Error: Failed to fetch month data.
    

    23.01 is not effected. 2.7.0.a is.

    db wipe via "Reset Graphing Data" button and service restart did not resolve.

    Currently on 2.7.0.a.20230310.0600

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by jimp Mar 11, 2023, 9:35 PM Mar 11, 2023, 9:32 PM

      Looks like it was from a recent sqlite change:

      https://github.com/vergoh/vnstat/issues/243

      https://redmine.pfsense.org/issues/14096

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received