Closed nicofrand closed 4 years ago
Hi!
I get this in a loop when upgrading/installing the app:
368350 DEBUG + for i in $(seq 1 $timeout) 368351 DEBUG + grep --extended-regexp --quiet 'WSGI app 0 (mountpoint='\''/pgadmin'\'') ready in [[:digit:]]* seconds on interpreter' /tmp/tmp.xuGvi24Pev 368353 DEBUG + '[' 5 -eq 3 ']' 368354 DEBUG + '[' 5 -ge 3 ']' 368356 DEBUG + echo -n . 368357 DEBUG + sleep 1 369361 DEBUG + for i in $(seq 1 $timeout) 369364 DEBUG + grep --extended-regexp --quiet 'WSGI app 0 (mountpoint='\''/pgadmin'\'') ready in [[:digit:]]* seconds on interpreter' /tmp/tmp.xuGvi24Pev 369366 DEBUG + '[' 6 -eq 3 ']' 369369 DEBUG + '[' 6 -ge 3 ']' 369371 DEBUG + echo -n . 369373 DEBUG + sleep 1
When checking the actual file I see:
│WSGI app 0 (mountpoint='/pgadmin') ready in 38 seconds on interpreter 0x559347bddd90 pid: 7298 (default app)
So my guess is that the grep fails, resulting in an infinite loop.
grep
Works without --extended-regexp.
--extended-regexp
( and ) need to be escaped.
(
)
Hi!
I get this in a loop when upgrading/installing the app:
When checking the actual file I see:
So my guess is that the
grep
fails, resulting in an infinite loop.