Jump to content

sasbro97

Members
  • Posts

    100
  • Joined

  • Last visited

Posts posted by sasbro97

  1. 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?

     

  2. 43 minutes ago, Rysz said:

     

    Can you post a screenshot of the variable table (NUT Details) please, hard to tell what's wrong.

    Of course.

    image.thumb.png.5df26fe2451d6e1d3779aa9fbc7b4435.png

     

    image.thumb.png.472d166b162b4d32fb426c4350c8d8d9.png

     

    Here the ups.conf

     

    [ups]
    driver = "usbhid-ups"
    port = "auto"
    vendorid = "0463"
    productid = "FFFF"
    product = "Eaton 3S"
    serial = "Blank"
    vendor = "EATON"
    bus = "001"

     

  3. 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%.

  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.

  5. 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

     

  6. 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?

    image.thumb.png.07cfa39ce15a606bd839725a5402cf19.png

    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.

  7. 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!

    • Like 1
  8. 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

  9. 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.

  10. 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.

  11. 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?

    image.thumb.png.bca31b6b7dc43c5b95f869f70f5a359e.pngIt 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

     

  12. 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.

  13. 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 :D

     

    Ideen? Hab auch noch AdGuard Home für DNS am laufen.

×
×
  • Create New...