datalust / seq-tickets

Issues, design discussions and feature roadmap for the Seq log server
https://datalust.co/seq
96 stars 5 forks source link

documentation issue: init-scripts #2172

Closed asitha-w closed 5 months ago

asitha-w commented 5 months ago

this is not a super serious issue but it will save time.

Describe the bug https://docs.datalust.co/docs/init-scripts

#!/bin/bash
seqsvr restore --from-latest

the missing-y flag on the init script sample cause this script to fail ( waiting for user input) , since its already mounted in to the container it will keep on failing the container restart.

in our case only way out was this loop was the stop the deployment and mount the disk some other container and clean the code.

* suggestion may be a script which get fails once should be moved, like the solution you have for the complected scripts

{old-name}.done {old-name}.failed

nblumhardt commented 5 months ago

Thanks for the report and the suggestion. I've fixed the docs, I'll close but we'll keep the suggestion in mind.