mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 09:26:17 -05:00
Recommending refreshing files when database has no files.
This commit is contained in:
parent
dd35cf591f
commit
16e359b339
1 changed files with 1 additions and 1 deletions
2
help.sh
2
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue