Diode663

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Diode663

  1. My Node Red docker recently got borked. It looks like a permissions issue. > [email protected] start > node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data" 15 Jul 07:53:58 - [info] Welcome to Node-RED =================== 15 Jul 07:53:58 - [info] Node-RED version: v3.0.0 15 Jul 07:53:58 - [info] Node.js version: v16.16.0 15 Jul 07:53:58 - [info] Linux 5.15.46-Unraid x64 LE 15 Jul 07:53:59 - [info] Loading palette nodes 15 Jul 07:54:03 - [info] Dashboard version 3.1.7 started at /ui 15 Jul 07:54:03 - [error] Failed to start server: 15 Jul 07:54:03 - [error] Error: EACCES: permission denied, unlink '/data/.config.nodes.json.backup' root@NAS:/mnt/user/appdata/nodered# ls -all total 228 drwxr-xr-x 1 nobody users 4096 Jun 14 15:55 ./ drwxrwxrwx 1 nobody users 4096 Jun 4 05:32 ../ -rw-r--r-- 1 nobody users 30855 Jun 4 05:49 .config.nodes.json -rw-r--r-- 1 nobody users 30232 Jun 4 05:49 .config.nodes.json.backup -rw-r--r-- 1 nobody users 95 Jun 4 05:32 .config.runtime.json -rw-r--r-- 1 nobody users 543 Jun 4 05:33 .config.users.json -rw-r--r-- 1 nobody users 468 Jun 4 05:33 .config.users.json.backup -rw-r--r-- 1 nobody users 10360 Jun 14 15:55 .flows.json.backup -rw-r--r-- 1 nobody users 79 Jun 4 05:53 .flows_cred.json.backup drwxr-xr-x 1 nobody users 83 Jun 4 05:49 .npm/ -rw-r--r-- 1 nobody users 10366 Jun 14 15:55 flows.json -rw-r--r-- 1 nobody users 107 Jun 4 05:53 flows_cred.json drwxr-xr-x 1 nobody users 19 Jun 4 05:32 lib/ drwxr-xr-x 1 nobody users 20480 Jun 4 05:49 node_modules/ -rw-r--r-- 1 nobody users 67713 Jun 4 05:49 package-lock.json -rw-r--r-- 1 nobody users 440 Jun 4 05:49 package.json -rw-r--r-- 1 nobody users 20498 Jun 4 05:32 settings.js I tried doing a chmod 777 but Im not able to start the container I tried setting the extra parameters flag to --user nobody and that allowed the docker to start but all my flows are missing and I cannot install any nodes. Im not sure where to go from here and any help would be appretiated.
  2. Has anyone found a way around the mongodb problems?
  3. I tried to go back to the latest repository and that wont start at all. I deleted my docker image and started over and still the same result. I get the following error: 2018-10-04 22:14:54.888756 [warn] PUID not defined (via -e PUID), defaulting to '99' 2018-10-04 22:14:54.969258 [warn] PGID not defined (via -e PGID), defaulting to '100' 2018-10-04 22:14:55.023655 [info] Setting permissions recursively on volume mappings... chown: cannot read directory '/var/lib/unifi-video/videos/2ee90163-4814-39bf-aaea-9d89b94246c6/2018/08/26': Structure needs cleaning There isnt anything in the directory as I deleted everything to start completely fresh. I have no idea where I am supposed to go from here. It looks like there is some configuration somewhere left from the previous docker but I have no idea where since I deleted the appdata folder and the whole docker image for everything.
  4. Any updates on how to fix mongodb? Wired tiger isnt supported by the unifi nvr
  5. I pulled the latest beta and this is what the error log shows: 1538543889.216 2018-10-03 01:18:09.216/EDT: ERROR [uv.db.svc] Failed to acquire client connection Interrupted while waiting to connect in MongoDb-Connecting 1538543899.217 2018-10-03 01:18:19.217/EDT: ERROR [uv.db.svc] Failed to acquire client connection Timed out after 10000 ms while waiting to connect. Client view of cluster state is {type=Unknown, servers=[{address=127.0.0.1:7441, type=Unknown, state=Connecting, exception={com.mongodb.MongoException$Network: Exception opening the socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}] in MongoDb-Connecting This is from the mongo log: 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] MongoDB starting : pid=4628 port=7441 dbpath=/usr/lib/unifi-video/data/db 64-bit host=8ff897d7fbb2 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] db version v3.4.17 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] git version: 7c14a47868643bb691a507a92fe25541f998eca4 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] allocator: tcmalloc 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] modules: none 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] build environment: 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] distmod: ubuntu1604 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] distarch: x86_64 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] target_arch: x86_64 2018-10-03T01:18:22.710-0400 I CONTROL [initandlisten] options: { config: "/usr/lib/unifi-video/conf/mongodv3.0+.conf", net: { bindIp: "127.0.0.1", http: { enabled: false }, port: 7441 }, operationProfiling: { mode: "off", slowOpThresholdMs: 500 }, storage: { dbPath: "/usr/lib/unifi-video/data/db", engine: "mmapv1", journal: { enabled: true }, mmapv1: { preallocDataFiles: true, smallFiles: true }, syncPeriodSecs: 60.0 }, systemLog: { destination: "file", logAppend: true, path: "logs/mongod.log" } } 2018-10-03T01:18:22.743-0400 I STORAGE [initandlisten] exception in initAndListen: 28662 Cannot start server. Detected data files in /usr/lib/unifi-video/data/db created by the 'wiredTiger' storage engine, but the specified storage engine was 'mmapv1'., terminating 2018-10-03T01:18:22.743-0400 I NETWORK [initandlisten] shutdown: going to close listening sockets... 2018-10-03T01:18:22.743-0400 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-7441.sock 2018-10-03T01:18:22.743-0400 I NETWORK [initandlisten] shutdown: going to flush diaglog... 2018-10-03T01:18:22.743-0400 I CONTROL [initandlisten] now exiting 2018-10-03T01:18:22.743-0400 I CONTROL [initandlisten] shutting down with code:100 It looks like the old db was stored as wiredtiger but it isnt converting it.
  6. It just said that the connection timed out. I tried the first command but it comes up as mongo not found. Is it possible i just didnt wait long enough for the DB to convert? The docker log didnt really give me any indication that something was actually happening. I was on the previous beta and pulled down new docker about an hour ago and it seemed to be stuck on upgrading maybe I will try it again since i tried to go back to the latest branch and broke everything.
  7. I am afraid I have no experience with mogodb. I looked at the logs and as you said mongo was just in a restart loop.
  8. I keep hanging when upgrading to 3.10 beta 1. On the website it just shows updating forever. Looking over at the beta forums it seems to be a common problem.
  9. Just something to think about, I swore up and down that port 80 wasnt blocked by my isp because I got on the phone with them a few months ago and had them open it up. Well I checked again and sure enough it was closed. it got reset for some reason or another, so make doubly sure that it is open, especially if Optimum is your isp. Also I must have updated my docker 5 minutes after you posted the new version because I dont see any talk of the new fields, notably the validation field. But after forcing an update everything works. Thank you guys. Is this container capable of forwarding to a service on a different ip? I would like to add my idrac but its on a different ip/ adapter. If this is possible are there any examples?
  10. Im going nuts over here. I have had plex up and running perfectly for months. Now something has changed and I am not sure if its a cert thing or not. Last night my friend couldnt reach my server, but I could reach it from my phone not on wifi and at my work computer. Plex also showed that it was accessible from outside my network. Now it shows that the remote connection is no longer accessible. I can access it outside my network. and when I try to connect I get a NET::ERR_CERT_COMMON_NAME_INVALID error. Im not sure if this has to do with my reverse proxy or plex or something else. I updated and restarted my edgerouter x, I checked updates on plex and the letsencrypt docker. I checked to make sure requests were going through the firewall and they were as they always have been. I am not sure where the problem lies. Anyone else having this issue? #PLEX location /web { # serve the CSS code proxy_pass http://192.168.1.5:32400; } # Main /plex rewrite location /plex { # proxy request to plex server proxy_pass http://192.168.1.5:32400/web; } This is the plex related section of my default file for nginx
  11. The other day I happened to check out my unraid dashboard and noticed my cpu was stuck at 50% and my system was chugging down nearly 200 watts. I checked out netdata to try to find the culprit. I noticed it was my win 10 vm and it had been like that for hours. Well I used vnc to see what was going on and it had blue screened. So I restarted the vm and all was well. I'm wondering if there is a watchdog to restart the vm if it becomes unresponsive so it doesn't double my power usage without me noticing for long periods of time. Sent from my SM-G930V using Tapatalk
  12. Another vote for iscsi. For pretty much all of the use cases that were stated. It would be nice to carve out a section of the cache for a target.
  13. that explains it. thank you for all of your hard work.
  14. I have my backups set to run at 3 am every day but it doesn't automatically run. It only works when I do a manual backup. Any ideas?
  15. So here is what i tried: I disabled HTTPS then restarted - wont load the gui I changed the HTTPS port and restarted - wont load the gui Is there something I am missing here?
  16. Well shit. I tried disabling https in unraid to no effect. So I switched the https port to 445 and restarted and now I cannot get into the dashboard. But I can see all of my shares and letsencrypt does seem to be working so I guess thats a bonus. Is there a way to undo this from the terminal?
  17. I just recently switched to the latest RC from the stable build and now my container is getting this following error: /usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint letsencrypt (fc2e171b205d381282bc2fe1064943f0a4b0947cb88a04cd12dc693a55c02a90): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use. Any ideas?
  18. Why do you want to run of sense as a guest? Why not just run it bare metal? Sent from my SM-G930V using Tapatalk
  19. That guide looks like it will work. Once its flashed the card will just pass the drives with no configuration. This is the guide I used: https://techmattr.wordpress.com/2016/04/11/updated-sas-hba-crossflashing-or-flashing-to-it-mode-dell-perc-h200-and-h310/
  20. How did you setup the h310? Did you flash it to it mode or do you have a bunch of raid 0s to pass the disks through? This card should be flashed to it mode for unraid and it will pass the drive id's cleanly so it would be like nothing changed Sent from my SM-G930V using Tapatalk
  21. I have a Dell R710 running two 2.53 4 core xeons, 32gig ram, 1 cache drive and two WD reds. Idles around 110 watts and the highest i have seen it hit was 160 with some vms working.
  22. I currently do what you are talking about. All my dockers are on the cache drive as well as my downloads folder. My TV media is also set to use the cache drive so that the downloading and organizing of the TV shows all happens on the cache. This way my disks won't spin up until the mover works overnight and then after that a trim is performed on the cache. I currently have a 120gb ssd that I had laying around as the cache drive. I honestly wouldn't be concerned with the longevity of the memory, it takes loads of writes to wear out an ssd. By the time you wear it out you will be able to buy a new one that's twice the size for half the cost. I feel I'm in the minority when I say this but I treat ssds and hard drives as wear items and I really dont see a point in trying to make them last forever. Sent from my SM-G930V using Tapatalk
  23. I actually got mine with all the trays included. And I ended up getting the idrac enterprise because the remote console was worth the extra 16 bucks. Now the only thing going to the r710 is power and ethernet. I can power cycle, view the power consumption and operate it remotely, I highly suggest you check it out. http://www.ebay.com/itm/47MCV-DELL-PERC-H200-PCI-EXPRESS-X8-RAID-CONTROLLER/332338551403?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 this is where i got my H200 from. As for flashing it simply put it in your desktop, boot to the bootable usb flash drive you created, and follow the instructions. It may look daunting but its cake. https://techmattr.wordpress.com/2016/04/11/updated-sas-hba-crossflashing-or-flashing-to-it-mode-dell-perc-h200-and-h310/comment-page-1/ -this is the guide. Disregard the part about covering the pins on the card, that doesnt apply. Once its flashed pull it out of the desktop and throw it into the server and you are ready to rock. edited to add- dont bother with the onboard sata ports, they are only 3Gbps.
  24. I just flashed the card yesterday and got everything running, its server grade stuff so I would imagine it is going to hold up just fine. https://www.monoprice.com/product?p_id=8189 -These are the cables I got. There is plenty of clearance so no right angle connectors needed. From what I understand the h310 and the h200 differ only by the sas port location. The H200 location more closely matches the stock location. I havent been up and running very long but right now I am using two WD Red 3 tb drives that I took out of my old synology nas. Everything works great. I have a spare 120gb ssd that I intend to use as a cache disk. I just need to pick up one of these: https://www.amazon.com/WALI-Adapter-Bracket-9W8C4-F238F/dp/B00DCBFF8Q/ref=sr_1_1?ie=UTF8&qid=1504059759&sr=8-1&keywords=wali+adapter+bracket This way I can properly mount the ssd in the drive tray. When you go to flash the h200, do yourself a favor and put it in the desktop and it will work first try. I also recommend updating the idrac and all the firmwares on the r710 while you are waiting for your card to come in. Dell put out an iso file you can put on a flash drive that will automatically update everything for you. DO NOT update the power supply firmware- the chance of ruining it is too high for no gains.
  25. I just bought an R710 and went through the same thing. Throw the perc 6i in the garbage and pick up a perc h200. Then you flash the it firmware onto the card and it passes the drives cleanly. You will also need two new 30 inch mini sas cables. I paid 40 bucks for the h200 on ebay and the cables i got from monoprice. Also when you go to flash the firmware you will probably have to do it from a desktop. I wasnt able to flash the it firmware with the card installed on the R710. I still think the r710 is a great choice for an unraid build. For the price the performance cant be touched.