YunoHost-Apps / loki_ynh

Grafana Loki is a set of components that can be composed into a fully featured logging stack.
https://grafana.com/docs/loki/latest/
GNU Affero General Public License v3.0
3 stars 1 forks source link

loki installation incomplete/failed #26

Closed hjri closed 9 months ago

hjri commented 9 months ago

Describe the bug

Loki does not start, service is failed. Root cause:

/var/www/loki/merge_yaml.sh: No such file or directory

Context

Steps to reproduce

Expected behavior

Installation is complete and loki is running

Logs

Loki.service fails with /var/www/loki/merge_yaml.sh: No such file or directory

and so does loki-promtail

hjri commented 9 months ago

this could be fixed by running (on amd64 but possibly on the archs as well)

cd /var/www/loki/ 
wget https://raw.githubusercontent.com/YunoHost-Apps/loki_ynh/master/sources/extra_files/loki-amd64/merge_yaml.sh
chmod +x merge_yaml.sh 
chown loki:www-data merge_yaml.sh
fflorent commented 9 months ago

@Salamandar This seems to be due to this PR: #23

Unless I am wrong.

I am grateful for the PR, but I felt a bit upset by the merge without giving me time to review the change, whereas I am mentioned as the only maintainer of the package.

I noticed you were not the only person to bypass my review. If there are any reason for hurrying merging this PR, please let me know them.

If there are none, there is no worry to have. In the future, we can agree to some process to follow.

I would appreciate that if you fix the issue, you make a PR and give me time to review the change (or I can fix myself, I don't mind). If I take time (like 2 weeks) or if there exist risks for waiting (say for security reasons), I would agree that you can legitimately bypass my review (even if this introduces new issues).

What do you think?

Thanks in advance.

And again, despite what I say above, thanks for you work on migrating to the manifest v2