mirror of https://github.com/zulip/zulip.git
install: Add nice error message for RabbitMQ not having started.
This commit is contained in:
parent
5bf66e04fc
commit
40ec59b93e
|
@ -28,6 +28,17 @@ fi
|
|||
cp -a /root/zulip/zproject/local_settings_template.py /etc/zulip/settings.py
|
||||
ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
|
||||
|
||||
if ! rabbitmqctl status >/dev/null; then
|
||||
set +x
|
||||
echo; echo "RabbitMQ seems to not have started properly after the installation process."
|
||||
echo "Often, this can be caused by misconfigured /etc/hosts in virtualized environments"
|
||||
echo "See https://github.com/zulip/zulip/issues/53#issuecomment-143805121"
|
||||
echo "for more information"
|
||||
echo
|
||||
set -x
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/root/zulip/scripts/setup/configure-rabbitmq
|
||||
|
||||
/root/zulip/scripts/setup/postgres-init-db
|
||||
|
|
Loading…
Reference in New Issue