1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

Fix release 10 hotfix

This commit is contained in:
JimboJoe 2023-09-02 11:29:11 +02:00
parent f89fd45898
commit d33f9b285b

View file

@ -147,7 +147,7 @@ EOF
fi fi
# Fix configuration for Grafana instances existing prior to version 10 # Fix configuration for Grafana instances existing prior to version 10
sed -i "/^\[server\]$/,/^\[/ s@;serve_from_sub_path = .*@serve_from_sub_path = false@" "/etc/grafana/grafana.ini" sed -i "/^\[server\]$/,/^\[/ s@serve_from_sub_path = .*@serve_from_sub_path = false@" "/etc/grafana/grafana.ini"
# Update Grafana LDAP authentication configuration # Update Grafana LDAP authentication configuration
cp ../conf/ldap.toml /etc/grafana cp ../conf/ldap.toml /etc/grafana