commander-flatus

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by commander-flatus

  1. A tracker I use heavily does not support Deluge 2.0 (the tracker is MaN if that matters). I'm trying to migrated to this docker, but I have 500 torrents that need to be moved (with labels and subdirectories). Has anyone done this? Is there an easy way?
  2. I removed www.x.net. I still get 502 both inside the network and from the outside when using x.net/nextcloud. I can access it fine from inside the network on 192.168.1.99:1443/nextcloud My ISP does not block ports. My nginx log from swag: 2020/12/16 07:13:20 [error] 455#455: *211 nextcloud could not be resolved (110: Operation timed out), client: 174.235.137.23, server: _, request: "GET /nextcloud/ HTTP/2.0", host: "polydipsia.net" 2020/12/16 07:35:05 [error] 455#455: *276 nextcloud could not be resolved (110: Operation timed out), client: 192.168.1.1, server: _, request: "GET /nextcloud/status.php HTTP/1.1", host: "polydipsia.net:443" 2020/12/16 07:36:49 [error] 455#455: *309 nextcloud could not be resolved (110: Operation timed out), client: 192.168.1.1, server: _, request: "GET /nextcloud/status.php HTTP/1.1", host: "polydipsia.net:443" I'm open to reinstalling nextcloud, there's nothing special in the container. I have a concern there's something wonky in the settings. I'm running the most updated version (19, I believe). Can you point me to a tutorial on networking config with swag and nextcloud using swag's custom networks? This Unraid server has been up for years and I only do light maintenance. From my reading, the default bridge network isn't really recommended anymore (I believe it was at the time). Once again, thank you for the assistance.
  3. Thank you for taking time to reply to my question. I tried that. I still get a 502 error when accessing via my custom domian. My SWAG nginx log shows: 2020/12/16 04:38:19 [error] 455#455: *1 nextcloud could not be resolved (110: Operation timed out), client: 192.168.1.1, server: _, request: "GET /nextcloud/ HTTP/2.0", host: "x.net" My nextcloud nginx error log shows: 020/12/16 04:38:37 [error] 375#375: *23 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: _, request: "GET /nextcloud/ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.99:1443", referrer: "https://192.168.1.99:1443/nextcloud/index.php/apps/files/"
  4. Can someone help me with this? Previously had Nextcloud working with Letsencrypt. Upgraded to SWAG and changed my local network numbering (went from 192.168.69.x to 192.168.1.x) and now I cannot get SWAG to get from my external domain to the local Nextcloud docker. I use a subfolder config. Here are what I think are the relevant details: First the log error shows: 2020/12/15 19:40:58 [error] 451#451: *12 nextcloud could not be resolved (110: Operation timed out), client: 192.168.1.1, server: _, request: "GET /nextcloud/ HTTP/2.0", host: "x.net" I have my Unifi security gateway mapping port 443 to the local network port 444 for SWAG: I can reach my Nextcloud instance on the local network on port 1443: I have used the default subfolder config in SWAG: ## Version 2020/12/09 # Assuming this container is called "swag", edit your nextcloud container's config # located at /config/www/nextcloud/config/config.php and add the following lines before the ");": # 'trusted_proxies' => ['swag'], # 'overwritewebroot' => '/nextcloud', # 'overwrite.cli.url' => 'https://your-domain.com/nextcloud', # # Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this: # array ( # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it. # 1 => 'your-domain.com', # ), # Redirects for DAV clients location = /.well-known/carddav { return 301 $scheme://$host/nextcloud/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host/nextcloud/remote.php/dav; } location /nextcloud { return 301 $scheme://$host/nextcloud/; } location ^~ /nextcloud/ { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_app nextcloud; set $upstream_port 443; set $upstream_proto https; proxy_pass $upstream_proto://$upstream_app:$upstream_port; rewrite /nextcloud(.*) $1 break; proxy_max_temp_file_size 2048m; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; proxy_redirect off; proxy_ssl_session_reuse off; } Naturally, I appropriately renamed it to nextcloud.subfolder.conf I also edited the Nextcloud config as recommended in the nextcloud.subfolder.conf: <?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'instanceid' => 'x', 'passwordsalt' => 'x', 'secret' => 'x', 'trusted_domains' => array ( 0 => '192.168.1.99:1443', 1 => 'www.x.net', 2 => 'x.net', ), 'trusted_proxies' => array ( 0 => 'swag', ), 'overwritewebroot' => '/nextcloud', 'overwrite.cli.url' => 'https://x.net/nextcloud', 'dbtype' => 'mysql', 'version' => '18.0.6.0', 'dbname' => 'nextcloud', 'dbhost' => '192.168.1.99:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'x', 'dbpassword' => 'x', 'installed' => true, 'maintenance' => false, 'theme' => '', 'loglevel' => 0, 'mysql.utf8mb4' => true, ); In the browser, I keep getting "502 Bad Gateway" The Nextcloud error log shows this: 2020/12/15 19:41:53 [error] 374#374: *156 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: _, request: "GET /nextcloud/ocs/v2.php/apps/text/workspace?path=%2F HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.99:1443", referrer: "https://192.168.1.99:1443/nextcloud/index.php/apps/files/" I'm starting to lose my mind. Greatly appreciate any assistance. Happy Holidays and thanks!
  5. I have shares mounted from an esxi host and I think it only allows NFS. Thanks for your help!
  6. Can anyone help me? This is a Dell r720. Seems like something with networking or Docker but I'm having trouble narrowing it down. Any help is greatly appreciated. tun-diagnostics-20200613-0657.zip
  7. 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 192.168.69.94:19999; 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 127.0.0.1:9000; 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 http://192.168.69.94:8989/sonarr; } location /tautulli { include /config/nginx/proxy.conf; proxy_pass http://192.168.69.94:8181/tautulli; } location /radarr { include /config/nginx/proxy.conf; proxy_pass http://192.168.69.94:7878/radarr; } 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 http://192.168.69.94:8085/htpc; } location /downloads { include /config/nginx/proxy.conf; proxy_pass http://192.168.69.94:8112/; proxy_set_header X-Deluge-Base "/downloads/"; } location /nextcloud { include /config/nginx/proxy.conf; proxy_pass https://192.168.69.94:1443/nextcloud; } } 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: 192.168.69.1, server: _, request: "GET /camera/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xx.net"
  8. I saw that. There's a couple of reddit posts also. Previously (6.4 version of unraid) the package installed no problem....
  9. 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!
  10. @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,
  11. 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.
  12. 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
  13. 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.
  14. 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
  15. 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.
  16. 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.
  17. Thanks for this thread. I had a 60GB Plex log file!?! Back to normal now.
  18. 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
  19. 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
  20. 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!
  21. OK - here are the answers to everyones questions (I think). Motherboard is ASRock FM2A85X CPU is AMD A8-5500 PSU is EVGA SuperNOVA 650 P2, 80+ PLATINUM 650W - only things on it are case fans, motherboard/CPU(APU), 16GB of RAM (Corsair "Ripsaw") and an SSD and an LSI SAS9200-8E connected to the external Lenovo SA120 DAS. I removed the heatsink, sprayed and removed dust with compressed CO2, cleaned old CPU grease with the 2-step cleaner that the Arctic Silver people make and re-applied Arctic Silver 5 and re-seated and re-latched the CPU heatsink. I followed their directions to the letter, including "tinting" the heatsink. This is the stock CPU heatsink which is a downdraft cooler. I don't think having the case open would make CPU temps worse since it's downdraft and has unrestricted airflow with the lid off. I pondered getting an aftermarket cooler, but the "vertical" models don't fit in this case with its limited clearance. It's possible that an aftermarket downdraft would improve temps slightly, I guess. I re-flashed the BIOS with the latest updates and reset to defaults. Case is a Rosewill 2U rackmount case (man, it's a crappy case, I wish it had never darkened my doorstep) - I have removed all of the air filters to assist in airflow I'm now running Memtest again - now that I've done everything noted above. I found that Memtest froze on test #7 more than once when forcing multi-processor mode (which I hadn't tried before but decided to try since this seems to be a CPU issue). This seems to maybe be a bug in Memtest - http://canardpc.com/forums/threads/84663-Memtest86-is-freezing-while-running-test-7. Not sure what to make of this. So I now have it running in single processor mode - IE I just let it run after selecting memtest from the boot menu. This single processor mode ran fine for hours and hours previously. I'm letting it run for 8+ hours tonight to see what happens. Thanks everyone for the helpful replies.
  22. OK, maybe there's something to this. The Dynamix temp monitor reports 53C sitting at idle, quickly shoots up to 62C when running parity check. The BIOS reports 63C sitting at idle with the stock cooler running, the top of the 2U case open and all the case fans running. I'm inclined to believe that the Dynamix drivers - k10temp nct6775 - are reporting incorrectly by roughly 10C and my system is crashing when running parity check (because I believe the BIOS more than Dynamix). I think I'm probably just going to scrap this board. I'm running dual parity, BTW.
  23. I'm getting drive temps for all drives at about 39-40C. CPU temp not going above 51C. Fans all running properly both by visually inspecting and reporting from software. I've thought about just trashing this MB/CPU because it's from an old desktop, but I just dropped a bunch of money on the SA120, caddies, and now a new switch. I've kind of exhausted my fun money. Thanks.
  24. Oh, I forgot to add that I did a Memtest with no errors.