comparison scripts/Docker/roundup_start @ 6581:b5fb268b7f04

Docker installation doc improved and switchable debugging Using a Docker container, login was failing with no error or ok message. After a lengthy debugging session on irc with alxjsn assisted by taggnostr realised it was the web setting in config.ini. Install doc for docker now mentions that the web setting must end in /issues/. SHELL_DEBUG environment variable enabled set -xv in startp script.a
author John Rouillard <rouilj@ieee.org>
date Tue, 04 Jan 2022 16:31:04 -0500
parents 34cbd0e633d2
children 7b9bddda9d2d
comparison
equal deleted inserted replaced
6580:77a35268cd7c 6581:b5fb268b7f04
4 # If they are, start the server otherwise run roundup-admin 4 # If they are, start the server otherwise run roundup-admin
5 # for installation and initialization. 5 # for installation and initialization.
6 6
7 # "$@" should be a set of tracker=directory pairs. 7 # "$@" should be a set of tracker=directory pairs.
8 8
9 set -xv 9 if ! [ -z "$SHELL_DEBUG" ]; then
10 set -xv
11 fi
10 12
11 trap exit INT 13 trap exit INT
12 14
13 do_exit=0 15 do_exit=0
14 16
20 $tracker_spec 22 $tracker_spec
21 EOE 23 EOE
22 # ^ is a tab for use with <<- 24 # ^ is a tab for use with <<-
23 25
24 # was $tracker_spec in the form of a=b, if not ignore it. 26 # was $tracker_spec in the form of a=b, if not ignore it.
25 # allows setting CMD to -p 9090 issue=tracker for example. 27 # allows setting CMD to -i index_template issue=tracker for example.
26 if [ -z "$directory" ]; then continue; fi 28 if [ -z "$directory" ]; then continue; fi
27 29
28 # something is specified or built wrong. Don't start. 30 # something is specified or built wrong. Don't start.
29 if [ ! -d "$directory" ]; then 31 if [ ! -d "$directory" ]; then
30 printf "Unable to find directory %s. Exiting\n" "$directory" 32 printf "Unable to find directory %s. Exiting\n" "$directory"

Roundup Issue Tracker: http://roundup-tracker.org/