(Solved) Help! Can’t no longer autostart my encrypted Array


Recommended Posts

Hello! I hope someone can help me with this. For the last year, my unraid server autostarted the encrypted array automatically by downloading the keyfile from FTP. I used the guide from @SpaceInvaderOne, and it worked well until yesterday. Yesterday the array did not start and showed up the message "wrong key" (Screenshot)

 

My go file:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

#Setup drivers for hardware transcoding in Plex
modprobe i915
sleep 4
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri

#Keyfile
wget --user=MYUSER --password='MYPASSWORD' ftp://MYFTPLINK/keyfile -O /root/keyfile

 

Unfortunately, I have no idea what went wrong since I did not change anything. I checked the keyfile: With every reboot the keyfile will be correctly downloaded to /root/keyfile as in the guide. I also did not change the password. The password has 11 Characters and only letters and numbers. No special characters. It is very strange because I didn't change anything and the file is in /root.

 

Any ideas on this? Help would be very nice! 🙂

 

Screenshot Capture - 2021-06-19 - 18-24-50.png

Edited by Mor9oth
solved
Link to comment
16 hours ago, Squid said:

Put the wget and sleep in before the emhttp line?

OMG! That was it! Thank you @Squid😀

I placed the:

# Start the Management Utility
/usr/local/sbin/emhttp &

 

At the end of the go file and removed the iGPU part because I use the Intel GPU TOP Plugin anyway.

Still no idea why it worked so long in the original sequence, but its solved! 

Link to comment
  • Mor9oth changed the title to (Solved) Help! Can’t no longer autostart my encrypted Array

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.