bug(agent): Failed to cache new SNMP config #1015

Closed
opened 2026-03-28 04:30:50 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2810
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2810
Original created: 2026-02-12T17:15:25Z


Describe the bug

This was on a newly installed edge agent, the installer probably should just take care of creating these directories with teh correct permissions when the package is installed.

Feb 12 17:13:55 sr-test-pve04 serviceradar-agent[44940]: {"level":"warn","component":"agent","error":"failed to create cache directory: mkdir /var/lib/serviceradar/cache: permission denied","time":"2026-02-12T17:13:55Z","message":"Failed to cache new SNMP config"}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

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

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2810 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2810 Original created: 2026-02-12T17:15:25Z --- **Describe the bug** This was on a newly installed edge agent, the installer probably should just take care of creating these directories with teh correct permissions when the package is installed. ``` Feb 12 17:13:55 sr-test-pve04 serviceradar-agent[44940]: {"level":"warn","component":"agent","error":"failed to create cache directory: mkdir /var/lib/serviceradar/cache: permission denied","time":"2026-02-12T17:13:55Z","message":"Failed to cache new SNMP config"} ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#1015
No description provided.