Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About commander-flatus

  • Rank


  • Gender
  • URL
  • Location
    sliver by the river

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Trying to display an image in a directory of images using this. I have a directory of jpg files. I've got this index.php in there: <?php $dirname = "/camera/"; $images = glob($dirname."*.jpg"); foreach($images as $image) { $list[] = $image; #echo '<img src="'.$image.'" /><br />'; } sort ($list); echo "<br><img src="."'".array_pop($list)."'"."><br><br>"; ?> I've tested the above and it works with php called from the shell. So this folder is in the docker at /camera/ here's my site config: upstream backend { server; keepalive 64; } server { listen 443 ssl default_server; listen 80 default_server; root /config/www; index index.html index.htm index.php; server_name _; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass; fastcgi_index index.php; include /etc/nginx/fastcgi_params; } ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ssl_dhparam /config/nginx/dhparams.pem; ssl_ciphers 'xxx' ssl_prefer_server_ciphers on; client_max_body_size 0; location /camera { root /; index index.php; } location = / { return 301 /htpc; } location /sonarr { include /config/nginx/proxy.conf; proxy_pass; } location /tautulli { include /config/nginx/proxy.conf; proxy_pass; } location /radarr { include /config/nginx/proxy.conf; proxy_pass; } location /htpc { 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_pass; } location /downloads { include /config/nginx/proxy.conf; proxy_pass; proxy_set_header X-Deluge-Base "/downloads/"; } location /nextcloud { include /config/nginx/proxy.conf; proxy_pass; } } It continues to give me the following error message: 2019/08/08 20:34:36 [error] 368#368: *5 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client:, server: _, request: "GET /camera/ HTTP/1.1", upstream: "fastcgi://", host: "xx.net"
  2. I saw that. There's a couple of reddit posts also. Previously (6.4 version of unraid) the package installed no problem....
  3. I'm using a Lenovo SA120 with unraid to house disks. In prior versions, I installed the slackware sg3_utils package (http://sg.danny.cz/sg/sg3_utils.html) using installpkg. I would then run AndrewX192's excellent utility to turn down the fans (they ramp up to full speed with any power cycle and have to be manually turned down) - this script is located at https://github.com/AndrewX192/lenovo-sa120-fanspeed-utility I have tried downloading the sg3_utils package from slackware, from the sg3_utils homepage, etc but every time I try to install it I get the message: installpkg sg3_utils-1.42-x86_64-1.txz Verifying package sg3_utils-1.42-x86_64-1.txz. Unable to install sg3_utils-1.42-x86_64-1.txz: tar archive is corrupt (tar returned error code 2) Which is bull because I tried this with my old copy of the package and new ones downloaded elsewhere (see above). Everything gives me this message. I can decompress and un-tar the file using command line utils and see the files in there. I've tried debugging the installpkg script but I can't see where it's getting stuck. Can anyone help me either find a good copy or figure out how to get this installed? We're going deaf with the fan noise. Thanks!
  4. @HellDiverUK - thanks for the tip. Maybe I'll up my drive budget, but after buying this server I feel the need to economize my fun money/server budget. Also, I missed your post until now. Anyway, @Indmenity83 - have not tried GPU. I don't mine crypto and I'm not a gamer, so I don't even own a GPU. Unfortunately I think you're just going to have to try one out. Please report back, I'm curious. Mostly I just run VM's, data hoard, serve movies and TV via Plex, etc. Thanks and sorry I couldn't be more help. Flatulently,
  5. Thanks. I'm running a balance on the SSD now. I've noticed the network error before, but everything works OK and I forgot to keep looking into it. The machine has 4 lan ports. I'm trying to use balance-rr. I'm attaching a screenshot of my config, let me know if you have any thoughts. Appreciate the help.
  6. Hi all. I appreciate any help. My system had been stable running 6.4.1 for about 3 weeks. I run a Dell R720 with two internal SSD's - one is the cache, the other just stores a single VM image and is accessed using the unassigned devices add on. My spinning drives are all housed in a Lenovo SA120. Dockers started to randomly stop about 1 week ago, but would come back if I stopped the Docker service and re-started. Then yesterday multiple Dockers crashed and I decided to re-boot. I got an error message that Docker engine failed to start (in the GUI). My VM's also do not appear (the one stored on the unassigned device drive and another stored on the cache drive). Both of those SSD's mount and I can read/write to them through the command prompt. I attempted to delete the docker img file and then re-start docker (I found this suggestion in another thread) - this didn't work. Neither SSD has any SMART warnings. I did a BTRFS scrub on the cache drive with no errors. I've attached logs and I really appreciate any input, I've been running unraid for years and this is a first. Thanks so much! tun-diagnostics-20180718-2102.zip
  7. So here's a follow up in case anyone finds this in the future. I've found that having ANY drives in the server causes massive fan ramp-up. I have now moved all of my drives to a Lenovo SA120 and consolidated my array (shrunk it a little) Next up I'm going to re-do the thermal grease on the CPUs, but I'm now down to idle fan speeds of 5k or so. Also, I may also pull the secondary PSU to reduce noise.
  8. Thanks. Appreciate your rapid response. Everything works now. In case anyone comes across this response please note that you have to put “cloudflare” in the DNS plugin box for the docker. Sent from my iPhone using Tapatalk
  9. Is there currently any kind of tutorial or work-around for making this work with an ISP that blocks all traffic on port 80 inbound? Since they disabled TLS-SNI validation and now require either HTTP (only works with port 80 open) I'm stuck. I did look into DNS validation but having that update dynamically seems non-trivial. Anyone? I miss using nextcloud as I was able to get at my whole server, securely, from anywhere in the world.
  10. Thanks for this thread. I've gotten a Dell R720xd - the 12 bay model. I have a LSI SAS 9200-8e as the only PCI card and I have applied all of your recommended settings above. My unit has 2x E5-2650. I'm going nuts trying to get the fans to run less than 8000 RPM. I did the ipmitools trick, I have used your settings as well as trying the dense configuration settings, etc. I've also tried manual system profiles, disabling the C states and C1E states and turbo modes - saw this recommended elsewhere. I updated all of the firmware to the latest editions using the Lifecycle controller. I've also tried pulling out RAM to see if a large volume of RAM was causing the issues - runs the same whether I have 8x4gb sticks or 22x4gb sticks. I've shut down dockers and VM's, no change. Seems like they're dead set on running between 8000 and 8400 RPM. Any tips? I'm thinking about selling this on ebay, where I got it from.
  11. Thanks for this thread. I had a 60GB Plex log file!?! Back to normal now.
  12. As the description indicates, every time you update / reinstall the container you have to reset the password. As a reminder, you do this from the Cli. docker exec -it openvpn-as passwd admin Also, you will have to re-add any uses you use beyond admin too. docker exec -it openvpn-as adduser <user> Nice and quick though!! Isn't this a huge security risk? Sent from my iPhone using Tapatalk
  13. I found that the recent update reset the admin password to default. I've updated it again, but how do I avoid this with future updates? Sent from my iPhone using Tapatalk
  14. Well, there's a happy ending. Memtest did fine in single-CPU mode. Parity check completed. CPU temps more modest now. Not sure exactly which thing I did to fix it, but updating BIOS, checking CPU fan attachment and grease, and improving case airflow are always good tips. Thanks for the help, everyone!