Raptor2k Posted September 9, 2019 Share Posted September 9, 2019 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 Quote Link to comment
Squid Posted September 10, 2019 Share Posted September 10, 2019 NerdPack plugin 1 Quote Link to comment
Raptor2k Posted September 15, 2019 Author Share Posted September 15, 2019 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 Quote Link to comment
Raptor2k Posted September 15, 2019 Author Share Posted September 15, 2019 (edited) 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, 2019 by Raptor2k Quote Link to comment
Recommended Posts
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.