sasbro97
-
Posts
100 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by sasbro97
-
-
-
Is something wrong in my configuration or why is the load of my Eaton 3S 850 DIN UPS always 4%? No matter if something load intensive is running on my Unraid server or not. Unfortunately, the UPS is not really smart and I have to manually specify VA with 850 and W with 510, but he would calculate everything so.
At least that was the thought. But brings nothing, as long as the load is always at 4%.
-
How can I add the logs of the script in the notification of Unraid. Currently I'm just sending a notification if something has failed like this:
if [ $? -eq 0 ]; then echo "Script succeeded" else echo "Script failed" /usr/local/emhttp/webGui/scripts/notify -i "alert" -s "Auto-Archiving" -d "Something went wrong" -l "http://192.168.178.39:86/Main/Userscripts" fi
It would be awesome if I could send the logs directly in the notification because I get a mail for that. I always have to log in and download the ZIP because the show logs window does never work.
-
Thank you for your help @dlandon!
Und natürlich vielen Dank @hawihoney. Dachte das muss per Device Script sein. So per User Script ist mir das auch lieber
-
35 minutes ago, dlandon said:
You need to use the complete 'Default' script and change the 'REMOVE' section. The script you have is not complete.
You asked for the device to be detached. Click on the three gears on the Historical device and click the "Attach" button and the device will then show up in UD.
Can I attach it via a script again then?
My script looks like this:
#!/bin/bash PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin ## Available variables: # ACTION - if mounting, ADD; if unmounting, UNMOUNT; if unmounted, REMOVE; if error, ERROR_MOUNT, ERROR_UNMOUNT # DEVICE - partition device, e.g. /dev/sda1 # UD_DEVICE - unassigned devX designation # SERIAL - disk serial number # LABEL - partition label # LUKS - if the device is encrypted, this is the partition device, e.g. /dev/sda1 # FSTYPE - partition filesystem # MOUNTPOINT - where the partition is mounted # OWNER - "udev" if executed by UDEV, otherwise "user" # PROG_NAME - program name of this script # LOGFILE - log file for this script case $ACTION in 'REMOVE' ) # do your stuff here # Spin down disk - uncomment this if you want the disk to be spun down after the disk is unmounted /usr/local/sbin/rc.unassigned spindown $DEVICE # Detach the disk - uncomment this if you want the USB disk to be detached after it is unmounted /usr/local/sbin/rc.unassigned detach $DEVICE /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Device unmounted" -i "normal" ;; esac
-
14 hours ago, dlandon said:
'REMOVE' ) # do your stuff here # Spin down disk - uncomment this if you want the disk to be spun down after the disk is unmounted /usr/local/sbin/rc.unassigned spindown $DEVICE # Detach the disk - uncomment this if you want the USB disk to be detached after it is unmounted /usr/local/sbin/rc.unassigned detach $DEVICE /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Unassigned Devices" -d "Device unmounted" -i "normal" ;;
This doesn't work for me. Am I doing it right?
It shows the following error logs:
/tmp/unassigned.devices/scripts/SanDisk_Ultra.sh: line 1: syntax error near unexpected token `)' /tmp/unassigned.devices/scripts/SanDisk_Ultra.sh: line 1: ` 'REMOVE' )'
Okay got it working with the template now. The device completely disappeared from Unassigened Devices. Should this happen? It's now a historial device. I cannot mount it anymore. Command show true but nothing is mounted.
-
20 hours ago, DataCollector said:
He wants to keep the Stick in the pc permanently.
Yes.
19 hours ago, alturismo said:dann teste mal im Unraid Terminal wie folgt und beobachte ob die disk unmounted, mounted wird
Klappt. Command ist nur wie in Linux umount und nicht unmount.
13 hours ago, dlandon said:I use this script to mount a disk, do a backup, and unmount the disk when it's done.
This is perfect!
- 1
-
In Anlehnung an mein Thema
frage ich mich, ob und wenn ja, wie es geht, dass ich einen angeschlossenen USB-Stick automatisch bspw. jeden 01. des Monats um 02:00 mounten lasse und dann eben ein Backup Skript laufen lasse und wieder unmounte. Wäre das dann ein Device Script und wie würde es aussehen? Hab noch keinen Beitrag mit diesen Anforderungen gesehen.
-
I had these problems in 6.11.x as well. Chrome and Unraid GUI just don't seem to go well together. But I can say when NGINX is crashed for me it is everywhere. The whole GUI is broken then. Every websocket fetch fails. I can see the GUI and get into settings and stuff but don't see the main page or the Docker page.
-
Ok it didnt helped. 2 days and logs are shown as 100%. I try to pull out the bluetooth adapter but I don't think it is the only reason.
-
I have activated it. I'm using Chrome. Is there an option to exclude some URLs? I guess this should help then. I will google it.
-
@JorgeBI will try. So nothing obvious in the logs? Does the logs get filled just because the tab is somewhere opened in my browser?
-
Anybody with an idea?
-
I have the same problem as many here before. I don't see anything suspicious in the logs. What is the maximal size of the log? I guess the syslog was getting filled too much but I don't understand why syslog has 0 kb but there are syslog.1 and syslog.2.
But it makes sense that the logs stopped 5 or 6 days ago because I guess since then I got the problem again that I cannot see anything in the Unraid frontend. The main page won't load. Also not the Docker page. Everything that needs to be fetched is broken then. Had this so many times now already and it happens after a while of uptime but did not always really appear. I was also running with an uptime of 15 days or more without any problem one time. But I guess it has something to do with the log I see in the syslog:
Aug 7 01:07:24 UNRAID-Server nginx: 2023/08/07 01:07:24 [alert] 12552#12552: worker process 4095 exited on signal 6
It won't get fixed until I restart the server then. And today I got the warning from my server
**/var/log is getting full (currently 100 % used)**
Can somebody tell me what the reason is and how I can fix it? It's not nice to run into this every week. The logs seem to crash the frontend.
-
Like very many others, I too ask myself the question of how best to make additional backups. Additional means besides RAID1 pool or just parity.
Of course, the best would be a location-independent backup, but unfortunately I only have the location where the server is. Thus, I thought of an external HDD, which is connected via USB. Is there a way to keep it connected but disable the USB port except when the backup is to take place? This way the HDD would not get unnecessary runtime and would not consume power.
Now maybe if I could eventually do backups to another location, what would you guys recommend? I have UrBackup running to backup my PC to Unraid. I could of course backup Unraid files to my PC, but I wonder how useful that is, since the PC isn't always and regularly running.
In general, also the question of how I best save a backup. I mainly want to backup the appdata folder for my Docker infrastructure. But it is big. Therefore compression makes sense. Which tool do you recommend? Or the old-fashioned way via Linux tools?
Thank you.
-
I would need an custom entrypoint. I tried to just add an entrypoint in the extra_parameter like
--entrypoint="/bin/entrypoint.sh /bin/strelaysrv -listen=0.0.0.0:22067 -status-srv=0.0.0.0:22070"
but it does not work. How can I manage it? I am referring to this: https://github.com/benphelps/homepage/pull/230#issuecomment-1253053472
-
Hey there guys.
How do you back up your data? My data is on a RAID1 ZFS pool anyway. But probably a backup on an external medium still makes sense. Unfortunately I have no way to store the data outside my home. My idea now is to permanently connect an external USB hard drive. But this should now consume power or turn on when I perform a backup.
I thought of something like Syncthing, which I have in use anyway. But that should only trigger when I have set it to backup quasi like a cronjob.
-
And even after 3 years buggy.
- 1
-
I also cannot believe this value to be honest. I'm thinking about putting a Zigbee socket with energy meter before the USV. You think its okay?
Okay I added a userscript at array start for powertop thank you. I don't need to worry about the warnings, right?
-
Hey guys. I used
powertop --quiet --auto-tune
when I started to setup my server on I guess 6.12 rc. Now if I have a look at powertop all tunables are bad. Sometimes they also show as good (I guess when I use the powertop auto-tune command even though I get this "error"). If I try to execute powertop --quiet --auto-tune again I always get the following response:
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery onlyHow can I fix this?
It does not look good anyway. But I seem to have a good power consuption with 52 Docker containers running all the time. My Eaton USV says 20W and that with my router attached additionally to the server.
The setup:
Intel Core i5 13500
be quiet! PURE POWER 12 M 550W
ASUS Prime Z790M-PLUS D4 LGA1700
Kingston FURY Beast 64GB (2x32GB) 3200MHz DDR4
2x 1TB Samsung SSD 980 M.2 that are always running as cache
2x 4TB Western Digital Red that are always running as zfs pool
2x Toshiba MG09 Series MG09ACA18TA with shutdown
1x 6TB Toshiba X300 HDD with shutdown
LSI 9207-8i (IBM M5110) FLASHED TO IT MODE PCI-E 3.0 SAS2308 (probably the problem)
4x Tower-Fan Fractal Design Silent R2 120mm
-
@Howboysnot true because look at the main repo releases: https://github.com/jimsalterjrs/sanoid/releases
We are still at Sanoid 2.1.0.
-
Dann glaub es nicht, aber es ist so. Bin ja auch nicht der erste Nutzer der damit Probleme hat, wenn man mal googlet.
Ich sag ja Upload passt ja von mir aus. Aber Download bleibt auch immer zwischen 3 MB und 5 MB / Sekunde. Das ist einfach unterirdisch.
-
@alturismo kein Problem. Ich sag mal 5MB im Upload sind vollkommen in Ordnung. Im Download aber nicht. Wird da auch so kastriert?
Edit: Hab gerade mal Proxy ausgeschaltet. Dasselbe in grün.
-
On 1/16/2023 at 9:25 PM, Kilrah said:
Wie wird Nexctloud zugegriffen? Domain/IP? Ist Cloudflare mit Proxy im Einsatz?
Bei mir ist Cloudflare mit Proxy dahinter und ich erreiche ganze 5MB/s mit i5-13500 64GB RAM und 1 Million Leitung von Vodafone... joaaaa Leben ist scheiße
Ideen? Hab auch noch AdGuard Home für DNS am laufen.
[Plugin] Mover Tuning
in Plugin Support
Posted
Hey guys. I guess somebody has probably answered already but the search function does not show me anything useful. I have the same error as this user:
mv: cannot stat '/usr/local/bin/mover': No such file or directory
I see it in the boot logs. It still boots but why is this error appearing? How to fix it?