mattekure

Members
  • Posts

    206
  • Joined

  • Last visited

Everything posted by mattekure

  1. recently I've noticed this error showing up in the web interface after restarting the docker. As far as I can tell, everything continues to download just fine and sonarr/couchpotato still work with it just fine. [26/May/2017:09:47:08] ENGINE Error in HTTPServer.tick Traceback (most recent call last): File "/opt/sabnzbd/cherrypy/wsgiserver/__init__.py", line 2024, in start self.tick() File "/opt/sabnzbd/cherrypy/wsgiserver/__init__.py", line 2091, in tick s, ssl_env = self.ssl_adapter.wrap(s) File "/opt/sabnzbd/cherrypy/wsgiserver/ssl_builtin.py", line 67, in wrap server_side=True) File "/usr/lib/python2.7/ssl.py", line 363, in wrap_socket _context=self) File "/usr/lib/python2.7/ssl.py", line 611, in __init__ self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 840, in do_handshake self._sslobj.do_handshake() error: [Errno 0] Error
  2. Edit - Thanks, I got it working. I got confused with the HSTS causing chrome to still throw an error, but got it figured out.
  3. Is it possible to add a subdomain that doesnt use SSL? I have a need to serve some files via HTTP but my current setup redirects all traffic to https. I want to set up a subdomain dnd.server.com that allows me to serve up files without https, with the root in a different location from the main server.
  4. Thank you, I've never used the python idle and all my google searches for idle3 came with the idle3-tools as the top results.
  5. I have Unraid 6.3.1 with Nerd tools 2017.02.06 installed and all packages up to date. I am sshd into root and I am trying to run idle3 on a WD drive to adjust its sleep timer, but all I get is an error ** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
  6. Thanks for the info. I'll keep an eye on it and swap out one of my small drives. My drive is a seagate, so based on the reports, it makes sense that this is might show up.
  7. Last night I noticed one of my drives had the warning symbol on it with the note "command timeout". Looking into it the SMART attribute command timeout has a raw value of 65537. I have a new drive arriving tomorrow that I had intended on swapping out another, smaller drive (that doesnt have errors), but now I am thinking I should just replace this one with the error. How bad is this error? # Attribute Name Flag Value Worst Threshold Type Updated Failed Raw Value 1 Raw read error rate 0x000f 119 099 006 Pre-fail Always Never 215227321 3 Spin up time 0x0003 095 094 000 Pre-fail Always Never 0 4 Start stop count 0x0032 097 097 020 Old age Always Never 3295 5 Reallocated sector count 0x0033 100 100 036 Pre-fail Always Never 0 7 Seek error rate 0x000f 049 049 030 Pre-fail Always Never 120262178241 9 Power on hours 0x0032 083 083 000 Old age Always Never 15377 (1y, 8m, 29d, 17h) 10 Spin retry count 0x0013 100 100 097 Pre-fail Always Never 0 12 Power cycle count 0x0032 100 100 020 Old age Always Never 200 183 Runtime bad block 0x0032 100 100 000 Old age Always Never 0 184 End-to-end error 0x0032 100 100 099 Old age Always Never 0 187 Reported uncorrect 0x0032 100 100 000 Old age Always Never 0 188 Command timeout 0x0032 100 099 000 Old age Always Never 65537 189 High fly writes 0x003a 100 100 000 Old age Always Never 0 190 Airflow temperature cel 0x0022 070 058 045 Old age Always Never 30 (min/max 23/35) 194 Temperature celsius 0x0022 030 042 000 Old age Always Never 30 (0 18 0 0 0) 195 Hardware ECC recovered 0x001a 037 025 000 Old age Always Never 215227321 197 Current pending sector 0x0012 100 100 000 Old age Always Never 0 198 Offline uncorrectable 0x0010 100 100 000 Old age Offline Never 0 199 UDMA CRC error count 0x003e 200 200 000 Old age Always Never 0 240 Head flying hours 0x0000 100 253 000 Old age Offline Never 8045 (23 62 0) 241 Total lbas written 0x0000 100 253 000 Old age Offline Never 3239767804 242 Total lbas read 0x0000 100 253 000 Old age Offline Never 595120869
  8. Thanks, those are exactly the problem. It seems to be working fine now. I thought I edited them, but it looks like I only edited a portion.
  9. Edit, I just saw a stupid mistake, disregard for now Sorry, I didnt change much, but here goes. I didnt make any changes to nginx.conf File "nextcloud" in nginx site-confs 1 server { 2 listen 80; 3 server_name owncloud.server.com; 4 return 301 https://$server_name$request_uri; 5 } 6 7 server { 8 listen 443 ssl; 9 server_name owncloud.server.com; 10 11 root /config/www; 12 index index.html index.htm index.php; 13 14 ###SSL Certificates 15 ssl_certificate /config/keys/letsencrypt/fullchain.pem; 16 ssl_certificate_key /config/keys/letsencrypt/privkey.pem; 17 18 ###DiffieHellman key exchange ### 19 ssl_dhparam /config/nginx/dhparams.pem; 20 21 ###SSL Ciphers 22 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-S 22 HA256: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-SH 22 A384: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-SHA2 22 56: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:!aNU 22 LL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; 23 24 ###Extra Settings### 25 ssl_prefer_server_ciphers on; 26 ssl_session_cache shared:SSL:10m; 27 28 ### Add HTTP Strict Transport Security ### 29 add_header Strict-Transport-Security "max-age=63072000; includeSubdomains"; 30 add_header Front-End-Https on; 31 32 client_max_body_size 0; 33 34 location / { 35 proxy_pass https://192.168.0.1:4433/; 36 } 37 } config.php from nextcloud 1 <?php 2 $CONFIG = array ( 3 'memcache.local' => '\\OC\\Memcache\\APCu', 4 'datadirectory' => '/data', 5 'instanceid' => 'ocoh2ii67wmp', 6 'passwordsalt' => 'i+gdNt8CcyS8B+D7EKwTldfUxUDhYb', 7 'secret' => 'xxxx', 8 'trusted_domains' => 9 array ( 10 0 => '192.168.1.9:4433', 11 1 => 'owncloud.mattekure.com', 12 ), 13 'overwrite.cli.url' => 'https://owncloud.mattekure.com', 14 'overwritehost' => 'owncloud.mattekure.com', 15 'overwriteprotocol' => 'https', 16 'dbtype' => 'mysql', 17 'version' => '9.1.0.16', 18 'dbname' => 'nextcloud', 19 'dbhost' => '192.168.1.9', 20 'dbport' => '', 21 'dbtableprefix' => 'oc_', 22 'dbuser' => 'nextcloud', 23 'dbpassword' => 'xxxxxx', 24 'logtimezone' => 'UTC', 25 'installed' => true, 26 'mail_smtpmode' => 'smtp', 27 'mail_smtpsecure' => 'tls', 28 'mail_from_address' => 'xxxxxx', 29 'mail_domain' => 'gmail.com', 30 'mail_smtpauthtype' => 'LOGIN', 31 'mail_smtpauth' => 1, 32 'mail_smtphost' => 'xxxx', 33 'mail_smtpport' => '587', 34 'mail_smtpname' => 'xxxx', 35 'mail_smtppassword' => 'xxxxx', 36 );
  10. I am trying to setup Nextcloud. I used the configuration below with the minor changes in port. When I try to access it at my subdomain, it forwards me to the default "Welcome to our server" page. In the nginx error log I see a bunch of 2017/01/16 14:58:51 [error] 329#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.1, serv 1 er: _, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "owncloud.mattekure.com" The nginx documentation here https://docs.nextcloud.com/server/9/admin_manual/installation/nginx_examples.html suggests a lot of fastcgi configs in the server {} block. I didnt see these in the config below, so I havnt put any in yet. Edit: didnt need to see the whole quoted topic.
  11. I had a docker uninstall after an auto update. It was the official phpadmin docker from dockerhub.
  12. Thanks, that worked. you need to look in the config/ssh folder on the flash drive which is where the ssh keys are loaded from during the boot process. I suspect you will see the 0 length files there. I think if you simply delete existing key files there then new keys are generated the next time the system boots.
  13. I tried to look at the ssh_host_* keys and they are all 0 length files. nothing in them. how do I fix that?
  14. Ok, from the console I tried to do a /etc/rc.d/rc.sshd start and got the following. (/etc/rc.d) Tower $ rc.sshd start key_load_public: invalid format Could not load host key: /etc/ssh/ssh_host_rsa_key key_load_public: invalid format Could not load host key: /etc/ssh/ssh_host_dsa_key key_load_public: invalid format Could not load host key: /etc/ssh/ssh_host_ecdsa_key key_load_public: invalid format Could not load host key: /etc/ssh/ssh_host_ed25519_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting.
  15. running ps aux | grep sshd returns: root 2393 0.0 0.0 176 4 ? Ss 09:16 0:00 runsv sshd root 5508 0.0 0.0 176 4 ? Ss 09:18 0:00 runsv sshd root 9930 0.0 0.0 9652 1852 pts/0 S+ 11:01 0:00 grep --color=auto sshd root 22288 0.0 0.0 176 4 ? Ss 09:13 0:00 runsv sshd root 22607 0.0 0.0 176 4 ? Ss 09:13 0:00 runsv sshd
  16. Running 6.2, everything was working until last night. Last night, we had a power outage, power was out for ~15 minutes. I have my tower on a UPS which triggered and should have kept it up during the entire outage. I wasnt able to check because of crying kids, etc. This morning, I find I am no longer able to ssh to the tower. I can get to the WebUI just fine, all the dockers are working fine and I can access them. The network is fine and everything BUT ssh seems to be working. Everytime I try to connect, I get connection refused. I have the "Command Line Tool" plugin which implements the shell In a box. I can open that and log in with it and get access to the shell. From within the ShellInABox, when I try to type "ssh localhost" I get a connection refused error. I do have the deny hosts plugin installed, but even when I disable it, I get the same connection refused error. Diagnostics attached. tower-diagnostics-20160921-1012.zip
  17. I didnt refresh the page before posting. I've been playing with it all morning. Thanks for your info Errr... Did you read my two posts above?
  18. I've got the same error. I did a new install and made only the changes to get the reverse proxy working. With that working, I can use the web interface, but pressing the reload button on the browser causes it to fail and return a 404. OK, here's how to reverse proxy pydio with our Apache container.... 1. Edit appdata/pydio/nginx/site-confs/default On line 3 change root /config/www/pydio; to root /config/www; 2. Edit appdata/apache/apache/site-confs/default.conf changing UNRAID-IP & HOST-PORT to match your configuration. RewriteRule ^/pydio$ /pydio/ [R] <Location /pydio> ProxyPass https://UNRAID-IP:HOST-PORT/pydio/ ProxyPassReverse https://UNRAID-IP:HOST-PORT/pydio/ </Location> 3. Restart both containers. So, I got the Pydio Webgui working through my apache reverse proxy! However, I am now trying to get Pydio Sync to work (on my mac) and it is obviously not working. I think it is because of the following. root /config/www/pydio; to root /config/www; But keep reading. I am using Pydios quickstart guide, but I dont understand how to follow them in relation to my setup. https://pydio.com/en/docs/v6/checking-apis Specifically, a2enmod rewrite AllowOverride All Where does that code need to be implemented? Pydio nginx? or my apache reverse proxy? Anyway, my .htaccess rules seem to be correct and I updated my RewriteBase line to reflect my mydomain.com/pydio reverse proxy setup. However, my setup still fails the simple rewrite check. "The basic check is to enter a workspace (e.g. https://domain.tld/pydio/ws-workspace-slug) and simply reload the page." So i deleted everything and started from scratch. In the config wizard I specified /pydio as my installation directory (which rewrites the .htaccess file) and everything was working fine on my internal IP address. It was passing the rewrite test. However, I then edited the nginx default config so that would work with my reverse proxy root /config/www/pydio; to root /config/www; and it no longer passed the rewrite test, however it did start working with my reverse proxy. So I am now stuck with something that either works with my reverse proxy and does not pass the rewrite test (and thus Sync does not work) or vice versa. Essentially I need help to make it work with the reverse proxy while not ruining all the rewrite rules that pydio has. Help
  19. I'll try it tonight. Hopefully its that simple. I thought that apache had security limitations to stop it from pointing to things outside the webroot, but I could be wrong. In unraid, is it possible to mount a path within another mounted path? For exmaple, currently I have /config mounted to /mnt/cache/appdata/apache could I also add a second mount point like this: /config/www/myfolder -> /mnt/user/webshareWithFiles
  20. Probably. But I'd like to avoid having the drives spun up all the time for general access. The larger files are accessed infrequently, so ideally they could be on a drive that only gets spun up when they need to be and have for the rest of the time, its only the cache drive that gets used. Wouldn't it be easier to just move the /config mount point to whichever drive the big files are on?
  21. I currently have this docker set up and running and the web root is located on the cache drive. This is fine for the most part, but I have one folder that I need to share that contains several large files that would be too big for my cache drive. Is it possible to link to folders/files that are stored in one of the shares and not on the cache drive? If so, how? If this is a really bad idea for some reason I cant think of, please let me know.
  22. How do I pull a different branch of a repository from hub.docker.com? I am trying to set up the develop branch of this docker https://hub.docker.com/r/ashex/pokemongo-map/ But everytime I pull it down, it only pulls the "latest" branch. Is there any way to tag it so it pulls the "develop" branch?
  23. I would like to add one of the pokemon maps dockers. They include a dockerfile in their git here: https://github.com/AHAAAAAAA/PokemonGo-Map but I cant figure out how to get it downloaded and working. I also cant find any official docker for it in https://hub.docker.com. I do have it set up and working on a VM, but I'd like to have it as a docker instead. Thanks for any suggestions.
  24. Do we need to delete the contents of the openvpn folder like the original instructions?