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.

UPS error message: need to disable apcupsd?

Featured Replies

Every 10 minutes the log is displaying "Tower apcupsd[2250]: Communications with UPS lost."

 

I assume I need to disable apcupsd (I'm using the NUT plugin for network UPS instead), and I've already set:

Settings > UPS Settings > Start APC UPS daemon: No,

but the message keeps appearing.

 

Is there another way to disable apcupsd, or is there another problem? Under status in UPS Settings it says "Lost communication" (my network UPS seems ok under NUT Settings.)

Edited by shawn

  • 2 months later...

Eventually found a proper solution!
 

  1. Disable apcupsd by resetting settings to Default (see above)
  2. Open the terminal and copy your current logrotate script for apcupsd to your boot flash drive:
    mkdir -p /boot/config/custom/ && cp /etc/logrotate.d/apcupsd /boot/config/custom/apcupsd
  3. Open the script you copied on your flash drive using an editor (e.g. nano /boot/config/custom/apcupsd) and remove the following lines:
    postrotate
        /etc/rc.d/rc.apcupsd restart 1>/dev/null || true
    endscript
    Mine looks like this after making the changes:
    /var/log/apcupsd.events {
      rotate 4
      weekly
      notifempty
      missingok
    }
  4. Now make sure your /boot/config/go script will overwrite the logrotate.d config with the updated file on boot:
    echo "cp /boot/config/custom/apcupsd /etc/logrotate.d/apcupsd" >> /boot/config/go
  5. To test that it works and apply the changes now, copy the file and run the logrotate job:
    cp /boot/config/custom/apcupsd /etc/logrotate.d/apcupsd && /etc/cron.daily/logrotate

     

Edited by Manchineel

  • 2 weeks later...
  • Author

Seems like a bit of work for getting UPS to work without errors. Can one of the developers patch this?

  • 1 year later...

I had this same problem after trying to set up my CyberPower UPS; tried the built in APC UPS daemon, switched to NUT plugin, error message despite daemon being disabled. 

All I did was set the built in settings to default, and it seems to have stopped throwing error messages now. 

 

  • 2 months later...

I hate to raise the dead here, but I had this same issue after switching to NUT to control other network devices without spending $400 on an SNMP card to the UPS.

 

I had "Start APC UPS daemon:" set to No, yet the service continued to run, which caused issues with my UPS, with both the build-in UPS daemon running alongside NUT. 

 

In case anyone else is an unpaid noob, clicking the "Default" button under UPS Settings resets all the settings and stops the APC UPS daemon, and I haven't had any issues since.

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.