Jump to content

sasbro97

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by sasbro97

  1. 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
  2. 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.
  3. Yes. Klappt. Command ist nur wie in Linux umount und nicht unmount. This is perfect!
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. @JorgeBI will try. So nothing obvious in the logs? Does the logs get filled just because the tab is somewhere opened in my browser?
  9. 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. unraid-server-diagnostics-20230813-0451.zip
  10. 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.
  11. 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
  12. 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.
  13. @mgutt 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?
  14. 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 only How 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
  15. @Howboysnot true because look at the main repo releases: https://github.com/jimsalterjrs/sanoid/releases We are still at Sanoid 2.1.0.
  16. 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.
  17. @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.
  18. 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.
  19. I had the same problem after resetting my Docker Engine. Had to delete the docker directory or maybe for others the docker.img vdisk. After that every container with an WebUI link was broken and only opened about:blank#blocked. I have used a custom docker network and that was the problem. It could not be restored even though it was selected in the Docker Template for each application. I had to run all of my 50 containers manually one time with the bridge network and back again to my custom network. Everything works again. I figured out by seeing that the container do not have an IP address:
  20. Hey there. I cannot rearrange any folder. Not sure what the reason is but I see an error in the console logs. If I call the Docker tab in UNRAID I always see in the console the following: Uncaught (in promise) TypeError: callback is not a function apply_folder http://192.168.178.29:85/Docker:4290 waitForGlobal http://192.168.178.29:85/Docker:3176 apply_folder http://192.168.178.29:85/Docker:4243 anonymous http://192.168.178.29:85/Docker line 3924 > Function:36 c http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 fireWith http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 l http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 o http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 send http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 ajax http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 i http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 anonymous http://192.168.178.29:85/Docker line 3924 > Function:5 <anonymous> http://192.168.178.29:85/Docker:2020 e http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 t http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 setTimeout handler*Deferred/then/l/< http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 c http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 fireWith http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 fire http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 c http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 fireWith http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 ready http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 $ http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 EventListener.handleEvent* http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 <anonymous> http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 <anonymous> http://192.168.178.29:85/webGui/javascript/dynamix.js?v=1680052794:5 I guess this error is the reason why I can rearrange it like I want but I will never be saved. Any idea what is causing it? Using Unraid 6.12.0 and tried Chrome and Firefox.
  21. @Kilrahany idea why it is not saving? Am I forgetting anything else?
×
×
  • Create New...