Gog

Members
  • Posts

    323
  • Joined

  • Last visited

Posts posted by Gog

  1. 17 minutes ago, speedmax1979 said:

    I took a picture with advance view on.

    Unraid_HA_Config.thumb.png.986e46a446f1d8b391043f0585e082b8.png

    It looks like you are not exposing any ports to the outside.  It works for nginx because the traffic goes through proxynet, the custom network interface.

     

    In HomeAutomation, add a port mapping with the + at the bottom of the container settings.  Map 8123 to 8123.  You are telling the docker to let requests that hit your unraid server on port 8123 to let that through the HomeAutomation container on port 8123.

  2. Hello, I need your help to figure this out.
    I installed the plugin following Spaceinvader One youtube video.
    At first, I wanted access to my Home-Assistant (unraid Docker) from the outside. It work!!!
    When I try to connect using the server IP 192.168.2.XXX:8123 (Home assistant port) it dosent work. (Local Network)
    I tried to connect NodeRed (unraid Docker) to Home-Assistant container, same issue, no connection. (Local Network)
     
    Do you have an idea what the problem? Should I modified / add something in the nginx config file (see attached)? 
    For info, I created a network called Proxynet (like spaceinvader video).
     
    Thanks for your help! I'm lost...
     
    Max
    NGNIX_HomeAssistant.png.567138a45c05e28fa7ee2f22518b3455.png
    Hi Speedmax

    For local access you are not going through nginx. When you use 192.168.*.* the settings you need to look at are your docker container port mapping. Can you share the docker config?

    Sent from my SM-G930W8 using Tapatalk

  3. On 2/4/2019 at 8:41 AM, sojab0on said:

    Had somethin simular yesterday, suddenly my cpu options where disabled even tough te serverran for 16 day straight.

    Then i tried reboot trough interface and it would not boot trough any more.

     

    Case was that some how my falshdrive was taken hostage by ransomware  GandCrab version 5.0.4 so my whole server was toast, the ransomware even got so far that the whole usb drive is no gone even formating and reinitialising it and even dod wipe did not get it to work with the usb creator.

     

    try checking your old usb on a windows pc and check for file extesion with 5 or more random letters in most cases capitals.

     

    problem with this and newer version is that it is not decryptable due to the private key that you only get when you pay 1200 dollar worth of bitcoin or dashcoin.

     

    Why are there such idiotic pepole on this planet just iritating hard working pepole and trying to take money we need to pay bills with. 

     

    I made a backup of the flash before rebuilding it and the files are clean, I dont think it was ransomware



  4. Docker: Bitwarden
    Issue: 502 Bad Gateway Error
     
    I'm able to access Bitwarden from a subdomain but only if I hardcode the docker IP address in the conf file. When using upstream, I get a 502 error. Not sure what I'm doing wrong.

    I used this sample radarr conf:
            set $upstream_radarr radarr;        proxy_pass http://$upstream_radarr:7878;

    This should work but I get a 502 error. The name of the docker container begins with a capital letter so no typo here. 

           set $upstream_bitwarden Bitwarden;        proxy_pass http://$upstream_bitwarden:80;

    The conf with the hardcoded IP that works:

    # make sure that your dns has a cname set for bitwardenserver {   listen 443 ssl;   listen [::]:443 ssl;   server_name bitwarden.*;   include /config/nginx/ssl.conf;   client_max_body_size 0;   # enable for ldap auth, fill in ldap details in ldap.conf   #include /config/nginx/ldap.conf;   location / {       # enable the next two lines for http auth       #auth_basic "Restricted";       #auth_basic_user_file /config/nginx/.htpasswd;       # enable the next two lines for ldap auth       #auth_request /auth;       #error_page 401 =200 /login;       include /config/nginx/proxy.conf;       resolver 127.0.0.11 valid=30s;       set $upstream_bitwarden Bitwarden;       proxy_pass http://10.10.8.28:80;   }}

    Note: The conf works even without adding "set $upstream_bitwarden Bitwarden;". 



    Are you using a custom network interface?

    This: set $upstream_bitwarden Bitwarden

    Will not work until you do. With a custom docker network interface, internal DNS will translate "Bitwarden" to 10.10.8.28 but it won't work with the standard bridge interface.

    Sent from my SM-G930W8 using Tapatalk

    • Upvote 1
  5. Good morning

     

    My unraid server is unstable.  I get system crashes every 7-14 days.  Last time I gathered logs with the troubleshooting tools and I got this:

     

    Feb  3 02:46:51 Tower kernel: mdcmd (1097): spindown 9
    Feb  3 02:46:55 Tower kernel: BUG: unable to handle kernel paging request at fffff8ffdfd3f008
    Feb  3 02:46:55 Tower kernel: PGD 0 P4D 0 
    Feb  3 02:46:55 Tower kernel: Oops: 0000 [#2] SMP PTI
    Feb  3 02:46:55 Tower kernel: CPU: 3 PID: 9875 Comm: php-fpm Tainted: G    B D W         4.18.20-unRAID #1
    Feb  3 02:46:55 Tower kernel: Hardware name: Supermicro X10SL7-F/X10SL7-F, BIOS 3.0 04/24/2015
    Feb  3 02:46:55 Tower kernel: RIP: 0010:unmap_page_range+0x69b/0x88a
    Feb  3 02:46:55 Tower kernel: Code: 0c ff 8c 24 88 00 00 00 e9 89 00 00 00 48 b9 ff ff ff ff ff ff ff 01 b8 f5 ff 7f 00 48 21 f9 48 c1 e0 29 48 c1 e1 06 48 01 c1 <4c> 8b 41 08 48 89 c8 41 f6 c0 01 74 04 49 8d 40 ff 4c 8b 40 08 41 
    Feb  3 02:46:55 Tower kernel: RSP: 0018:ffffc90003cfbce8 EFLAGS: 00010286
    Feb  3 02:46:55 Tower kernel: RAX: ffffea0000000000 RBX: 000015271688c000 RCX: fffff8ffdfd3f000
    Feb  3 02:46:55 Tower kernel: RDX: ffff880101607e98 RSI: 0000000000000000 RDI: 3e00003bff7f4fc0
    Feb  3 02:46:55 Tower kernel: RBP: 00001527169cf000 R08: 0000000000000000 R09: ffffea00103316c0
    Feb  3 02:46:55 Tower kernel: R10: ffffea00103316c0 R11: 0000000000000001 R12: ffff8802b8d414e0
    Feb  3 02:46:55 Tower kernel: R13: 0000000000000000 R14: ffffc90003cfbde8 R15: ffff880283d2f268
    Feb  3 02:46:55 Tower kernel: FS:  0000000000000000(0000) GS:ffff88041fcc0000(0000) knlGS:0000000000000000
    Feb  3 02:46:55 Tower kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Feb  3 02:46:55 Tower kernel: CR2: fffff8ffdfd3f008 CR3: 0000000001e0a005 CR4: 00000000001606e0
    Feb  3 02:46:55 Tower kernel: Call Trace:
    Feb  3 02:46:55 Tower kernel: unmap_vmas+0x4b/0x7f
    Feb  3 02:46:55 Tower kernel: exit_mmap+0xc8/0x16a
    Feb  3 02:46:55 Tower kernel: ? __switch_to_asm+0x35/0x70
    Feb  3 02:46:55 Tower kernel: mmput+0x4d/0xe5
    Feb  3 02:46:55 Tower kernel: do_exit+0x3b0/0x8b0
    Feb  3 02:46:55 Tower kernel: ? handle_mm_fault+0x159/0x1a8
    Feb  3 02:46:55 Tower kernel: do_group_exit+0x9a/0x9a
    Feb  3 02:46:55 Tower kernel: __x64_sys_exit_group+0xf/0xf
    Feb  3 02:46:55 Tower kernel: do_syscall_64+0x57/0xe6
    Feb  3 02:46:55 Tower kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
    Feb  3 02:46:55 Tower kernel: RIP: 0033:0x152714ce7a66
    Feb  3 02:46:55 Tower kernel: Code: Bad RIP value.
    Feb  3 02:46:55 Tower kernel: RSP: 002b:00007ffe8d00e668 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
    Feb  3 02:46:55 Tower kernel: RAX: ffffffffffffffda RBX: 0000152714de5760 RCX: 0000152714ce7a66
    Feb  3 02:46:55 Tower kernel: RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
    Feb  3 02:46:55 Tower kernel: RBP: 0000000000000000 R08: 00000000000000e7 R09: ffffffffffffff78
    Feb  3 02:46:55 Tower kernel: R10: 0000000000000006 R11: 0000000000000246 R12: 0000152714de5760
    Feb  3 02:46:55 Tower kernel: R13: 0000000000000007 R14: 0000152714dee428 R15: 0000000000000000
    Feb  3 02:46:55 Tower kernel: Modules linked in: ipt_REJECT iptable_mangle tun macvlan veth xt_nat ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables nf_nat reiserfs xfs md_mod ipmi_devintf igb i2c_algo_bit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ipmi_ssif aesni_intel aes_x86_64 crypto_simd cryptd glue_helper intel_cstate intel_uncore intel_rapl_perf mpt3sas ahci sata_mv libahci i2c_i801 button i2c_core video thermal fan backlight pcc_cpufreq raid_class scsi_transport_sas ipmi_si ie31200_edac [last unloaded: i2c_algo_bit]
    Feb  3 02:46:55 Tower kernel: CR2: fffff8ffdfd3f008
    Feb  3 02:46:55 Tower kernel: ---[ end trace 70b9f100a2be40b9 ]---
    Feb  3 02:46:55 Tower kernel: RIP: 0033:0x150b13e38207
    Feb  3 02:46:55 Tower kernel: Code: Bad RIP value.
    Feb  3 02:46:55 Tower kernel: RSP: 002b:00007ffe46f9e000 EFLAGS: 00010206
    Feb  3 02:46:55 Tower kernel: RAX: 0000150b1547a097 RBX: 0000150b1547a2c4 RCX: 0000150b1547a097
    Feb  3 02:46:55 Tower kernel: RDX: 0000000000000008 RSI: 0000150b1547a129 RDI: 0000000000000000
    Feb  3 02:46:55 Tower kernel: RBP: 00007ffe46f9e0d0 R08: 0000000040000000 R09: 000055ac2a6af2e0
    Feb  3 02:46:55 Tower kernel: R10: 0000000000000000 R11: 0000150b1540fe30 R12: 000055ac2a77b420
    Feb  3 02:46:55 Tower kernel: R13: 00000000000f4241 R14: 0000150b13e85000 R15: 0000150b13e8cff0
    Feb  3 02:46:55 Tower kernel: FS:  0000000000000000(0000) GS:ffff88041fcc0000(0000) knlGS:0000000000000000
    Feb  3 02:46:55 Tower kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Feb  3 02:46:55 Tower kernel: CR2: 0000150b13e381dd CR3: 0000000001e0a005 CR4: 00000000001606e0
    Feb  3 02:46:55 Tower kernel: Fixing recursive fault but reboot is needed!

     

    Google searches did not help much.

     

    After this, the server won't boot up, it's falling in EFI shell.

     

    I had this before but with the original USB stick (512MB, it's been a while) troubleshooting tools didn't have enough room to save logs.  Now the kingston DTSE9 16GB won't boot.  

     

    Troubleshooting logs are attached.  Any help is appreciated.

    tower-diagnostics-20190203-0229.zip

    FCPsyslog_tail.zip

  6. 3 hours ago, Chrism2015 said:

    Does anyone know how to install an SSL certificate when using this docker image?

     

    i am trying to configure access to nextcloud using a reverse proxy and i need to install the ssl the proxy uses on the image 

    That is exactly what @mkono87 did just before you.  Use LetsEncrypt handle the SSL certificate for you and reverse proxy nextcloud through it.  No need to go through the certificate generation and worry about renewal, letsencrypt is free and auto renews.

  7. 12 hours ago, mkono87 said:

    Changed but I get this error

    
    Internal Server Error
    
    The server encountered an internal error and was unable to complete your request.
    Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
    More details can be found in the webserver log.

    I checked the logs and server is ready   I do get a warning about increasing the max buffer hash size.  I dont think that would cause it to not run though

    I wouldn't be too worried about the hash size.  Do you get the same behavior if you try to connect with https://192.168.0.50:446 ?

     

    Do you see the connection go through in the letsencrypt access log?

  8. 4 hours ago, mkono87 said:

    So I have looked at the template and doing some more research I came up with this but when trying it in an incognito window I get a refused to connect error.

     

    https://hastebin.com/ozefovuriv.php

    config.php looks good.  I'm not sure 'trusted_proxies' => ['letsencrypt'] is essential, it was missing from mine :P

     

    for the site-config, change

    proxy_pass https://$upstream_nextcloud:443;

    to 

    proxy_pass https://192.168.0.50:446;

     

    and you can remove: set $upstream_nextcloud nextcloud;  That's the bit that needs the custom network interface.

     

     

  9. 12 minutes ago, mkono87 said:

    no I do not have a custom network interface defined. I have used the default with all my other services which are working fine in nginx.. mainly bridge mode. I havenlooked at all examples.

    Sent from my ONEPLUS A3000 using Tapatalk
     

    It can work without the custom interface but you'll have to modify the template, give it your server IP.

     

    Please start by reading the template, all the info is in there as to what you need to modify to get it working.  If you can't figure out how to put your server's IP in there, I can help.

  10. 1 hour ago, mkono87 said:

    Can someone help me out with the configs for setting it up with a subfolder with the letsencrypt docker? I have tried spaceinvaders video but his only focuses on subdomains  and the proxy conf examples iv tried using but just pulling my hair out trying to get it to work.

    Did you check the instructions in the nextcloud config sample?  Do you have a custom network interface defined?  (docker network create forletsencrypt0).  Is nextcoud using that network interface in the container definition?

  11. On 1/6/2019 at 1:50 PM, rlbdesigns said:

    I installed this docker and then had some issues with the setup. But deleted the docker and reinstalled it. But after reinstall it put me at the sign in screen not the setup and name NVR. How do I do a clean install.

    delete the docker and also delete the appdata subdirectory for the docker

  12. On 12/25/2018 at 11:51 AM, Tarald said:

    open vpn server is not set up with any password. Tried removing but it defaults to vpnuser and vpnpassword.

    What do you mean?  Your VPN provider is not using a username and password to authenticate you?

     

    There is also this feature in your ovpn file that doesn't seem to be supported: block-outside-dns

     

  13. 14 hours ago, Tarald said:

    Hi,

     

    Tried to set up this docker with a ovpn file from my OpenVPN server running on a VPS.

    With VPN disabled it works, but with VPN enabled it says connected but no local binding.

     

    Any ideas? I only have the ovpn file in /openvpn folder.

     

    Sorry if this already has been answered but I couldn't find it :(

    Hi Tarald

     

    Welcome to the forums.  The pros will need to see logs to know what is happening.

     

    Stop the container, delete supervisord.log, edit the container properties, set DEBUG to true, start the container, wait 5 minutes then copy supervisord.log here.

     

    Good luck.

     

  14. 3 minutes ago, ChapeL79 said:

    Ok what I've done was:

    1) Deleted the container

    2) Deleted all files in radarr config folder

    3) Used COMMUNITY APPLICATIONS to add Radarr 

    4) Filled all path exactly the way I wanted (/downloads to /mnt/disks/Downloads/)

    5) Clicked Apply

     

    when I go back to Update Container.... Container Path: /downloads is showing /mnt/disks/SAMSUNG_HD203WI_S1UYJ1BZ300571/

     

    Grrr, help :/

    I did not mean to delete the radarr config folder.  You said you have a backup, good thing because you'll need it!

     

    I meant to delete the radarr template.  so in the docker page, delete the radarr container, add new container, select the radarr template and click on the red round X.  That will delete the template.  hopefully, that is where the drive definition is saved.

    • Like 1
  15. 2 hours ago, Meller said:

    Hi all,

    I'm having an issue with my Movies folder from within Radarr. 

    So /media is mapped as /mnt/user/MediaPlex/Movies/

    For obvious reasons, MediaPlex is my share folder that Plex uses and within that share is a folder called Movies (I also have my TV Shows folder within MediaPlex share also). 

    Within sonarr I have the exact same map except instead of Movies it's TV Shows.  Sonarr finds it's folder completely fine and puts shows in their correct subfolders without issue.  Radarr on the other hand says that access to the path is denied.  It can't find any movies in the Movies folder nor can it import movies. 

    Any ideas?

    Good morning @Meller

    Are you sure there is no typo or different case letters in Movies?

    Can you try "ls -al /mnt/user/MediaPlex" and copy the output here?

    What is the save path within radarr?

     

  16. 32 minutes ago, binhex said:

    @Chaos_Therum this is normally due to weak consumer grade routers, generally supplied from ISP's. i have seen this first hand where the router simple cannot cope with the number of incoming connections and thus you get packet loss/disconnections/lan lockups etc when stressed (torrenting), not sure what you guys are using and obviously changing router is not a simple or cheap thing to do (i get this). so you could try reducing the number of connections, just try and reduce the load that the router has to handle and see if that stabilises things.

    I suspected as much.  I think qBit is the only torrent client coded in C and it may allow it to be more efficient/aggressive in the way it handles connections.  My internet connection comes from my crappy Bell router then directly in a gigabit switch.  Internal traffic did not notice one bit but the internet connection was severely impaired.  The odd part is that once the packet started to drop, stopping all but one of the torrents did not help.  Reducing the bandwith of the torrents to 150KB/s down 50K up did not help.  I had to stop everything for the connection to recover.

  17. 11 hours ago, Chaos_Therum said:

    I've been running into this issue as well. Personally qbittorrent is my favorite client and it kills me that the one good docker with built in vpn doesn't work. I wonder if it's something with our internal networks? It's super annoying I was getting the same stuff except my lower end packet loss was much higher I was probably closer to 20-80%

    Wait I actually take back this statement it was the delugevpn container that was causing me issues. Still strange that we would get the same issue on two different containers.

    Thanks for the info, in a way it's reassuring to know I'm not the only one.  No issues on rTorrent since I got back but I should retry qBit, it is the client I prefer so far.

  18. I hope I'm not being an idiot. 
     
    I hit the "list" button on the far bottom right and landed on the page showing all my entries.  Once there, I am not seeing an option to edit any of the existing  entries.
    Dammit, I told tapatalk to delete my last post when I realized that I was the blind one. I was a passenger In a car when I took the first look at your screenshot, things were moving a bit too much.

    In my setup, in the white section, there is an edit button at the end of each line.

    Maybe stupid but can you try on a wider screen?

    Sent from my SM-G930W8 using Tapatalk