From 16e359b3398141e13b42c14215ae490ec7b28172 Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 11 Jan 2025 11:06:43 -0700 Subject: [PATCH] Recommending refreshing files when database has no files. --- help.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.sh b/help.sh index 58a71979..b8fef530 100755 --- a/help.sh +++ b/help.sh @@ -104,7 +104,7 @@ if sudo -i -u wrolpi psql -l 2>/dev/null | grep wrolpi >/dev/null; then if [ "$(sudo -i -u wrolpi psql wrolpi -c 'copy (select count(*) from file_group) to stdout' 2>/dev/null)" -gt 0 ]; then echo "OK: WROLPi database has files" else - echo "FAILED: WROLPi database has no files" + echo "FAILED: WROLPi database has no files. You need to refresh your files: https://$(hostname).local/files" fi else echo "FAILED: WROLPi is not initialized"