big-notebook-65054
07/28/2022, 5:26 PMcommand.remote.Command
issues/questions that I would love some insight on if possible:
1. The first command I try to run on the server is a combination sudo apt-get update && sudo apt-get install redis-server -y
. The weird part is that it works maybe 50-60% of the time but when it fails it gives me an error message which indicates that apt-get update
didnt run: E: Unable to locate package redis-server error: Process exited with status 100
2. Later on in the list of commands I try to set the redis password via the redis-cli interactive shell with this command: sudo redis-cli <<<"CONFIG SET requirepass ${result.secretString}"
. stdout returns and OK
which typically indicates success when done manually, however when I try to log into the server remotely there is no password set. Very strange behavior.dependsOn
but the same issue kept occurring.ancient-car-89914
07/28/2022, 6:38 PMbig-notebook-65054
07/28/2022, 6:49 PM