A fresh install of Raspbian (latest version) generates the following error mail during installation:
/opt/pihole/updatecheck.sh: line 42: /etc/pihole/setupVars.conf: No such file or directory
For those who wonder where the mail message comes from:
mail messages are activated by following the install mail
(section 4 / 9) from this manual .
jfb
December 22, 2018, 4:08pm
2
Did the installation process complete? If not, what was the output of the installer?
Installation completed successfully
if you look @ the content of /opt/pihole/updatecheck.sh, line 42 isn't, at least I don't think it is, a valid command:
# Source the setupvars config file
# shellcheck disable=SC1091
. /etc/pihole/setupVars.conf
I suppose the period (.
) should be a comment (#
)
Mcat12
December 22, 2018, 5:04pm
4
That period is expected, it loads the settings.
OK, good to know, however, where does the error come from?
edit
the mail, as it arrived...
Is it possible the cron job runs before setupVars.conf exists?
/edit
Mcat12
December 23, 2018, 5:52pm
6
The cron job should not have been installed unless Pi-hole was installed, and when Pi-hole is installed setupVars.conf
is installed. Does the file exist?
Mcat12:
Does the file exist?
Yes, the file exists
I got the error message only once, that's why I assumed the cron job existed before setupVars.conf
existed.
system
Closed
January 14, 2019, 8:15am
8
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.