Jump to content

JonathanM

Moderators
  • Posts

    16,670
  • Joined

  • Last visited

  • Days Won

    65

Posts posted by JonathanM

  1. For some reason I still can't get access to the webgui of DelugeVPN.

     

    I have checked the vpn_port is set to 1198, that my username and password for the vpn is correct and configured LAN_NETWORK accordingly to 192.168.0.1/24, as my router is sending out ip-adresses from 192.168.0.1

     

    But I still get no connection to the webgui.

    As a test, disable the vpn in the docker settings and see if you can access the webgui. If you can, then the issue is in your VPN settings, so you can concentrate on that. If you can't access the webgui with the VPN disabled, then you have other issues that need to be addressed before you can work on getting the VPN portion working.
  2. Are there any circumstances that could cause the disk to unmount without a direct call from a user intiated command?

    None that I know of.  Maybe one, if the drive is detected to have failed, unRAID may unmount it.  Perhaps I should somehow cause the drive to appear to have failed...

    A failed drive's content still appears at the /mnt/diskX location, but the link to the physical drive is gone. We need the physical drive to still be linked to the md device so the script accomplishes what is needed.

     

    I still think unraid shouldn't automatically create /mnt/diskX locations that don't correspond to what's on the drive. I would expect the GUI line to show unmountable, reflecting what's actually happening.

     

    I guess it all boils down to this process being seen as unnecessary from Limetech's point of view, since we've been talking about it and doing it for years, without input from Tom. So, we continue to hit the nail with the handle and hope we don't break it.  ;D

  3. I'm playing with Rob's clear drive script, and noticed something very strange. After his script unmounts the drive, emhttp immediately recreates the /mnt/disk1 by chmod it, I guess in RAM. I don't know if it's something wonky with my system, or a bug in unraid, or what.

     

    I noticed that every time I used the script to clear a 250GB drive, some time after it unmounted it (didn't watch so don't know how soon), the Main screen showed a valid disk mounted there but with a little over 2GB size drive there, and a little of it used, don't remember the numbers.  I just assumed normal wonkiness when I confused it by unmounting it, and never investigated further.  What you found sounds exactly the same.  I never noticed any issues.  When the clearing finished, I stopped the array and went to New Config, which essentially reset everything.  A parity check found nothing wrong.

     

    I saw the same lines in my syslog.

    I think this is something that Limetech needs to look into. Not your script, but the auto creation of a disk folder not linked to the underlying md system. I can imagine some very strange things happening if a disk is unmounted and things are written to the phantom drive. I didn't test to see if the newly minted disk1 would participate in the user share system, but I assume it could.

     

    Are there any circumstances that could cause the disk to unmount without a direct call from a user intiated command?

  4. I'm playing with Rob's clear drive script, and noticed something very strange. After his script unmounts the drive, emhttp immediately recreates the /mnt/disk1 by chmod it, I guess in RAM. I don't know if it's something wonky with my system, or a bug in unraid, or what.

     

    Sep 19 19:10:30 Testunraid emhttp: cmd: /usr/local/emhttp/plugins/user.scripts/backgroundScript.sh /tmp/user.scripts/tmpScripts/clear an array drive/script
    Sep 19 19:10:44 Testunraid emhttp: cmd: /usr/local/emhttp/plugins/user.scripts/showLog.php clear an array drive
    Sep 19 19:11:30 Testunraid clear_array_drive: Clear an unRAID array data drive v1.4
    Sep 19 19:11:30 Testunraid clear_array_drive: Unmounting Disk 1 (command: umount /mnt/disk1 ) ...
    Sep 19 19:11:30 Testunraid clear_array_drive: Clearing Disk 1 (command: dd bs=1M if=/dev/zero of=/dev/md1 status=progress ) ...
    Sep 19 19:12:01 Testunraid emhttp: shcmd (807): chmod 0777 '/mnt/disk1'
    Sep 19 19:12:01 Testunraid emhttp: shcmd (808): chown 'nobody':'users' '/mnt/disk1'
    

     

    /dev/md1 is clearly no longer mounted at /mnt/disk1

     

    root@Testunraid:~# mount
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    tmpfs on /var/log type tmpfs (rw,size=128m,mode=0755)
    /dev/sda1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
    /mnt on /mnt type none (rw,bind)
    /dev/md2 on /mnt/disk2 type xfs (rw,noatime,nodiratime)
    /dev/sdf1 on /mnt/cache type xfs (rw,noatime,nodiratime)
    shfs on /mnt/user0 type fuse.shfs (rw,nosuid,nodev,noatime,allow_other)
    shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,allow_other)
    /mnt/cache/system/docker.img on /var/lib/docker type btrfs (rw)
    /mnt/cache/system/libvirt/libvirt.img on /etc/libvirt type btrfs (rw)
    root@Testunraid:~# 
    

     

    I have disk1 globally excluded from shares.

  5. Tested some time ago but from memory MySQL is a separate docker requirement and Piwigo will maintain a separate copy of files

    My recollection is the same. I used mariadb for the database, and it worked, but I didn't like having to import and using twice the storage space. I'm still looking for a photo solution.
    • Like 1
  6. Thanks Jonathanm for the feedback.

    yeah the vnc web client is a pain. It actually works fine if you connect from virt-managers vnc client, just not our web one.

    I use splashtop desktop for connection to my vms as i can use that outside aswell. Ha never heard of drunk simulator prism glasses....I wonder what it would be like wearing them when drunk...?? lol 8)

    Drunk glasses. https://www.lifeloc.com/goggles.aspx Probably great fun to wear after having actually had a few too many. ;D

     

    Previous post no longer needed, so removed. ;)

  7. Oh, also I believe the VNC cursor issue is client related. The noVNC web client can be a pain, sometimes toggling between full screen and back to windowed can help sync the cursor, if that doesn't work for you I suggest connecting with a real VNC viewer, Remmina works well if you are linux based, I saw a couple pages that seem to show how to use it in OSX. Trying to work with a cursor that is out of sync reminds me of trying to walk with the drunk simulator prism glasses that some driver's education classes use. Entertaining for about 2 seconds, and extremely irritating thereafter.

  8. I have peter_sm's OpenVPN plugin installed and running perfectly but I would like to route Deluge's traffic (and only Deluge's traffic) through it leaving the rest of my containers ignoring the VPN tunnel entirely

    It would be easier to just use Binhex's DelugeVPN, it does exactly what you want, all in one container.
  9. These extra cables can reduce or negate your need for power splitters.
    But modular cables introduce another slip fit mechanical connection at the point they plug in to the PSU, effectively negating the advantage of not using splitters. Permanent solder joints are a much better idea reliability wise.

    Agree on the permanent solder joints, but I have yet to see a modular cable connector that didn't make a better connection than a molex splitter.

    Stop using poorly made molex splitters?  ;D

     

    Seriously, there sometimes is a huge quality difference between branded and generic stuff when it comes to connectors. Different alloys, tighter tolerances, better coatings, all the qualities that matter when you have a slip fit spring connection. Visually it may not be much different, but it sure makes a difference after they've been in service a few years.

     

     

  10. These extra cables can reduce or negate your need for power splitters.
    But modular cables introduce another slip fit mechanical connection at the point they plug in to the PSU, effectively negating the advantage of not using splitters. Permanent solder joints are a much better idea reliability wise.
  11. Since from your post it looks like making changes are no longer reverted upon a reboot in unRAID, I think I'll be going the btrfs RAID-0 route. Thanks again.

    AFAIK an established pool has NEVER been automatically reverted on reboot, but if you make changes to the pool you will have to manually adjust the balance command to reflect what you want, as the balance command defaults back to RAID-1. That may be what you are referring to, and that hasn't changed.
  12. I must be missing something. I have the docker installed and running, the config looks to be fine, but the port for the webgui does not seem to be open. Not port forwarding, just to access it locally. Running netstat on unraid cli does not show the default 8112 to be open. Is there something else that I need to do?

    Can you post a screenshot after you filled in the paths to your config and data?
  13. Quick suggestion. The top right button is currently called "Update Applications". Instead of being ambiguous over what is actually being updated, why not call it "Update App List" or "Refresh App List" or something like that? Since your program does app backup and such, it's not a stretch to imagine the current button would literally update your installed applications.

  14. hmm ok there hasn't been a github "release" for some time now  (over a year now) for couchpotato, and i know there are some fairly major bugs in the current release, how would people feel about me switching this to install github master branch instead?.

    What would the cost / benefit ratio of either adding a variable or setting up a second container so we could choose? My install is currently mostly working so it would be nice to be able to switch back easily if something in the master branch build is badly broken.
  15. Second, because it's a parity, I'm assuming any data is unreadable when I RMA it back to Toshiba? No need to zero data prior?

    Your parity disk is just a bunch of bits that have absolutely no meaning without the other disks in your array.

    However... it is possible that chunks of that data contain meaning. Consider the scenario where all disks are precleared, and only 1 drive has data. The parity drive would contain the mostly intact contents of that single drive, and running data recovery software would yield some readable files. Any region of the parity drive where all other data drive content except for 1 is zeroed would mirror that specific data. No format structure would be available, so raw recovery with binary analysis would be required to find any information.

     

    tl;dr - clearing the parity drive before letting it leave your control is a good idea if there is sensitive data on the server.

     

    If you are storing data that must not be released under any circumstance, I do not recommend RMA'ing dead drives. Destroy them and eat the loss.

  16. In this same vein, it may be productive to offer the option to take down the ethernet interface for the duration of the test. That way if it suits the user, they could remove the possibility of external influence during testing. Trick would be to only allow it if there was local console access to get back from a bad state.

     

    Can you detect in your script if it was called from a local console?

     

    That feature is already available, has been there since day one.  To turn it on, simply unplug your ethernet cable.  ::)

    Ha! Yes, that is the obvious solution, but not all of us have easily accessible infrastructure. I typically down the server before messing with any of the wiring, just because I don't want to be moving things around with the server up, and it's a pain to get to otherwise. With IPMI, I have a local console anywhere, so downing just the network interface programmaticly is a much easier option.

     

    If it's not in the cards, I understand. Just wanted to offer an option to make testing more consistent.

  17. Not picking on what you are doing but I am wondering if there are some other variables in the test methodology which have not been considered that are having a big impact on the results that you are getting.  Perhaps, you should run the same test three or four times with the same variables and see if you get consistent results!

    In this same vein, it may be productive to offer the option to take down the ethernet interface for the duration of the test. That way if it suits the user, they could remove the possibility of external influence during testing. Trick would be to only allow it if there was local console access to get back from a bad state.

     

    Can you detect in your script if it was called from a local console?

  18. Are binhex's docker containers still being updated?  I haven't seen an update to Plex (still sitting on version 0.9.16.6), Couch Potato, or sabnzbd in months.    Every time I check, Unraid says they're all up to date.

     

    Just want to make sure I don't need to switch to linuxserver or one of the other maintainers.  Thanks!

    They are updated. Unraid's docker update notification is broken. If you switch to advanced view, and force update, you will get the updated version.
  19. Throw another cannot connect to webui on the pile... is there any information I can provide to help you troubleshoot the issue?

     

    My setup:  Fresh install of UnRaid + Docker utilizing proxh.sh vpn service

    OS: UnRaid 6.2.0-rc4

    Docker: Latest binhex-delugevpn

     

    VPN_ENABLED: true

    If you set VPN_ENABLED to false, can you connect to the webui? If so, it points to a misconfiguration of your VPN. This container is set up to not start if the VPN is set to enabled but there is something wrong with the VPN, so you can't accidentally expose yourself by downloading directly when you thought the VPN was working but it's really not.
  20. I just use the Krusader docker, it's VERY fast when the rar files are on my SSD cache.

     

    You don't give any information about your network topology and where the extracting process is taking place, so I can't really say whether my method would be better for you.

×
×
  • Create New...