Skylinar

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by Skylinar

  1. On 2/27/2024 at 9:55 AM, oekomat said:

    Ja, ich weiß ;-) 

    Dann sollte doch aber diese Einstellung passen:
    image.png.0cae1d0e41c8da2b9b0a8c8e4efab7a3.png

    Ich glaube du hast immer noch nicht verstanden. Erklärung weiter unten.

     

    On 2/24/2024 at 3:16 PM, oekomat said:

     

    Hey @MuQ ich hab das gleich Problem, komme aber nicht weiter.
    Ich habe den Container mit allen Vorlagen aus gerollt.

    a) muss ich eine zusätzliche Variable EXTERNAL_PATH anlegen?

    b) ich bekomme einen valid path Fehler, wenn ich meinen Pfad unter Admin und UserSettings hinterlegen will
    image.png.f036f557cf6a7d303cd58c0dacf50700.png

     

    Vielleicht kannst du mir einen Tipp geben?!

     

    Grüße

     

    Du musst im container den "container path" für den import angeben und nicht den path vom host system. Innerhalb Immich ist der path demnach nur /import. Immich sucht sich den import nicht selber.

  2. On 12/24/2022 at 6:07 PM, lightshark85 said:

    Is there a way to call for the sleep function not via the gui, but with the command line?

     

    I was searching for this as well. I checked the source code a little bit on my own and it seems like you can use it via bash manually like this..

     

    /usr/local/emhttp/plugins/dynamix.s3.sleep/scripts/s3_sleep -h

     

    But still not tested, only figured out a minute ago.. Let us know how you use it and if it has worked out, please ;)

  3. UPDATE:

    I restored my USB flash drive and it seems like the data on it was corrupted. As mentioned I had running scripts on daily schedule (4:40am) and one of them was a flash backup script. In fact none of the scripts was causing this issues but the corrupted data on the flash drive. After the complete data restore on the usb stick the server is stable again and the running scripts are not causing any freezes anymore. (did not changed anything on the scripts)

    • Like 1
  4. UPDATE:

    My system crashed again this night at 4:40 AM. Same error - USB Stick got reset and is not available after that. As mentioned I switched USB Stick to USB 2.0 header, but this does not seem to work out.

     

    14 hours ago, Kilrah said:

    Out of chance I just noticed that this is the default time at which Unraid runs its daily tasks, as well as user scripts set to daily...

     

    That is a great hint. I have two user scripts that run on the "daily" dropdown... Those scripts are backing up the USB drive like mentioned here: 

     

    I have those scripts active at least one year but I've deactivated them on the schedule to test if the scripts are responsible for the freezes.

     

    I'm attaching the custom script, maybe someone has an idea what could cause the USB reset when running it? I'm confused about it because it ran all time without any issues, so maybe this is an issue that came up with the new unraid version?

     

    #!/bin/bash
    
    #### SECTION 1 ####------------------------------------------------------------------------------------------------------
    #dir = WHATEVER FOLDER PATH YOU WANT TO SAVE TO
    dir="/mnt/user/Backup/Unraid/flash_backup"
    
    echo 'Executing native unraid backup script'
    /usr/local/emhttp/webGui/scripts/flash_backup
    
    #### SECTION 2 ####------------------------------------------------------------------------------------------------------
    echo ' Remove symlink from emhttp'
    find /usr/local/emhttp/ -maxdepth 1 -name '*flash-backup-*.zip' -delete
    
    sleep 5
    
    #### SECTION 3 ####------------------------------------------------------------------------------------------------------
    if [ ! -d "$dir" ] ; then
     
    			echo "making directory as it does not yet exist"
    
    			# make the directory as it doesnt exist
    			mkdir -vp "$dir"
    		else
    			echo "As $dir exists continuing."
    			fi
    
    
    #### SECTION 4 ####------------------------------------------------------------------------------------------------------
    echo 'Move Flash Zip Backup from Root to Backup Destination'
    mv /*-flash-backup-*.zip "$dir"
    
    sleep 5
    
    #### SECTION 5 ####------------------------------------------------------------------------------------------------------
    echo 'Deleting Old Backups'
    
    #ENTER NUMERIC VALUE OF DAYS AFTER "-MTIME +"
    find "$dir"* -mtime +30 -exec rm -rfv {} \;
    
    echo 'All Done'
    
    #### SECTION 6 ####------------------------------------------------------------------------------------------------------
    
    #UNCOMMENT THE NEXT LINE TO ENABLE GUI NOTIFICATION UPON COMPLETION 
    /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Flash Zip Backup" -d "A copy of the Unraid flash disk has been backed up" -i "normal"
    
    exit

     

  5. 4 hours ago, Kilrah said:

    Do you have anything scheduled at that time?

     

    Might want to try installing the "flash remount" plugin too. 

     

    that was also the same thing I thought of first because it always happens at 4:40 AM. I've already searched quite a bit, but haven't found a specific job that does anything at 4:40 AM for me.

     

    3 hours ago, Frank1940 said:

     

    I would be very surprised if it does not have a UBS header on the MB which would allow you to attach a USB port to it.  Here is a link to one:

     

    https://www.amazon.com/Duttek-2-Pack-Female-Dupont-Motherboard/dp/B06Y5C7DKH/ref=sr_1_4?crid=17CEBL462XND4&keywords=USB+A+header&qid=1670848029&sprefix=usb+a+header%2Caps%2C77&sr=8-4

     

    EDIT:  Some folks like having the boot drive inside the case for security and protection from damage.

     

    Agreed @Frank1940. I was only talking about the USB Type A headers... But your idea is not a bad one. I have indeed such adapters here and will install it immediately and report back in a couple of days whether this was a solution. 

  6. Hi folks,

     

    I'm facing, out of nowhere, Server crashes at the same time on random days.
    I have been watching the problem since 01.12.22 and could not find the problem until now. It seems that the issue occurs always at 4:40 AM - the Unraid USB stick gets reset and is after that no longer accessible. The log then fills up and Unraid crashes. Attached are the last three crashes over the last 2 weeks. After the last crash (tonight) the syslog was unfortunately empty.


    Can anyone help me with this problem? Can it have something to do with the latest Unraid version or is my USB stick broken?

     

    Thanks!


     

    unraid-diagnostics-20221201-1840.zip unraid-diagnostics-20221208-1532.zip unraid-diagnostics-20221212-1149.zip

  7. I faced the same error yesterday when rebooting after only 1 month's up-time. I backed up the config folder as mentioned and created a new Unraid installation with the USB Creation Tool, copied back the config folder and the error was gone. Does somebody know why this "LZMA CORRUPT" error occurs?

     

    First time I saw that error I was shocked and scared if my USB drive was killed, but turns out everything is fine with the USB drive.

  8. Hi,

     

    I downgraded my main Unraid server due to power consumption to a lower tdp AMD Ryzen CPU. I switched from Ryzen 9 3950X to a Ryzen Pro 5650GE and suddenly got no temp readings out of it. With the 3950X I got plenty temps including CPU, Mainboard etc.

     

    I'm using the "Dynamix System Temperature" Plugin from CA and after the switch it only detects my two NVME drive temps.

     

    Mainboard is a Asus Pro WS X570-ACE with BIOS Version 3904.

     

    Any suggestions or experience what is the reason for this?

     

    Thanks

  9. Seems to me, that there is something wrong or mismatches with values from Eaton USV's calculated in the backend but nonetheless we don't need it to be calculated because the right value is already in place with ups.realpower.

     

    Is there a way to force the footer to use the value of ups.realpower? If yes that would be a great workaround atm.

  10. 11 minutes ago, SimonF said:

    What value shows on the status in the nut settings.

     

    If you change the power load value to Auto does it show 95?

     

    image.thumb.png.37a986158b63ef4ecce8054d4fbd83fd.png

    As said with Auto it is even worse:

    Power consumption is at 69W and it shows 216W within the footer.

     

    622189796_Bildschirmfoto2022-02-15um20_07_01.thumb.png.bc808d380076e7cc6bc7809bac6f7a63.png

     

    Here with mentioned manual settings:

     

    1964344039_Bildschirmfoto2022-02-15um20_06_40.thumb.png.0b4599684c4f5fb3a6713c43effd725b.png

    1638348613_Bildschirmfoto2022-02-15um20_06_45.png.3ffa77c728384d6670943e0d826f8349.png

  11. Hi!

     

    I'am using Eaton Ellipse PRO 1200 DIN along with NUT but for me it seems like the readed consume Watt is not calculated in the right way for the page footer.

     

    I've set it to Manual (because Auto were more terrible values) with this settings:
     

    UPS Output Volt Amp Capacity (VA): 1200

    UPS Output Watt Capacity (Watts): 750

    Showing at the bottom a consumption of: 135W

     

    This value is not the value what the UPS is showing on Screen (95W) and double checked with power plug confirms the assumption.

     

    I can see the ups.realpower = 95 which seems to me the right value but why is this value not displayed in the footer?

     

    driver.version.dataMGE = HID 1.43

    driver.version.internal = 0.55

    driver.version.usb = libusb-1.0.23 (API: 0x1000107)

     

    Have I set up something wrong or is that a bug within NUT?

     

    Thanks

  12. @Ford Prefect thanks for the info and sorry for grabbing that old thread.

     

    I'am using Eaton Ellipse PRO 1200 DIN along with NUT but for me it seems like the readed consume Watt is not calculated in the right way for the Display Page Footer.

     

    I've set it to Manual (because Auto were more terrible values) with this settings:
     

    UPS Output Volt Amp Capacity (VA): 1200

    UPS Output Watt Capacity (Watts): 750

    Showing at the bottom a consumption of: 135W

     

    This value is not the value what the UPS is showing on Screen (95W) and double checked with power plug confirms the assumption.

     

    Have I set up something wrong or is that a bug within NUT?

     

  13. confirming that the hints from @Iker & @arifer working as a charm. 

     

    Made minor adjustments to swag homeassistant.subdomain.conf:

     

    server {
        listen 443 ssl;
        listen [::]:443 ssl;
    
        server_name homeassistant.*;
    
        include /config/nginx/ssl.conf;
    
        client_max_body_size 0;
    
        location / {
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_app YOUR_HOMEASSISTANT_IP;
            set $upstream_port 8123;
            set $upstream_proto http;
            proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    		proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
    
        }
        
        location ~ ^/(api|local|media)/ {
            include /config/nginx/proxy.conf;
            resolver 127.0.0.11 valid=30s;
            set $upstream_app YOUR_HOMEASSISTANT_IP;
            set $upstream_port 8123;
            set $upstream_proto http;
            proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    		proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }
    }

     

    additional to that (as mentioned) added those lines to configuration.yaml as well as the ban functionality from home assistant if there are too much login attempts.

     

    http:
      use_x_forwarded_for: true
      trusted_proxies:
        - 127.0.0.1
        - 192.168.0.2 # IP address of your unRAID box
      ip_ban_enabled: true
      login_attempts_threshold: 5

     

    I am using Home Assistant on a separate machine than Swag Docker Container - it works without any problems.

     

    Thanks!

    • Like 1
    • Thanks 1