[Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Discuss, seek assistance, and report issues related to hardware components, such as hardware platforms, memory, network ports, power supplies, UPS systems, and so on.
Post Reply
User avatar
Balage911
Posts: 3
Joined: 15 Jun 2026, 03:22
Hungary

[Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by Balage911 »

I am facing a critical issue with TOS 6 where the NAS automatically shuts down after about 45–50 minutes when a USB UPS is connected. Here is a summary of the diagnostic details:

The UPS Status: The APC BX950 UPS hardware is perfectly fine. The internal self-tests are successful, and the UPS logs confirm that it is broadcasting valid telemetry data through the USB cable.

The Root Cause: The built-in NUT (Network UPS Tools) service cannot maintain a stable connection to the USB port because it lacks proper execution privileges. While the service starts up, the OS permissions eventually block the process from reading the /dev/bus/usb/ interface.

The Consequence: Because NUT loses connection to the UPS, TOS misinterprets this as a critical power event and forcefully triggers a system shutdown after 45 minutes to protect the data.

The Blocker: I tried to fix this via SSH (sudo), but TOS 6 prevents modifying system configurations or adding custom udev rules, returning Permission denied even for elevated superusers.

Relevant Technical Details: NUT Version: Network UPS Tools upsd 2.8.0

The Key Log Error: usb_set_report: Protocol error (or insufficient permissions)
Data lookup failed: Got disconnected by another driver?
Since this seems to me ar system-level permission bug in TOS 6, is there any official fix or a workaround to grant the NUT service permanent root access to the USB bus without rebuilding the rootfs?

Additional Note: As further proof of the system lock, I managed to temporarily fix the UPS timer settings using CLI commands, but all these modifications were completely wiped out and restored to default after a system reboot.
sed -i 's/offdelay = 2700/offdelay = 30/g' /usr/etc/nut/ups.conf
sed -i 's/ondelay = 600/ondelay = 60/g' /usr/etc/nut/ups.conf

Thanks for any help!
User avatar
MikeZhang
TM Support
Posts: 381
Joined: 05 Sep 2023, 22:21

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by MikeZhang »

Sorry for the inconvenience, we checked carefully and found the UPS model you use is not on our compatibility list
https://www.terra-master.com/pages/comp ... tab_A8cfP6
It's recommended to choose UPS model from our compatibility list and verify if the issue persists.
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by Gremlin »

MikeZhang wrote: 15 Jun 2026, 17:57
Really? APC models are pretty common and tend to be standardised to work with usual drivers.
Maybe check the Nut Compatibility lists.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
Balage911
Posts: 3
Joined: 15 Jun 2026, 03:22
Hungary

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by Balage911 »

MikeZhang wrote: 15 Jun 2026, 17:57
Dear MikeZhang,

Thank you for your response. However, I am quite surprised by this answer because the root cause of the issue does not seem to be related to the specific UPS model.

According to the system logs, the APC BX950 is communicating and broadcasting telemetry data over the USB cable flawlessly. The actual problem is that the built-in NUT (Network UPS Tools) service does not have the necessary system-level permissions to access the USB bus (/dev/bus/usb/) on TOS 6.

Because the driver is blocked by OS permissions, it eventually drops the connection, which TOS then misinterprets as a power failure and triggers a shutdown. This permission issue would happen with any UPS model connected via USB, regardless of whether it is on the compatibility list or not.

Could you please let me know how I can manually grant elevated root privileges or modify the udev rules for the NUT service on TOS 6 so it can maintain a stable connection?
User avatar
MikeZhang
TM Support
Posts: 381
Joined: 05 Sep 2023, 22:21

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by MikeZhang »

Balage911 wrote: 15 Jun 2026, 20:03
To ensure your data security and long-term system stability, we strongly recommend that you choose a UPS model from the compatibility list. Devices on the compatibility list have undergone rigorous testing for physical electrical performance, communication robustness, and various extreme power outage scenarios, ensuring the absolute reliability of core power management services.

Risk Warning: Any drastically modify system bus permissions via SSH command line, low-level udev rules, mount overrides, or scheduled tasks are unofficially supported. Such modifications may lower the system's security level and may even cause unknown system conflicts, external device access errors, or service deadlocks during future TOS system upgrades.

If the issue still persists with compatible UPS, please contact us via official online chat
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
Balage911
Posts: 3
Joined: 15 Jun 2026, 03:22
Hungary

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by Balage911 »

MikeZhang wrote: 16 Jun 2026, 19:19
Thats kind of a "I don't want take care your issue" answer to me.

Maybe the easiest way if I wait for TOS7 and if that OS is also that shitty than TOS6 than swich to an another OS.

But thanks for your answer, I guess.
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: [Help] TOS 6 shuts down automatically: NUT driver loses USB UPS connection due to permission issues

Post by CursaYang »

Balage911 wrote: 18 Jun 2026, 04:57
Is your current system version the latest TOS 6.0.794? When logging in using the built-in terminal, the super administrator user has the highest privileges, so you don't need to add sudo before the command.
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
Post Reply

Return to “Hardware, Power and Accessories”