mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-19 12:37:30 +02:00
* #160 fix 500 TERM error * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b1228e1f9e
commit
5b8901701b
3 changed files with 6 additions and 1 deletions
|
|
@ -57,12 +57,15 @@ rm -r ./app/routers/__pycache__ 2>/dev/null
|
|||
rm -r ./app/auth/__pycache__ 2>/dev/null
|
||||
|
||||
# make sure remote repo files can be overwritten bei user admin
|
||||
echo "# sshpass Test"
|
||||
sshpass -p "$passwordA" ssh -p $sshPort admin@$localIP "sudo chown -R admin:admin ${remoteRepoPath}"
|
||||
result=$?
|
||||
echo "result(${result})"
|
||||
if [ "$result" != "0" ]; then
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
echo "FAIL: was not able to ssh in: ssh -p ${sshPort} admin@$localIP"
|
||||
echo "Is password correct? --> ${passwordA}"
|
||||
echo "Too often wrong password? Wait a bit."
|
||||
echo "SSH in once manually. Then try again."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue