September 9, 20196 yr Hello, i want to unzip my keyfile which i downloaded from a remote ftp server. But unfortunately i got an error: root@nas:~# unzip keyfile.zip Archive: keyfile.zip skipping: keyfile need PK compat. v5.1 (can do v4.6) I assume that i need to upgrade the program unzip to version 5.1? But i do not know how to upgrade or install a new program inside my unraid container. (i also wanted to use p7zip but failed) Acces is gained via Putty / Bash. Thanks for your answers and help. Kind regards Raptor2k
September 15, 20196 yr Author On 9/10/2019 at 4:50 PM, Squid said: NerdPack plugin Ah great this works. so i have added a new line in my "go" config. But can you or somebody help me why the server only downloads the 7z file and do not extract it at startup? Go file with my censored logins / passwords (censored "xxx"): Quote #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & ethtool -s eth0 wol g wget --user=xxxx --password='xxx' ftp://xxx/keyfile.7z -O /root/keyfile.7z sleep 10 7z e keyfile.7z -pxxx By the way inside the unraid terminal or with putty the line to extract the 7z works flawlessly. Thx for your answers. Kind regards Raptor2k
September 15, 20196 yr Author omg i achieved it: I have to give the 7z script the exact path for extracting: Here for the community my solution: Script for go File "Download encrypted keyfile, extract it on unraid server" Quote wget --user=xxx --password='xxx' ftp://xxx/keyfile.7z -O /root/keyfile.7z sleep 1 7z e /root/keyfile.7z -xxx -O/root/ Edited September 15, 20196 yr by Raptor2k
Archived
This topic is now archived and is closed to further replies.