Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid API trying to execute apcaccess with UPS disabled

Featured Replies

So I noticed my logs being spammed with:

May 12 19:46:08 Unraid apcaccess: : Bogus configuration value (*invalid-cable*)

I use NUT to monitor my UPS, so I have Start APC UPS daemon set to No, and I couldn't figure out what was spamming my log, so I removed execute permissions from apcaccess.

After doing that, I noticed graphql-api.log is now spamming:

[23:10:09 ERROR UPSService]: Error getting UPS data: {"apiVersion":"4.33.0+7af4c774","logger":"UPSService","context":"UPSService"}
[23:10:09 ERROR ExceptionsHandler]: Failed to get UPS data: No UPS data returned from apcaccess {"apiVersion":"4.33.0+7af4c774","logger":"ExceptionsHandler","context":"ExceptionsHandler"}
    err: {
      "type": "Error",
      "message": "Failed to get UPS data: No UPS data returned from apcaccess",
      "stack":
          Error: Failed to get UPS data: No UPS data returned from apcaccess
              at UPSService.getUPSData (file:///usr/local/unraid-api/dist/assets/plugin.module-Bu4zPTJU.js:31482:19)
              at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
              at async UPSResolver.upsDevices (file:///usr/local/unraid-api/dist/assets/plugin.module-Bu4zPTJU.js:31780:25)
    }

How can I stop the Unraid API from trying to read a non-existent APC-compatible UPS and spamming my logs?

Thanks,

Josh

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.