Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

blacklight

Members
  • Joined

  • Last visited

  1. It turns out that it was a remnant docker network I created via Portainer. I found this entry: 192.168.0.0/24 dev br-75ff69ec12b1 proto kernel scope link src 192.168.0.254 linkdown with docker network ls Which has the same exact subnet as the one on the bridge. From my understanding I thought the same subnets are possible in isolted docker networks (like the shim-networks), so I can not explain why this error occured. Deleting the network and restarting the service fixed the communcation error.
  2. also I just saw the 192.168.0.254 address that I overlooked the whole time, and I have no idea what causes the address. My Unraid address is 192.168.0.10 and the one of the NAS is 192.168.0.116. Custom networks in the Docker page are enabled (ticked br0, br3 and br0.10 with DHCP on all three of them)
  3. I just encountered a problem, where my NAS VM isn't reachable anymore and all my depending docker services, which depend on the NAS, went down. I use the main bridge br0 to attach all my VMs to the main subnet and never had bigger problems except my personal macvlan-bug debacle a year ago. Since then the virtual networks ran flawelessly, until I had to restart my machine last week. Since then, if the docker service is enabled, my NAS can not be pinged and also no shares can be mounted. If I disable the docker service the problem remains. I have to restart the machine first without the docker service enabled to be able to mount shares again (and ping the NAS and vice versa / all pings and mounts from Unraid with the Truenas vm as a target) Below you see a ping that is interuppted by the startup of the docker daemon. root@Icarus:~# ping 192.168.0.116 PING 192.168.0.116 (192.168.0.116) 56(84) bytes of data. 64 bytes from 192.168.0.116: icmp_seq=1 ttl=64 time=0.450 ms 64 bytes from 192.168.0.116: icmp_seq=2 ttl=64 time=0.315 ms 64 bytes from 192.168.0.116: icmp_seq=3 ttl=64 time=0.389 ms 64 bytes from 192.168.0.116: icmp_seq=4 ttl=64 time=0.402 ms 64 bytes from 192.168.0.116: icmp_seq=5 ttl=64 time=0.556 ms 64 bytes from 192.168.0.116: icmp_seq=6 ttl=64 time=0.492 ms 64 bytes from 192.168.0.116: icmp_seq=7 ttl=64 time=0.384 ms 64 bytes from 192.168.0.116: icmp_seq=8 ttl=64 time=0.280 ms 64 bytes from 192.168.0.116: icmp_seq=9 ttl=64 time=0.572 ms 64 bytes from 192.168.0.116: icmp_seq=10 ttl=64 time=0.505 ms 64 bytes from 192.168.0.116: icmp_seq=11 ttl=64 time=0.482 ms 64 bytes from 192.168.0.116: icmp_seq=12 ttl=64 time=0.281 ms 64 bytes from 192.168.0.116: icmp_seq=13 ttl=64 time=0.439 ms 64 bytes from 192.168.0.116: icmp_seq=14 ttl=64 time=0.278 ms 64 bytes from 192.168.0.116: icmp_seq=15 ttl=64 time=0.318 ms From 192.168.0.254 icmp_seq=16 Destination Host Unreachable From 192.168.0.254 icmp_seq=17 Destination Host Unreachable From 192.168.0.254 icmp_seq=18 Destination Host Unreachable From 192.168.0.254 icmp_seq=19 Destination Host Unreachable From 192.168.0.254 icmp_seq=20 Destination Host Unreachable From 192.168.0.254 icmp_seq=21 Destination Host Unreachable I will add a syslog later, where I turn on the service. I actually thought I fianally understood the whole macvlan network thing, but apparently not. So here is my configuration: Unraid version: error started in 7.1.2 persisted in 7.1.4 Network: Bonding: OFF Bridging: ON -> creates br0 Bridging Members Of Br0: eth0 IPv4 Address Assignment: Static (I had it on DHCP but to be on the safe side I changed it) Docker: Docker Custom Network Type: macvlan -> with the intention to assigning ip addresses for selected containers Host Access To Custom Networks: Enabled Preserve User Defined Networks: Yes (created by me manually and by Portainer) VM: Default Network Source: br0 The network snippet from the XML of the NAS VM: <interface type='bridge'> <mac address='52:54:00:a4:70:54'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio-net'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> I tried a lot of suggestions for troubleshooting general macvlan prboblems like switching to non-bridged macvtaps or creating a custom newtork, but none of the suggestions I found in the forum and the docu helped me to solves this, while keeping the IP and haveing a connection between host and vm. Unfortuantely I can not explain what change from my side caused this, but it worked for over a year, without me changing anything in the network settings or the XML of the NAS (I never touched them after I got it to work). Thanks for any help :)
  4. I tried to test what you suggested, but I get the same problem with the docker command in the Unraid CLI as with Portainer. root@Icarus:~# docker network create -d macvlan \ --subnet=192.168.10.0/24 \ --ip-range=192.168.10.40/29 \ --gateway=192.168.10.1 \ -o parent=br0.10 \ base_test_network Error response from daemon: failed to allocate gateway (192.168.10.1): Address already in use Despite the fact that I rebooted the system and turned portainer autostart off (so it didn't start at all during this cycle), the "Gateway already in use" problem remains. From what I understand, this is an additional problem right ? I didn't do anything about the autostart/ipv6 problem. Is this mandatory to be able to create the custom network at all ? The thing is that I am little anxious to start messing around with automatically created network settings in Unraid. I did this in the past and it sometimes took weeks for me to get the system running again, because I am simply not that proficient in networking. I wouldn't mind to create this custom networks in the CLI instead of inside portainer directly, but I want to try to avoid messing with the autostart procedures, if possible. Any idea why I can't create the network in the CLI (assuming your 2 posts are not directly dependent on each other) ?
  5. blacklight changed their profile photo
  6. Hello, I am trying to replicate the Unraid behavior of the MACVLAN interface option (picture below), that is listed under each container, inside Portainer. The goal is, to have the same option when deploying a Portainer stack as with Unraid when starting a docker and selecting a Custom adapter, which in my case is Custom: br0.10, so a macvlan adapter that connects to the bride br0.10 which also is a parent of eth0.10 from the tagged VLAN 10. Unfortunately the network creation in Portainer (which is using the same docker socket from my understanding) is not as trivial. In the two step process of Creating a configuration and creating the network itself, I tried multiple combinations for subnet, ip range and gateway. -> The gateway seems to be the main problem: if I set 192.168.10.1 as a gateway, I get the error that the gateway can't be assigned twice. I saw a similar problem here: Link, What is the correct IP to use as a gateway ? It seems to be a virtual docker gateway, but what is it used for in the macvlan scenario and why is it not the same as my network gateway. -> If I set a different gateway, I am able to create a container via a stack, but the container has no internet connection and can't ping other containers even in the same subnet (which the macvlan containers created via Unraid directly can !) Unraid Docker (Portainer as an example): Portainer: My exact configuration in Portainer: - name: examplenetwork_config - driver: macvlan - parent network: br0.10 - subnet: 192.168.10.0/24 - IP range: 192.168.10.40/29 (that is actually the range I want to assign for this stack, Unraid shouldn't assign anything near there with 192.168.10.128/26 set in the Unraid docker settings.) - gateway: 192.168.10.1 And when trying to create the network with: - name examplenetwork - driver: macvlan - configuration: examplenetwork_config I get the following error: "Failure Unable to create network: failed to allocate gateway (192.168.10.1): Address already in use" When changing the config to: - name: examplenetwork_config - driver: macvlan - parent network: br0.10 - subnet: 192.168.10.0/24 - IP range: 192.168.10.40/29 - gateway: 192.168.10.40 I can create the network, but as already mentioned it can not reach anything. What am I doing wrong here ? I also don't understand where my error is in the thought process, because in Unraid directly it works flawlessly. Is "Custom: br0.10" really a macvlan bridge, how else would each container get it's own IP ? Any help or even tips would be appreciated.
  7. That's what I thought, unfortunate. But thanks anyway. The setting is on since years and I never turned it off. The configs are still there and didn't change, only the networks are gone and also the command to restart mentioned something about the deleted docker networks. I will try to recreate the network ones again to see the message and recreate the one missing manually. Okay will do that. It is unfortunate to see that even with backups there is no chance to restore this. I even was able to look inside the db to see my old networks, why is there no chance to restore them somehow ? At least the name,Ip range and which containers were attched ?
  8. Hello, is there a chance to restore docker networks from local-kv.db ? I did this ... ... because my br0 was missing and it successfully recovered it but now all my custom docker networks are gone. Can I revert this without risking to loose br0 again in the docker tab ? I have .... : - a backup of the local-kv.db before I deleted it and restarted the docker service - daily backups (the last 100 or so) of the whole USB created with the "appdata backup" plugin - restarted the system and docker Any ideas how to do this the most clean way without me messing stuff up would be awesome. Thanks
  9. SOLVED ! See here: The problem was the SMB share !
  10. I just wanted to install plex on Unraid after my experience from the Truenas app, but unfortunately it is a real hustle for me. I started with the image from binhex: "binhex/arch-plexpass" and had problems setting the correct permissions from different shares. I used this string for extra parameters: --device=/dev/dri --mount type=tmpfs,destination=/tmp,tmpfs-size=10000000000 --no-healthcheck from this tutorial . After that I set all paths: CONFIG -> /mnt/remotes/Plex_Database (a ssd pool on my truenas vm with a user PUID=GUID=1044 and the mountcommand also mounts with the same PUID,GUID). MEDIA -> /mnt/hyperion/hyperion media/media (my secondary pool on unraid only for media) TRANS_DIR (as a system variable) -> /tmp (as stated in the tutorial above, so that the ram is used as a directory but only with 10gb instead of 20) HW_Encoding -> /dev/dri (I added this one myself to give the docker access to the GPUs for the future) My plex ui isn't able to play ANY titel no matter if movie or tv-show. I converted one title from mkv to mp4 which didnt help. The source of the files are *LEGAL* downloads (of course) and a few rips. If I try to use the settings button during the initial loading I get: "Unexpected errors during playback. Please visit our forum if you continue to experience problems." (translated from German) If I wait I either get : "An error has occurred while playing *movie name*. Error code s1003 (network)" OR: "This server is not powerful enough to convert videos. " ... with and without HW-Encoding turned on ... I am using a 13900KS, Unraid 7.0.0-rc.1, 128GB ram of which 50-80 ist mostly occupied depending on the load. These are a few error I found in the logs: "ERROR - [VoiceActivityDetectionManager] MDE: video has neither a video stream nor an audio stream" and I think this one can be ignored, but I am not sure. "ERROR - [Req#1fc2] XML: Database exception: sqlite3_statement_backend::prepare: locking protocol for SQL " "ERROR - [Req#212a] Unknown metadata type: folder" (The log is not anonymus, that is why I am not attaching it) My SMB layout is very niche, which is why I wanted to use the Unraid forum first before proceeding to the plex forum or reddit. Any ideas what I could have done wrong ? I thought all permissions are set, because plex was also avaible to prepare all the metadata. Could permissions be the problem ? I wouldn't think plex has problems with the mkv format. Thanks in advance
  11. Ok you never guessed what it was .... silly me thought the pools work like the array in terms of layout. Apparently you can not have empty slots in a pool ... 🤦‍♂️ Well I knew it was nothing complicated because I was able to mount and use the disks via console, which made them invisible from the UI. After only using 2 slots it worked like a charm. I don't like that fact the the error message is very abitrary and I couldnt find the fact very easily but now I do undertand Also I am using this pool as a separate media storage, so I disabled all cahcing and moving settings, which completely cuts the pool of from my array (which is only for system data) That beeing said, I am realy looking forward that Unraid adds "Array" as a pool type so one can setup multiple Arrays with potentially multiple cache drives. One main reason I would love that, is because my main storage is on a Truenas vm and I only have system data (docker, small VM images, plugins, etc.) on my array, which gurantees a small resilvering time when one of my 500gb drives fails. Also I could go with double parity on the system files, which I don't need on my movie collection. Thanks anyway
  12. I haven't had any problems since I am using 2 subnets. Both DHCP leases work immediately on the router and the switch. I also won't likely change back. Literally everything I used despite the airplay stuff works with ip calls and therefore is simple to use by a user like me. Trust me ... I tried everything, also a DHCP relay, which dind't work ! And most certainly is wrong in this use case because why should there be a relay INSIDE one subnet ? DHCP leases normally propagate in one subnet without problems ... Thanks for the concerns but I dont want to change the network ! I want to solve the issue without pulling out the root and planting a new tree !! nop tested and checked everything 100s of times. Chatgpt ? Guys thanks anyway, but please don't consider my network as a variable but rather as a constant ... I put enough time into networking
  13. I also forgot: I successfully ran a pre clear on both disks. They didn't indicate an error.
  14. Actually it is not that simple ! There is reason for multiple subnets, because it is not possible to use a 10gbe managed switch as just an unmanaged one connected to a fritzbox. For some reason DHCP calls vanish, I wasn't able to get it to work that way. For example Truenas was able to communicate a static IP with the fritzbox over the mikrotik (only one subnet), but DHCP didn't work. Unraid wasn't even able to even communicate the self set static IP with my router so it just assigned 169.XXXs.Trust me, maybe you haven't ran into problems with one subnet but I have ! Maybe my setup is weird, but at that point I thought a 10Gbe switch is enough (which in my set up was) but I will upgrade my router in the next year to a mikrotik box too.
  15. I think I was able to get it to work. I tinkered around a little bit with this docker image and I found out that I had to create bridges over the physical networks. Also I had to use macvlan, which I dont have experience with but my guess is that ipvlans won't work, BUT again, I am not 100% sure. So I dont have the docker running on my router or switch but on my server. So I connected the server to both the subnets I wanted to bridge. So 192.168.100.0/24 (my router/wifi network - only 1 Gbit) and my switch/server/LAN subnet 192.168.0.1/24 (10 - Gbit duplex, main Unraid connection) are on two different server ports eth0 & eth3. I created, or rather I had to create 2 bridges (br0 & br3) to get it to work. But before that I also configured eth3 on Unraid as a standalone port -> bonding=off, bridging=on, static IP inside fritzbox. I the created two docker networks with the macvlan type like in the repo, but slightly changed: "docker network create --driver macvlan --subnet 192.168.0.0/24 --gateway 192.168.0.XXX --opt parent=br0 physical" and "docker network create --driver macvlan --subnet 192.168.100.0/24 --gateway 192.168.100.XXX --opt parent=br3 physical" Then I could give the docker the two macvlan networks via docker compose or in my case a portioner stack and used the avahi image from above as the image the stack has to pull. After that I was able to: - stream audio from my workstation tower (192.168.0.XXX - lan subnet) to a firetv stick (192.168.100.XXX - router/wifi subnet) - stream audio from my iPhone (wifi subnet) via airplay to workstation tower to Shairport4w (lan subnet) - start iTunes Sync/Backup of my iPhone wirelessly, which unfortunately fails ... I am currently working on this, but I was unfortunately not lucky. It transferred 10s if not 100s of GB wirelessly but always fails at the end. I used a windows10 vm with iTunes on my server, but I will try libImobiledevice inside a docker in the future. Maybe this works, I will write an update. This was also my intended use case, because I am sick of having iTunes backups scattered over multiple devices. Unfortunately I have a fritzbox as a router and a mikrotik switch. So no options there, that is why I wanted my server to do this job, which it does now. I did 0 configuration of Avahi, if you have suggestions to solve my iTunes problem I would be glad ! But for all other airplay/cast applications it just worked. Can Avahi be counted as one ? Is there an alternative ? I couldn't find much. I take that as a prerequisite for all my network device All use DHCP and critical ones get a static lease from either my mikrotik or my fritzbox. There is an apple router I didn't know that ... No only Mobile devices and Macs. And I want to backup all of the wirelessly ... ! Thanks for your answer ! Glad about any future advices
  16. For the first time I tried to create a secondary pool (not a cache) on Unraid. The process is either stuck at formatting or mounting, depending on if I format & create the filesystem via console (stuck at mounting) or inside the Unraid GUI (formatting). The attached part of the syslog shows the error "emhttpd: error: mkmbr, 2307: Is a directory (21): open: /dev/" and "kernel: emhttpd[22405]: segfault at 628" consistently when I try to format either btrfs or zfs on my 2x20TB Exos. I don't know if I am doing something wrong, but I want to use this pool as my media pool for movies and series - not as a cache. My main pool is inside a TruenasVM and my array is only 500gb on 2 ssds for system data (iso's, docker images, selected VM images). I wanted to use the btrfs (Raid1) pool for ease of use compared to my ZFS pool and because I don't want the RaidZ2 redundancy of my main pool. Any ideas what I am doing wrong or if this is a bug ? I was able to mount the formatted filesystem via console ... so my guess is this should work flawlessly inside the GUI ? Thanks for any help. log1.txt log2.txt

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.