Everything posted by moses19850
-
[Plugin] LXC Plugin
Hi, during holiday season I was able to continue the story for static ip and went with a different solution: In the config file of the LXC I add the line: lxc.net.0.hwaddr = xx:xx:xx:xx:xx:xx You can get there, when you stop the container and click again on the icon and select show/edit config. And then based on the static mac, I set up static IP in my router. Maybe somebody is looking for this information.
-
Windows fehlermeldung 0x80070299
Hi @cz13 , danke für Deine Rückmeldung. Zu Deinen Fragen: Verbindung war zu dem Zeitpunkt über LAN-Kabel Ich verwende Windows Explorer Die Dateien liegen direkt auf meinem Laptop Ich muss gestehen ich hab mir das Log nicht angesehen. ABER: Ich habe in der Zwischenzeit eine Umgehungslösung gefunden: Ich habe eine unbenutzte 2,5 Platte mit exFAT formatiert, die Musiksammlung hinkopiert. Windows hat mich während des Kopiervorgangs gefragt, ob ich die Dateien ohne zusätzliche Attbiute kopieren möchte, und ich hab dies Bestätigt. Festplatte an UNRAID angestöpselt und ohne Fehlermeldung kopiert. Heißt jetzt für mich, dass ich immer den Umweg über eine exFAT Platte gehen werde
-
Windows fehlermeldung 0x80070299
Hallo, ich habe heute mal versucht meine komplette mp3 Sammlung von meinen Laptop auf unraid zu kopieren, leider bekomme ich folgende Fehlermeldung: Das Problem tritt aber nicht bei allen mp3-Dateien auf, hab danach mit Powershell zwei Dateien verglichen, wo es einmal funktioniert hat und einmal nicht. Leider konnte ich hier keinen Unterschied feststellen. Wisst Ihr vielleicht Rat oder könnt mich in die richtige schubsen? Danke
-
[Plugin] LXC Plugin
@ich777 Thank you. Will try it. To this I have not been guided, it always somehting like networks in var lib
-
[Plugin] LXC Plugin
sorry, but how do I change the ip? I did some research but nothing helped me to get a proper result. I also was not able to find the file where the ip address is stored
-
[Plugin] LXC Plugin
No the containers don't share the same IP, so you are right, it's on the whole network. And yes I'm sure, I did not assign any ip in the script. Would it be possibe to do it within the script as well? Or can I change it afterwards?
-
[Plugin] LXC Plugin
Again me, first with scripts this makes my life so much easier. And as I have now more containers running, I came across the issue, that ip addresses are given twice on my whole network, can I change the ip address of a container? In the config I did not see anyhting. thanks
-
[Plugin] LXC Plugin
After some research I stick to cat and it works so far. Important to know, and this I got from this link: https://stackoverflow.com/questions/2500436/how-does-cat-eof-work-in-bash \ must be used to quote the characters \, $, and `. With this in mind, also a line like this: sed -i "s/\$cfg\['Servers'\]\[\$i\]\['auth_type'\] = 'cookie';/\$cfg\['Servers'\]\[\$i\]\['auth_type'\] = 'config';/" $CONFIG_FILE is no problem anymore Maybe this helps others
-
[Plugin] LXC Plugin
I fully understand this approach. I will investigate a little more, and if I'm not able to manage, for sure I need to use multiple files and in that case, your github is a good source to continue my journey
-
[Plugin] LXC Plugin
Hi, thanks for your fast answer, as always. Yes, I took one of yours. Why I don't want to do it like in your repository, I don't want to have to many files. I want to have as less as possible files to deal with in case, I need to move. Therefore I had the idea, to let the script create the other scripts. Thanks for the hint with the bash, but as the script was not working with the full content, I took one line to see what causes the error. Will do it with echo as you suggested.
-
[Plugin] LXC Plugin
Again me, based on the availble scripts created by @ich777 , I wanted to create my own script to automatically set up a container. Everything is fine until I start the container. Script: #!/bin/bash if [ ! -f /boot/config/plugins/lxc.plg ]; then echo "ERROR: LXC plugin not found!" exit 1 fi LXC_PATH=$(cat /boot/config/plugins/lxc/lxc.conf | grep "lxc.lxcpath" | cut -d '=' -f2) LXC_PACKAGE_NAME=testlxc LXC_PACKAGE_DIR=${LXC_PATH}/cache/build_cache LXC_DISTRIBUTION=debian LXC_RELEASE=bookworm LXC_ARCH=amd64 LXC_BUILD_ROOT=$(cd "$(dirname "$0")" && pwd) LXC_CONT_NAME=testlxc if echo ${LXC_PATH} | grep -q "/mnt/user" ; then echo "ERROR: LXC path /mnt/user is not allowed!" exit 1 fi echo "Creating ${LXC_CONT_NAME}" lxc-create --name ${LXC_CONT_NAME} \ --template download -- \ --dist ${LXC_DISTRIBUTION} \ --release ${LXC_RELEASE} \ --arch ${LXC_ARCH} echo "Starting ${LXC_CONT_NAME}" lxc-start -n ${LXC_CONT_NAME} echo "Waiting 10 seconds for ${LXC_CONT_NAME} to become online" sleep 10 cat >> "EOF" >/mnt/vecna/lxc/${LXC_CONT_NAME}/rootfs/tmp/"${LXC_CONT_NAME}_installer.sh" hello world EOF echo "installer file created" This is what I get as response from the terminal: Creating testlxc Using image from local cache Unpacking the rootfs --- You just created a Debian bookworm amd64 (20250918_05:24) container. To enable SSH, run: apt install openssh-server No default root or user password are set by LXC. Starting testlxc Waiting 10 seconds for testlxc to become online After starting the container and the stated echo, the terminal stays black "forever". I killed it after couple of minutes. Can somebody please help me? thanks
-
[Plugin] LXC Plugin
Perfect, will check it out. Again anothe question: How can I change the icon for an lxc? I have many of them and it would be nice to distingish not only on the name, but as well on the icon?
-
[Plugin] LXC Plugin
Good evening, is there a way to use a backup and restore it on another unraid machine? I want to move to a newer machine. Thanks.
-
[Plugin] LXC Plugin
-
[Plugin] LXC Plugin
question again: Maybe I did not see it, but is it possible to change the size of the LXC? 30GB is a little bit of an overkill for my puporse.
-
[Plugin] LXC Plugin
@Mainfrezzer Thanks a lot. Did not think about that.
-
[Plugin] LXC Plugin
Again me, since hours I struggle with connect a network share from the host and mount it within the LXC? Can sombody please help me? I don't what's the problem: Within the container I do ping and enter the IP-address from the host and get response. When I use the same IP-address in this command: mount -t cifs -o username=user,password=password //192.xxx.xxx.xx/mnt/disk1/data/backup /mnt/data/backupI get the error: special device xxxxxx does not exist. Google does also not give me an answer. Thanks upfront
-
Asustor Lockstorer 4 Gen 3
@Alisia Can you please tell me in detail how you did it? Becuase I'm planning to get same device. And can you tell me your experience so far? Can it fully used with unraid or do you run into other issues, beside the NIC driver? Thanks
-
Die Suche nach einer neuen Unraid Hardware (zum mitdiskutieren)
Danke für Eure Rückmeldungen, hilft mir schon mal. Dann wirds doch ein zusätzliches Gerät werden. Ist zum Glück kein Problem, wenn wenn man das vorhandene Gerät ersetzen möchte.
-
Die Suche nach einer neuen Unraid Hardware (zum mitdiskutieren)
Guten Abend, ich bin ebenfalls dran meine derzeitige Hardware-Situation zu überdenken, nur brauche ich kein Hardwareempfehlung im eigentlichen Sinne, sondern eher einen Ratschlag ob meine Idee grundsätzlich dumm ist: Mein Wunsch: .) 8-Bay Gehäuse, gibts genug, da find ich schon was .) etwas stärkere Hardware => fix wird darauf ein Loxberry laufen als VM, eventuell noch HomeAssistant, hängt aber davon ab was der Loxberry so kann => Lyrion Music Server => Photo Server => Backup => Filme / Serien mittels Emby => es werden wahrscheinlich noch ein paar LXC's bzw Container dazukommen Wie gesagt, es geht weniger um die Hardware als um folgendes: Bei einem 8-Bay Gehäuse hätte ich 4 verwendet für die oben genannten Dinge, 2x Parity Platten und 2x Daten-Platten und gleichzeitig wüde ich die gleiche Kiste auch für wöchentliche Backups missbrauchen, ebenfalls 2x Parity und 2x Daten-Backup. Spricht etwas dagegen? Hat das jemand so laufen, oder wäre die Empfehlung immer auf ein separates Gerät für Sicherungen zu setzen? Danke Euch. moses
-
[Plugin] LXC Plugin
Ok, my goal is same as yours, run a script, which 1.) creates a container 2.) install all dependencies 3.) configure the system for proper usage My first container shall run https://hacksore.github.io/bluelinky-docs/ What works so far, after I create the container by hand: .) install mariadb, needed to keep the data structured .) install node.js and needed projcets (bluelinky, mariadb, nodejs-geolocation) .) install grafana for having a vusialisation of the data .) and some smaller staff
-
[Plugin] LXC Plugin
This one for example: https://github.com/ich777/unraid_lxc_amp
-
[Plugin] LXC Plugin
Hi, another question: for your the create scripts created by @ich777 : Can you please explain, why a termporary container is needed? Would it work without it? And if yes, which part need to be skipped?
-
[Plugin] LXC Plugin
Thanks for the fast response. Understood.
-
[Plugin] LXC Plugin
Hi, thanks @ich777 for creating this plugin. I started to use this week and I'm impressed. But I do have one question: I always connect to the terminal via the built in function and not via SSH, but I never need to enter the root password, even it's set. Is this standard or not? Thanks and keep on rocking.