Nanobug

Members
  • Posts

    382
  • Joined

  • Last visited

Posts posted by Nanobug

  1. 10 hours ago, itimpi said:

    You can always reinstall docker containers using their previous settings via Apps->Previous Apps.

    I tried to do that, but it messed up.

    Just took it as an opportunity to clean up in my appdata folder instead.

    Thanks though! :)

  2. 5 hours ago, JorgeB said:

    Not sure I follow, start the array, pool will be unmountable, run the command at that time, since the pool is encrypted you cannot run it with the array stopped, another reason I don't recommend encryption, unless you really really need it.

    I just confused myself instead.
    What you suggested worked just fine.

     

    Last thing:
    My dockers wont start.
    I've tried going into the settings, disable dockers and enabling it again, but it wont start.

     

    I can find these lines regarding docker in the system log:
     

    Mar  6 18:35:26 Storage-03 emhttpd: shcmd (140): /usr/local/sbin/mount_image '/mnt/cache/system/docker/docker.img' /var/lib/docker 20
    Mar  6 18:35:27 Storage-03 root: mount: /var/lib/docker: wrong fs type, bad option, bad superblock on /dev/loop2, missing codepage or helper program, or other error.

    I'm not exactly sure what it means though.

     

    Should I delete the docker image?
    And if I do, would that delete my docker containers?

     

    Added new diagnostics as well.

    storage-03-diagnostics-20240306-1838.zip

  3. 1 hour ago, JorgeB said:

    If the log tree is the only issue this may help, with the array started type:

    btrfs rescue zero-log /dev/mapper/sdb1

    then restart the array.

    It's when I'm trying to boot the array in the first place.

    Should I just reboot it immediately after trying to boot it then?

  4. The CPU and memory hotplug was the problem.
    I've disabled it.

    Next issue:
    My cache (and appdata) drive a Samsung 860 EVO, is saying "Unmountable: Unsupported or no file system".
    As mentioned, the system haven't been used for anything for a month or so, so the drive is fine. the SMART test from Proxmox is even saying it's fine.
    I've added the SMART data for the disk in the txt file. and another diagnostics file from when I tried to mount the disk.

    SMART_test.txt storage-03-diagnostics-20240305-2107.zip

  5. 8 minutes ago, JorgeB said:

    This can happen is there's a RAM problem, so if the server is also having other stability issues start by running memtest, I aslo see you are virtualizing Unraid, it would also be good to re-test baremetal.


    Yes. I have been doing it before though, so I didn't mention it.
    I'll try it directly from the USB drive when I get home later today.

    Do you know if hotplug of CPU and memory can cause this?
    - It's the only thing that I can think of that might have changed.

  6. Hello Unraid forums,

    I've not been using one of my Unraid servers for a month or so, since I did some changed to the hardware, and it was easier to keep the server off.

    Now, it says "wrong encryption key" when I try to boot the server.

    I'm using a passphrase, and I'm sure it's the correct one.

    Also, at some point, I just lose connection to the WebUI and I have to reboot the server to do anything again.
    I can't directly login to the server when it loses connection to the WebUI. It just times out on the login screen.

    I'm sure I messed up somewhere, I just can't figure out where.

     

    Am I at a point where it would be easier to start over?
    I was really hard to even get the diagnostics since I have a limited amount of time that seems random, to get it.

    But they're added.

    storage-03-diagnostics-20240304-2139.zip

  7. Here's the latest network.cfg config I've got from december:
     

    # Generated settings:
    IFNAME[0]="br0"
    BONDNAME[0]="bond0"
    BONDING_MIIMON[0]="100"
    BRNAME[0]="br0"
    BRSTP[0]="no"
    BRFD[0]="0"
    BONDING_MODE[0]="1"
    BONDNICS[0]="eth0"
    BRNICS[0]="bond0"
    PROTOCOL[0]="ipv4"
    USE_DHCP[0]="yes"
    DHCP_KEEPRESOLV="yes"
    DNS_SERVER1="10.0.20.1"
    USE_DHCP6[0]="yes"
    DHCP6_KEEPRESOLV="no"
    SYSNICS="1"

     

  8. Hello,

    I recently changed some of my networks, and now my Unraid server gets an apipa address.

    I can see on my router it pulls and IP in the correct network, but for some reason, it gets  the 169 address anyway.

    I tried deleting the network.cfg file from the flash drive, tried using one from a backup from december, but no matter what I do, I can't get it to work.

    I've rebooted the server after each change, but I can't figure out why it does that.

     

    I'm not sure how to pull the diagnostic data without the webui.

     

    According to my router, it gets an IP at 10.0.20.250.
    But directly on the server, its 169.254.75.101 (apipa address).

     

    The network it's on, is 10.0.20.0/24

     

    Any ideas?

  9. Hello,

    I'm having trouble with the directories of SFTP.
    Here's my docker run:

    docker run
      -d
      --name='sftp'
      --net='br0'
      --ip='10.0.10.64'
      --privileged=true
      -e TZ="Europe/Paris"
      -e HOST_OS="Unraid"
      -e HOST_HOSTNAME="Skynet"
      -e HOST_CONTAINERNAME="sftp"
      -e 'TCP_PORT_22'='22'
      -l net.unraid.docker.managed=dockerman
      -l net.unraid.docker.icon='https://raw.githubusercontent.com/MarkusMcNugen/docker-templates/master/sftp/SFTP.png'
      -v '/mnt/user/loa/':'/loa':'rw'
      -v '/mnt/cache/appdata/sftp':'/config':'rw' 'markusmcnugen/sftp:latest'

     

    It's the "  -v '/mnt/user/loa/':'/loa':'rw'" part that's giving trouble.

     

    Here's the users.conf file:
    image.png.1136dec4c789d490bda4f8755b724502.png

     

    For some reason, it can't see the content of the correct folder, it's like it's creating a new one instead of using the one that is mounted.

    I looked at the Github page on how to do it, and to me it seems right.

     

    Does someone have the answer?

     

  10. 2 minutes ago, binhex said:

    no idea dude, but the code in this area has literally not changed in years!, maybe the machine you are using to access the web ui has changed vlan?, if you were in 10.0.8.0/24 then it would work.

    It didn't work when I used a device on 10.0.10.0/24 either.
    But now it does.

    I don't get it...

    But thanks a lot, and keep up the good work! :D

  11. 9 minutes ago, binhex said:

    that is probably your issue then, from your log:-
    LAN_NETWORK defined as '10.0.10.0/24'

     

    you need to add in your other vlan if you want to access it from another network, change LAN_NETWORK to:-
    10.0.10.0/24,10.0.8.0/24

    Damn... That worked.

    How come it worked before, but out of a sudden, it stopped working?
    Haven't touched that setting in a year or two.

  12. 15 minutes ago, binhex said:

    ok nothing showing any errors in that log, if you cant reach the web ui then try another browser to ensure its not plugin blocking, or better yet a different device, you are accessing this from inside your lan, not via vpn right?

    Deluge is running on the 10.0.10.0/24 network.
    My desktop is on 10.0.8.0/24, and I do have a router to the 10.0.10.0/24 network.
    But I've tried the following on my desktop:
    Vivaldi (normal and incognito)
    Google Chrome (normal and incognito)

    Windows Sandbox (on my Desktop):
    Microsoft Edge (normal and incognito)
    Firefox (normal and private/incognito)

     

    A VM on the 10.0.10.0/24 network:
    Microsoft Edge (normal and incognito)

     

    I'm only running adblockers on my desktop.
    I can see on the sites that I'm seeding, so it's all working, I just can't go on the WebUI.

  13. 29 minutes ago, binhex said:

    your issue is that you have specified an ip address for the container which then causes the container ip and your lan range to clash, set it back to bridge mode and you will be able to access the web ui.

    It worked before with Bridge mode, and the other container that uses a specific IP address, has the same issue, that worked before.

    I changed it now, and I have the same issue.
    I've attached a new log.

    supervisord.log

  14. Hello,
    For some reason, both my Deluge containers, can't use the WebUI.
    The log is not mentioning any issues, and the torrents already there is doing what they're supposed to do. I just can't access the log.
    Eventually it just says "ERR_CONNECTION_TIMED_OUT".
    The log says this after a reboot:

    Created by...
    ___.   .__       .__
    \_ |__ |__| ____ |  |__   ____ ___  ___
     | __ \|  |/    \|  |  \_/ __ \\  \/  /
     | \_\ \  |   |  \   Y  \  ___/ >    <
     |___  /__|___|  /___|  /\___  >__/\_ \
         \/        \/     \/     \/      \/
       https://hub.docker.com/u/binhex/
    
    2023-12-13 17:16:43.658084 [info] Host is running unRAID
    2023-12-13 17:16:43.691177 [info] System information Linux 6a669ace8ec6 6.1.64-Unraid #1 SMP PREEMPT_DYNAMIC Wed Nov 29 12:48:16 PST 2023 x86_64 GNU/Linux
    2023-12-13 17:16:43.726146 [info] PUID defined as '99'
    2023-12-13 17:16:43.758051 [info] PGID defined as '100'
    2023-12-13 17:16:43.802147 [info] UMASK defined as '000'
    2023-12-13 17:16:43.824328 [info] Permissions already set for '/config'
    2023-12-13 17:16:43.875761 [info] Deleting files in /tmp (non recursive)...
    2023-12-13 17:16:43.913966 [info] VPN_ENABLED defined as 'yes'
    2023-12-13 17:16:43.932768 [info] VPN_CLIENT defined as 'openvpn'
    2023-12-13 17:16:43.955579 [info] VPN_PROV defined as 'custom'
    2023-12-13 17:16:43.985538 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn
    2023-12-13 17:16:44.079947 [info] VPN remote server(s) defined as '193.32.127.81,146.70.134.130,81.17.16.66,'
    2023-12-13 17:16:44.101374 [info] VPN remote port(s) defined as '1196,1196,1196,'
    2023-12-13 17:16:44.120319 [info] VPN remote protcol(s) defined as 'udp,udp,udp,'
    2023-12-13 17:16:44.151406 [info] VPN_DEVICE_TYPE defined as 'tun0'
    2023-12-13 17:16:44.181770 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
    193.32.127.81
    146.70.134.130
    81.17.16.66
    2023-12-13 17:16:44.308130 [info] LAN_NETWORK defined as '192.168.1.0/24'
    2023-12-13 17:16:44.331466 [info] NAME_SERVERS defined as '84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1'
    2023-12-13 17:16:44.360927 [info] VPN_USER defined as 'XYZ'
    2023-12-13 17:16:44.387747 [info] VPN_PASS defined as 'XYZ'
    2023-12-13 17:16:44.417443 [info] ENABLE_PRIVOXY defined as 'no'
    2023-12-13 17:16:44.453599 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
    2023-12-13 17:16:44.478771 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
    2023-12-13 17:16:44.499734 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
    2023-12-13 17:16:44.525102 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'


    I've tried waiting a bit for an update or something, but nothing yet.


    I've tried:
    Reboot the container.
    Rebooting the server.
    Looking in the logs for any errors.
    Incognito.
    Another browser.
    Incognito in another browser.

    I can't find the issue.

    Any ideas?
     

  15. 8 hours ago, Kaizac said:

    In your mount script change RcloneRemoteName to "crypt".

    I'm wondering about your crypt config though. I'm not sure if the / before Dropbox works. Did you test that? I would just have dropbox:crypt for the crypt remote, / is not needed afaik.

     

    Regarding the /user path. You have to create the path named /user which points to /mnt/user on your filesystem on your docker templates.

    Then within the docker containers (the actual software like Plex) you start your file mappings from /user. For example /user/mount_mergerfs/crypt/movies for the movies path in Plex. You do the same for Radarr.

     

    This helps performance because the containers are isolated, so they have their own paths and file system which they also use to communicate with each other. So if you have plex user /Films but Radarr /Movies then they won't be able to find that path because they don't know it.

    And this also gives the system the idea that it's 1 share/folder/disk so it will move files directly instead of creating overhead by copy writing the file. This is not a 100% technical accurate explanation, but I hope it makes some sense.

     

    Another thing: I'm not sure if the dockers for the docker start need a comma in between. You might want to test/double check that first as well.

    The dropbox:/crypt part works, I can use the rclone commands in the terminal with it, so I'm happy with it. I'm not sure it's done the right/best way, but it works, and it took me a while to get it to work, so I don't want to mess with it :P

     

    Regarding the  /user path, why not just point it to /user/mount_mergerfs/crypt/movies instead of pointing it to /mnt/user?

     

    It kinda makes sense so it sees it as one disk instead.

    If someone knows a deeper explanation, I'd love to hear it and learn from it :)

     

    Regarding the docker start, there's no commas in between. There dash ( - ) though, which is a part of the container/docker name that I use.

     

     

  16. Hello,
    I'm kinda stuck on this, and I read through the guide multiple times, but it seems like something is implicit that I don't get.

    For the rclone config, this is my setup (details are blurred):
    image.png.74aea681830f3cad1ed52b0a533aebae.png

    The terminal rclone commands works just fine.

     

    I'm not sure if this is done right:

    image.thumb.png.e75653270a3656060f7ffffb69116e8f.png

    (I know there's a lot of containers and paths)

    and I read this sentence "To get the best performance out of mergerfs, map dockers to /user --> /mnt/user" I'm not sure what this means. Should I add a new path to Plex for with "/mnt/user/ and the same for Sonarr, Radarr and the Deluge containers, or what am I supposed to do?
    Also, why?

    I don't quite get it.

     

    I know how to setup the cronjob, but I want to make sure I get it right before I use it.

     

    Maybe someone could walk me through it?

  17. On 3/5/2021 at 11:49 PM, Jorgen said:

    Sonarr is supposed to remove the torrent from Deluge after it reaches the defined ratio, but I never got that to work either.

    AutoRemovePlus plugin is the way to go in my opinion.

     

    The most likely reason the egg isn't accepted for you is that the Python version in this container was recently updated to 3.9.

    If you have the 3.8 egg in the plugin folder already, simple rename it to 3.9 (see below) and restart the container:

    AutoRemovePlus-2.0.0-py3.9.egg

     

    If you don't have it, download the 3.8 version from here: https://forum.deluge-torrent.org/viewtopic.php?f=9&t=55733

    Put the egg into the plugin folder, rename it to 3.9 and restart container.

     

     

    This helped me enabling AutoRemovePlus.
    Thank you!

  18. I keep getting this error:

    Quote

    2023-02-05 11:34:25 +0100 HTTP parse error, malformed request: #<Puma::HttpParserError: Invalid HTTP format, parsing fails. Are you trying to open an SSL connection to a non-SSL Puma?>

     

    I did what barrysagittarius suggested:

    Quote

    Port

    -Config Type: Port

    -Name: WebUI

    -Container Port: 8080

    -Default Value: 8080

    -Connection Type: TCP

     

    Variable

    -Config Type: Variable

    -Name: OPENPROJECT_HTTPS

    -Key: OPENPROJECT_HTTPS

    -Value: False

    -Default: False

     

    I'm trying to access locally, so no reverse proxy is involved.
    Any ideas of how to make it work?