-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by lqgmeow
-
-
Hi,
I have a Cyberpower CP1500AVRLCD3, and it's connected to Unraid using a USB cable. I suffer from random lost every day. I installed nut on my desktop so that it can be shutdown if the power lost when I'm not at home, and `upsmon` keep reporting lost and establish of the link. So I go to check the log of unraid, every day it looks like this:
Sep 20 18:42:37 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 18:42:37 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 18:42:52 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 18:46:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 18:54:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 19:21:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 19:25:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 19:31:23 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 19:35:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 19:51:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 19:51:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 19:51:23 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 19:51:23 TARS-NR upsd[4671]: Data for UPS [CP1500] is stale - check driver Sep 20 19:51:27 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 19:51:27 TARS-NR upsmon[4675]: Communications with UPS [email protected] lost Sep 20 19:51:32 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 19:51:37 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 19:51:38 TARS-NR upsd[4671]: UPS [CP1500] data is no longer stale Sep 20 19:51:42 TARS-NR upsmon[4675]: Communications with UPS [email protected] established Sep 20 20:00:23 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:00:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 20:11:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:12:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 20:12:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:14:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:17:23 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 20:28:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:35:23 TARS-NR upsd[4671]: User [email protected] logged into UPS [CP1500] Sep 20 20:36:08 TARS-NR upsd[4671]: User [email protected] logged into UPS [CP1500] Sep 20 20:46:22 TARS-NR webGUI: Successful login user root from 192.168.31.26 Sep 20 20:51:08 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:51:23 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:52:38 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 20:52:38 TARS-NR upsd[4671]: Data for UPS [CP1500] is stale - check driver Sep 20 20:52:43 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:52:43 TARS-NR upsmon[4675]: Communications with UPS [email protected] lost Sep 20 20:52:48 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:52:53 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:52:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 20:52:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 20:52:58 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:53:03 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:53:08 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:53:08 TARS-NR upsd[4671]: UPS [CP1500] data is no longer stale Sep 20 20:53:13 TARS-NR upsmon[4675]: Communications with UPS [email protected] established Sep 20 20:59:23 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 20:59:23 TARS-NR upsd[4671]: Data for UPS [CP1500] is stale - check driver Sep 20 20:59:28 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:59:28 TARS-NR upsmon[4675]: Communications with UPS [email protected] lost Sep 20 20:59:33 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:59:38 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 20:59:38 TARS-NR upsd[4671]: UPS [CP1500] data is no longer stale Sep 20 20:59:43 TARS-NR upsmon[4675]: Communications with UPS [email protected] established Sep 20 21:01:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_string: Input/Output Error Sep 20 21:10:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 21:11:08 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 21:11:08 TARS-NR upsd[4671]: Data for UPS [CP1500] is stale - check driver Sep 20 21:11:13 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:13 TARS-NR upsmon[4675]: Communications with UPS [email protected] lost Sep 20 21:11:18 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:22 TARS-NR upsd[4671]: User [email protected] logged out from UPS [CP1500] Sep 20 21:11:23 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:23 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 21:11:28 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:33 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:38 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:38 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 21:11:43 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:48 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:53 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:11:58 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:12:03 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:12:08 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:12:08 TARS-NR upsd[4671]: UPS [CP1500] data is no longer stale Sep 20 21:12:13 TARS-NR upsmon[4675]: Communications with UPS [email protected] established Sep 20 21:15:57 TARS-NR root: plugin: creating: /boot/config/plugins/folder.view/folder.view-2023.09.20.txz - downloading from URL https://raw.github.com/scolcipitato/folder.view/master/archive/folder.view-2023.09.20.txz Sep 20 21:15:58 TARS-NR root: plugin: checking: /boot/config/plugins/folder.view/folder.view-2023.09.20.txz - MD5 Sep 20 21:15:58 TARS-NR root: plugin: running: upgradepkg --install-new /boot/config/plugins/folder.view/folder.view-2023.09.20.txz Sep 20 21:15:58 TARS-NR root: plugin: running: anonymous Sep 20 21:15:58 TARS-NR root: plugin: folder.view.plg updated Sep 20 21:17:53 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 21:19:38 TARS-NR usbhid-ups[4647]: nut_libusb_get_report: Input/Output Error Sep 20 21:20:08 TARS-NR usbhid-ups[4647]: libusb1: Could not open any HID devices: insufficient permissions on everything Sep 20 21:20:08 TARS-NR upsd[4671]: Data for UPS [CP1500] is stale - check driver Sep 20 21:20:13 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:20:13 TARS-NR upsmon[4675]: Communications with UPS [email protected] lost Sep 20 21:20:18 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:20:23 TARS-NR upsmon[4675]: Poll UPS [[email protected]] failed - Data stale Sep 20 21:20:23 TARS-NR upsd[4671]: UPS [CP1500] data is no longer stale Sep 20 21:20:28 TARS-NR upsmon[4675]: Communications with UPS [email protected] established
I was on the old plugin and now I'm using desertwitch 2023.09.17b version, this problem never disappear. I have tried to set `pollinterval` to 15 according to some google search, but nothing changed. This is the detail about my UPS if it may help
root@TARS-NR:~# upsc CP1500@localhost battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 20 battery.mfr.date: CPS battery.runtime: 7575 battery.runtime.low: 300 battery.type: PbAcid battery.voltage: 26.1 battery.voltage.nominal: 24 device.mfr: CPS device.model: CP1500AVRLCD3 device.serial: BHPMV7001812 device.type: ups driver.debug: 0 driver.flag.allow_killpower: 0 driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 15 driver.parameter.port: auto driver.parameter.synchronous: auto driver.state: quiet driver.version: 2.8.0.1 driver.version.data: CyberPower HID 0.8 driver.version.internal: 0.51 driver.version.usb: libusb-1.0.26 (API: 0x1000108) input.voltage: 121.0 input.voltage.nominal: 120 output.voltage: 121.0 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 8 ups.mfr: CPS ups.model: CP1500AVRLCD3 ups.productid: 0601 ups.realpower.nominal: 900 ups.serial: BHPMV7001812 ups.status: OL ups.test.result: No test initiated ups.timer.shutdown: -60 ups.timer.start: -60 ups.vendorid: 0764
I appreciate any help.
-
On 9/11/2023 at 9:08 AM, pho said:
Hi everyone,
I am having trouble setting up the overleaf docker template. I would appreciate if someone could help me out or could point my to a comprehensive tutorial if that exists. Unfortunately, the github page of overleaf gives no answers for these kind of problems. I am intending of running overleaf behind the Nginx Proxy Manager, this works fine for other dockers as jellyfin and airsonic, so that part should not be totally wrong on my side.
I have downloaded the template of overleaf as well as redis and mongodB and filled in templates to the best of my knowledge (see below), however the site refuses to connect with 404 Error, respectively ERR_CONNECTION_REFUSED. The overleaf docker runs in a proxynet with the Proxymanager, the database are on "bridge". The webui port had to be changed to something else than 80 so it is not conflicting with the Unraid main UI. I am not sure what the exact problem is, but it seems the service is just not running hence nothing can be found at the adress. Actually when refreshing the docker page, you see that Overleaf keeps stopping, too.
I am not entirely clear if redis and mongodb are appropriately connected.
In the template for mongodb I Ieft all the default values and in overleaf I have the following to establish the connection, I also tried leaving out the "mongodb://" part but it does not make any difference. It is weird the template asks for a URL and not for a "host" as it does for Redis.
The overleaf log looks like this, I am not sure if says it can connect or if it is checking if it can. But looking at the top, I would say it cannot connect to the database and then shuts down as a result:
I also notice that the overleaf console does not stay open, so I cannot use it.
MongoDBs log looks like this:
For Redis I have also used the default host and port and inserted it in the overleaf template. The Redis log looks like this:
Following advice here: https://github.com/overleaf/overleaf/issues/1032 I have also tried to remove a few of the overleaf template variables such as:
SHARELATEX_SITE_URL
SHARELATEX_SECURE_COOKIE
SHARELATEX_BEHIND_PROXY
In retrospect this does not seem to make sense, as it specifically refers to setups with behind proxies, but it did not make any difference either.
I also removed SHARELATEX_REDIS_PASS following this post:
Lastly, I wonder about that neither Redis or Overleaf produce a folder in my appdata directory, mongoDB does - is this behavior normal ?
Can anyone point me in the right direction please ? Also happy to give more info.
Many thanks in advance.
Hi, I had the same problem. Actually, the log tells the error,
```
Mongo instance doesn't support transactionsMongoServerError: Transaction numbers are only allowed on a replica set member or mongos
```
So overleaf was trying to use "transactions" functions, whatever it is. But the MongoDB is not in replica set mode. See this link: https://github.com/overleaf/overleaf/wiki/Release-Notes--4.x.x#manually-setting-up-mongodb-as-a-replica-setTo deal with this in Unraid, I did these which work for me:
- Go to the setting page of MongoDB, switch to "Advanced view", then add `--replSet overleaf` in the "Post Arguments". In this way, unraid will launch mongoDB using `docker -d ... mongo --replSet overleaf`, which is what we want.
- Restart MongoDB, now we have to initialize this replica set. In the console of MongoDB, run `mongosh` to enter mongo cli, then run `rs.initiate({ _id: "overleaf", members: [ { _id: 0, host: "[ip]:[port]" } ] })`, note that `[ip]` should be replaced by your unraid ip, and `[port]` should be replaced by your host port of MongoDB. They should be `192.168.178.113:27017` according to your screenshot. Once you see `ok` in the output, it's initialized. You don't need to do this again after you restart mongoDB.
- Make sure the mongo URL in your overleaf setting looks like `mongo://[ip]:[port]/overleaf`. Then you should be all good.
- 1
-
4 hours ago, itimpi said:
Can’t see it so it looks like it may somehow have really disappeared 😒. Not sure what could cause that.Ok, thank you anyway. 😂 I'll go there and repost my reply
-
Hi, could anyone please check if my post last night is there? I found someone having the same problem as me, and I solved it, so I came back to reply him my solution. I'm not sure if I meet the same problem as len5623, since I opened a new browser tab to sign in then back to click submit my reply. I just realized that maybe won't work... Thanks for any help.
[Plugin] NUT v2 - Network UPS Tools
in Plugin Support
Posted
Hi, yes it happened on the old version too. That's good information for me, I will check other USB ports later. Thanks for your reply.