diff options
author | 2019-12-19 23:09:07 -0800 | |
---|---|---|
committer | 2019-12-19 23:09:07 -0800 | |
commit | bf0beca4e25895b467ffa94f7ea5d3dd0fab231c (patch) | |
tree | 69f2b10a9c8879cd601b2d55ed9a96c909a4e944 | |
parent | travis: fix yaml whitespace. (diff) | |
download | packages-5-bf0beca4e25895b467ffa94f7ea5d3dd0fab231c.tar.gz packages-5-bf0beca4e25895b467ffa94f7ea5d3dd0fab231c.tar.bz2 packages-5-bf0beca4e25895b467ffa94f7ea5d3dd0fab231c.zip |
travis: explore ES startup error
Dec 20 07:05:31 travis-job-595e275e-87a7-4e22-99dc-7607eb7f52a9 elasticsearch[7690]: /usr/share/elasticsearch/bin/elasticsearch-env: line 75: /etc/default/elasticsearch: Permission denied
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index cab7e10..7ebd082 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,12 @@ before_install: - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-amd64.deb # Verify checksum - echo e566a88e15d8f85cf793c8f971b51eeae6465a0aa73f968ae4b1ee6aa71e4c20 elasticsearch-7.5.1-amd64.deb | sha256sum -c + - find /etc/default/elasticsearch /etc/elasticsearch -ls - sudo service elasticsearch stop - sudo dpkg -i --force-confnew elasticsearch-7.5.1-amd64.deb + - find /etc/default/elasticsearch /etc/elasticsearch -ls - rm -f elasticsearch-7.5.1-amd64.deb - - sudo service elasticsearch start || ( sudo systemctl status elasticsearch.service ; sudo journalctl -xe ) + - sudo service elasticsearch start || ( sudo service elasticsearch status ; sudo journalctl -xe ; exit 1 ) before_script: - cp config/secrets.yml.dist config/secrets.yml |