Michael Hacker

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Michael Hacker

  1. @hotio, it looks like the cloudflareddns has been moved or reloaded (I now get "not available" in the updates column) and the image on CA Apps says only downloaded 100+ times. Do I need to switch to the new docker image? Generally, thank you for this (and other) great images. Happy Holidays!
  2. I tired a new shorter better quality USB cable, and that did not solve the problem. It worked great when i plugged it in, but then on restart (and on trying to shut off and turn back on the apcusbd) I get these logs. The one line sticking out to me is "usbfs: process 4689 (apcupsd) did not claim interface 0 before use" because my issue is resolved if i unplug and plug it back in. Aug 14 08:16:11 Maverick emhttpd: shcmd (75): /etc/rc.d/rc.nginx start Aug 14 08:16:11 Maverick root: Starting Nginx server daemon... Aug 14 08:16:12 Maverick apcupsd[4689]: Power failure. Aug 14 08:16:13 Maverick apcupsd[4689]: Power is back. UPS running on mains. Aug 14 08:17:51 Maverick webGUI: Successful login user root from 172.17.0.4 Aug 14 08:20:45 Maverick ntpd[1998]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Aug 14 08:22:52 Maverick login[10777]: ROOT LOGIN on '/dev/pts/0' Aug 14 08:24:03 Maverick apcupsd[4689]: Power failure. Aug 14 08:24:03 Maverick apcupsd[4689]: Power is back. UPS running on mains. Aug 14 08:24:10 Maverick apcupsd[4689]: Power failure. Aug 14 08:24:10 Maverick apcupsd[4689]: Power is back. UPS running on mains. Aug 14 08:25:19 Maverick apcupsd[4689]: Power failure. Aug 14 08:26:27 Maverick apcupsd[4689]: Power failure. Aug 14 08:26:28 Maverick apcupsd[4689]: Power is back. UPS running on mains. Aug 14 08:26:50 Maverick apcupsd[4689]: Power failure. Aug 14 08:27:05 Maverick apcupsd[4689]: Power failure. Aug 14 08:27:05 Maverick apcupsd[4689]: Power is back. UPS running on mains. Aug 14 08:27:15 Maverick apcupsd[4689]: apcupsd exiting, signal 15 Aug 14 08:27:15 Maverick kernel: usb 3-1: reset full-speed USB device number 2 using xhci_hcd Aug 14 08:27:16 Maverick kernel: usb 3-1: usbfs: process 4689 (apcupsd) did not claim interface 0 before use Aug 14 08:27:16 Maverick kernel: apcupsd[4689]: segfault at 0 ip 000000000041b836 sp 00007ffc16577440 error 4 in apcupsd[400000+46000] Aug 14 08:27:16 Maverick kernel: Code: 00 00 00 00 41 57 41 56 49 89 fe 41 55 41 54 49 89 f4 55 53 48 81 ec 88 00 00 00 48 8b 46 08 48 8b 7f 18 0f b7 50 02 0f b7 30 <48> 8b 07 ff 50 20 48 85 c0 0f 84 fb 02 00 00 49 89 c5 48 8d 6c 24 Aug 14 08:27:25 Maverick apcupsd[11699]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded Aug 14 08:27:25 Maverick apcupsd[11699]: NIS server startup succeeded Aug 14 08:27:35 Maverick apcupsd[11699]: Power failure. Aug 14 08:27:45 Maverick apcupsd[11699]: Power failure.
  3. Interesting. I'm running an X570M and it only has USB 3 ports. It does have a few USB 2.0 headers, so I can get a slot plate and add some. That would be a cheap fix. I tried to run a usb device reset via python to see if that would simulate a cable pull but it didn't work. I read in a few spots that the included APC USB cable is very low quality. I'm going to a newer / better one from monoprice and see if that adds stability. If not, I will try to get a AP9827 from eBay (the proprietary 10 pin RJ 45 to USB for the RJ 45 serial port on this device) and see if that works....or try to add USB 2.0 ports. Interestingly, this device also supports Modbus over tcp via the SmartConnect Ethernet port. I enabled that, but I cannot figure out how to connect to it via IP. Thanks for the tip!
  4. Thank you. The issue is without Modbus, I don't get the real time usage information (I guess not the end of the world, but the missing data bugs me). The device has Modbus settings, which are enabled, and it does work just it doesn't work at startup on its own w/o tinkering. So that tells me it works, but there is something wrong or some setting or something that i'm missing.
  5. Issue resolved at this post. Add to nginx config for the unraid proxy server. proxy_buffering off;
  6. TL;DR - I can only get apcusbd to work if I both restart apcusbd and unplug and plugin the USB. It doesn't seem to matter which I do first. Having to unplug and plug in a usb each time the server shuts down seems unrealistic. Any help is appreciated. I have a brand new APC P-SMT1000C connected to unraid through USB. When unraid starts up with the USB plugged in from startup, I get the following. It's always some random number for Battery Charge (6.2, 1.5, etc) and it alternates between Online and Online Low Batt. Also the logs reflect power failures. The Aug 11 10:07:19 Maverick apcupsd[4299]: Power failure. Aug 11 10:07:25 Maverick apcupsd[4299]: Power failure. Aug 11 10:08:35 Maverick apcupsd[4299]: Power failure. Aug 11 10:08:36 Maverick apcupsd[4299]: Power is back. UPS running on mains. Aug 11 10:11:10 Maverick webGUI: Successful login user root from 172.17.0.4 Aug 11 10:11:49 Maverick ntpd[2022]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Aug 11 10:11:55 Maverick apcupsd[4299]: Power failure. Aug 11 10:12:06 Maverick apcupsd[4299]: Power failure. Aug 11 10:13:17 Maverick apcupsd[4299]: Power failure. Aug 11 10:16:37 Maverick apcupsd[4299]: Power failure. Aug 11 10:16:44 Maverick apcupsd[4299]: Power failure. Aug 11 10:16:52 Maverick apcupsd[4299]: Power failure. Aug 11 10:16:57 Maverick apcupsd[4299]: Power failure. Aug 11 10:17:05 Maverick apcupsd[4299]: Power failure. Then, if I stop the daemon and start it up again, i get the following in the log, with the same battery number percentage: Aug 11 10:24:49 Maverick apcupsd[4299]: apcupsd exiting, signal 15 Aug 11 10:24:49 Maverick kernel: usb 3-2: reset full-speed USB device number 2 using xhci_hcd Aug 11 10:24:49 Maverick apcupsd[4299]: Communications with UPS lost. Aug 11 10:24:49 Maverick apcupsd[4299]: apcupsd shutdown succeeded Aug 11 10:24:49 Maverick kernel: apcupsd[4299]: segfault at 0 ip 000000000041c773 sp 00007ffe4c70b7e0 error 4 in apcupsd[400000+46000] Aug 11 10:24:49 Maverick kernel: Code: 01 40 38 c5 0f 85 1e ff ff ff eb 89 0f 1f 00 80 ce 01 48 89 43 10 be 0c 00 00 00 89 97 08 0d 00 00 e8 e1 93 fe ff 48 8b 7b 18 <48> 8b 07 ff 50 18 e9 60 ff ff ff 66 90 48 89 43 10 48 c7 c0 20 96 Aug 11 10:24:49 Maverick sSMTP[12432]: Creating SSL connection to host Aug 11 10:24:49 Maverick sSMTP[12432]: SSL connection using TLS_AES_256_GCM_SHA384 Aug 11 10:24:52 Maverick sSMTP[12432]: Sent mail for [email protected] (221 2.0.0 closing connection d8sm19737570qtr.12 - gsmtp) uid=0 username=root outbytes=663 Aug 11 10:25:04 Maverick apcupsd[12557]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded Aug 11 10:25:04 Maverick apcupsd[12557]: NIS server startup succeeded Then unplugging and plugging back in the USB (this works if the daemon has been turned off and back on, but not if i just unplug and plug it in without first restarting the daemon). Aug 11 10:36:02 Maverick kernel: usb 3-2: USB disconnect, device number 2 Aug 11 10:36:03 Maverick apcupsd[4242]: Communications with UPS lost. Aug 11 10:36:03 Maverick sSMTP[14338]: Creating SSL connection to host Aug 11 10:36:03 Maverick sSMTP[14338]: SSL connection using TLS_AES_256_GCM_SHA384 Aug 11 10:36:05 Maverick sSMTP[14338]: Sent mail for [email protected] (221 2.0.0 closing connection j61sm19163637qtd.52 - gsmtp) uid=0 username=root outbytes=659 Aug 11 10:36:08 Maverick kernel: usb 3-2: new full-speed USB device number 3 using xhci_hcd Aug 11 10:36:08 Maverick kernel: hid-generic 0003:051D:0003.0002: hiddev96,hidraw0: USB HID v1.11 Device [American Power Conversion Smart-UPS_1000 FW:UPS 04.1 / ID=1015] on usb-0000:05:00.3-2/input0 Aug 11 10:36:09 Maverick apcupsd[4242]: Communications with UPS restored. Aug 11 10:36:09 Maverick sSMTP[14626]: Creating SSL connection to host Aug 11 10:36:09 Maverick sSMTP[14626]: SSL connection using TLS_AES_256_GCM_SHA384 Aug 11 10:36:11 Maverick sSMTP[14626]: Sent mail for [email protected] (221 2.0.0 closing connection w12sm16316689qkj.116 - gsmtp) uid=0 username=root outbytes=655 Aug 11 10:36:47 Maverick apcupsd[4242]: apcupsd exiting, signal 15 Aug 11 10:36:47 Maverick kernel: usb 3-2: reset full-speed USB device number 3 using xhci_hcd Aug 11 10:36:47 Maverick apcupsd[4242]: apcupsd shutdown succeeded Aug 11 10:36:52 Maverick apcupsd[16707]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded Aug 11 10:36:52 Maverick apcupsd[16707]: NIS server startup succeeded Here is it working (just to show that it works).
  7. I am using the letsencrypt container to run an ssl reverse proxy that is only accessible from within the VPN. For example, everything is setup as {service-name}.mydomain.net which resolves to a local IP. Everything (HAAS, unifi controller, most of Unraid Web GUI) seems to be working except for the main syslog in the Unraid Web GUI (it just won't load). The docker container logs load fine. My sites file is below. Does anyone have experience with getting this last bit to work through a reverse proxy? Any help is appreciated. server { listen 443 ssl; listen [::]:443 ssl; server_name tower.mydomain.net; # all ssl related config moved to ssl.conf #include /config/nginx/ssl.conf; location / { #proxy_set_header X-Real-IP $remote_addr; #proxy_set_header Host $host; #proxy_pass https://localip:port/; #proxy_set_header Upgrade $http_upgrade; #proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; proxy_pass https://localIP:port; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Ssl on; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } }
  8. Thanks! I eventually will run a Blue Iris VM, but I'm guessing that just backing up my Blue Iris settings from the VM would be sufficient instead of that massive file. Appreciate it!
  9. Does anyone have a clear understanding of libvert.img and why it would need to be backed up. Of course, including it in the backup is no big deal, but I also offsite my backups of appdata and flash to AWS S3. I'm wondering if I need to do the same for libvert.img and how important it is. Currently i'm doing a checksum to see the backed up libvert.img file has changed, and even though I have no VMs it seems the checksum is changing every 2-3 days, which then triggers a 1GB upload to aws, which seems not necessary. Am I missing something? I tried to search around but it doesn't seem there is a clear answer of what libvert.img (beyond used to run VM) and why/how it would change, especially when not running VMs. Thank you!
  10. New unraid and s3backup user here. First, this container is great, and thanks for providing it! One question though, I'm not sure if I'm doing something wrong, but everytime i start the container, I get another cron entry. Now /etc/cron.d/s3backup has 8 entries (the first one and 7 duplicates). I can't figure out how to edit the cron file or how to make it stop duplicating. I know this file has to be stored somewhere but there isn't any disk maps beyond my share that i'm backing up. Any help is appreciated.
  11. Can anyone point me in the direction of where to put the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. I understand that these need to be daemon environment variables and not client environmental variables and those daemon variables are what I can't figure out. Specifically looking here: https://docs.docker.com/config/containers/logging/awslogs/#credentials.