Open ato opened 2 years ago
Thanks for this. That path is wrong. It seem like a copy/paste from the Hypercane work was not completely scrubbed to make sure the paths were correct.
And when I commented on this days ago I noticed one issue in the output and neglected to comment on the issue with the grep.
I tested the new version and this problem was resolved.
Actually it just silently failed and didn't configure anything. :sweat_smile:
Note the grep is looking for MEMENTOEMBED_ENDPOINT in user_settings.py, but that line actually seems to be in raintale.conf:
settings_file=${WOOEY_DIR}/raintale_with_wooey/settings/user_settings.py
raintale_conf=/etc/raintale.conf
echo "writing database information to ${settings_file}"
ME_line=`grep MEMENTOEMBED_ENDPOINT ${settings_file}`
I am removing this from the project as part of the IIPC 2021 Grant project closeout. It still needs to be reviewed by a third party.
set-raintale-database.sh hangs after printing:
It appears to be stuck with this grep command reading from stdin:
https://github.com/oduwsdl/raintale/blob/c8885ffa63ef9e3d869522d98749ed18179d16e2/raintale-gui/set-raintale-database.sh#L107