atl-far-east

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by atl-far-east

  1. I put this in the site configuration for the Unraid admin site - but it depends on how your Nginx reverse proxy is setup. For my setup, it was /mnt/user/appdata/nginx/nginx/site-confs/default
  2. Multiple pool usage question - and apologies if it's been asked before, maybe on a prior beta thread (tried searching but a bit tricky to do across all the posts). With the new pools, will it be possible to do a "raid 0"/brtfs striped pool? Context - I've got a standard pool (parity + 2 spinners), and a cache pool (2 SSDs). When setting up the cache pool I decided to go for the standard duplication vs. striping, for the data security. With the new multiple Unraid pool feature, would I be able to add a second cache-like pool, but instead of a raid 1 style pool, get a speed boost from having a raid 0 style pool setup? Or would that only be a "cache" pool feature, limited to the special cache pool? Let me know if that doesn't make sense. Thanks!
  3. Not sure if this is relevant: Mar 31 04:03:04 flower root: Starting Nginx server daemon... Mar 31 04:03:04 flower root: nginx: [emerg] PEM_read_bio_DHparams("/etc/nginx/dhparam.pem") failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: DH PARAMETERS) Mar 31 04:03:04 flower emhttpd: shcmd (22): exit status: 1 Mar 31 04:03:04 flower emhttpd: too many devices Also, given that there are 0 drives and just a USB drive, that last line is confusing?
  4. If it helps, I don't see anything listening on any web ports: root@flower:~# netstat -vatn Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:44833 0.0.0.0:* LISTEN tcp6 0 0 :::139 :::* LISTEN tcp6 0 0 :::111 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::445 :::* LISTEN tcp6 0 0 :::46627 :::* LISTEN tcp6 0 0 fe80::1417:8aff:fe4f:22 fe80::102c:cf39:2:50580 ESTABLISHED ...which makes me think that it's emhttp/nginx not listening, rather than the connection?
  5. Changed cable, same issue. Can SSH in/etc., and ping out from it, but no Web UI. Any ideas? flower-diagnostics-20190331-0337.zip
  6. I think I'm temporarily using a 100Mbps cable, but will try find an actual good cable. Can't access UI via that IP but can SSH in fine, so wasn't thinking it was cable. Will give it a go later. Thanks!
  7. Diagnostics here - any idea why Web UI won't start/be accessible? Thanks in advance! flower-diagnostics-20190331-0249.zip
  8. Hmm, ok. I'll get there diagnostic logs later today and upload them. Thanks for the quick reply!
  9. Hey, I'm building a new server with the goal of moving drives across when I know it's working. I'm using a trial version on a USB key for now, and the new system has no hard drives/disks. The server boots OK and I can ssh in, but I can't access the Web UI. Does it need a drive in the system for the Web UI to load, or is it a problem elsewhere in the setup? Thanks
  10. Thanks praeses and ken-ji. Super helpful and a lot to think about for planning!
  11. Great, thanks Squid! Really dumb question: to use an SATA to eSATA cable with an external drive, just find a gap in the case to pull it through? Any other good procedure for that connection? Any advice on an external chassis without needing a port multiplier?
  12. Replying to myself so I can get notified of replies, which I forgot to select!
  13. Hi all, I'm thinking of upgrading my unRaid server (which is a 2U system that's a little slow and very power hungry). There are lots of mini-PC builds (this is a high-end example of one) that seem to have good specs and use low power, as well as have enough SATA ports for my needs (1 cache, 1 parity, 2 drives). However, most of the mini PC cases don't have space for lots of drives (obviously). How would I go about actually using the SATA ports, then? If I had an external eSATA dock like this, could I connect it somehow? Could I use the on-board SATA port(s) and pass through a cable, or would I need an HBA (?)/RAID card instead and using a PCI-e card (with riser)? I also understand that not all motherboards support acting as a SATA port multiplier too - but not sure exactly what that impacts. Is this a terrible idea in the first place? Any advice appreciated. Thanks!
  14. For anyone who cares, I think I fixed this! I think it may be due to nginx not working with Websockets by default. I added these lines to the site config: proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; And it worked. E.g., this is the location settings for my unRAID proxy: location / { auth_basic "Restricted"; auth_basic_user_file /config/nginx/.htpasswd; include /config/nginx/proxy.conf; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://192.168.1.106:8080; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } And now the CPU stats update in real time! Fingers crossed this is the fix.
  15. Thanks FreeMan. In general the WebUI works, so the situation is OK - it's literally just the CPU stats that don't show 'live'.
  16. Guessing there may not be a quick solution here... last bump in case. Thanks!
  17. Hey all, Odd problem that I can't seem to troubleshoot. I have letsencrypt setup so that outside of my network I can access the unRAID web GUI from admin.domain.tld. When I'm on the network, and I access directly the server IP, the CPU loads update and show the current CPU load. When I'm using the admin.domain.tld address, everything works, except the CPU usage doesn't show/update. See screenshot attached - memory shows (but does not update, obviously) but CPU usage doesn't even load. Here's the relevant bit of my nginx config (with the actual IP). I've added all the proxy_set_header lines from Googling but they're not helping. server { listen 443 ssl; # listen 80; root /config/www; index index.html index.htm index.php; server_name admin.*; ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ssl_dhparam /config/nginx/dhparams.pem; ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; ssl_prefer_server_ciphers on; client_max_body_size 0; location / { auth_basic "Restricted"; auth_basic_user_file /config/nginx/.htpasswd; include /config/nginx/proxy.conf; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://192.168.1.IP:8080; } } Any ideas? Thanks!
  18. Hmm, so I think it was related to the avahi-daemon permissions, per other searches on this forum. At least that's fixed the WebUI responsiveness! Not sure on the init permissions, will debug that separately. Thanks Squid for the help!
  19. So in the pursuit of debugging (not solved yet): In safe mode, permissions were still off I re-imaged the flash drive (well, unzipped the Zip file again) Booting to safe mode then worked Booted to normal mode and... /sbin/init lots it's +x again Seems like it's one of the plugins/dockers doing it. Any suggestions on how to debug? Anything aside from turning one off at a time?
  20. Never mind, found the safe mode option at boot! Will give the debugging suggestions a go. Thanks!
  21. Will give that a go. Excuse my ignorance (and lack of a quick answer while Googling, and not being patient enough to check every page since the WebUI is really slow..) - how do I restart in safe mode?
  22. Hi all, Since I added a cache drive a couple of weeks ago (and also decided to uninstall several plugins that I wasn't using), the unRAID WebUI's been really slow - it takes 20-30 seconds to load any page. I decided to reboot today just to see, and then also noticed this: shutdown: cannot execute /sbin/init When I check out init, it doesn't have execute permissions: root@Tower:~/.ssh# ls -altr /sbin/init -rw------- 1 root root 36992 Aug 6 2015 /sbin/init I'm not sure if that's a problem, and if it's a related problem. I've attached the diagnostics run. Any suggestions? Thanks in advance. tower-diagnostics-20170722-1516.zip