Daily.sh, .env

Hi,

Very recently I started getting this (new?) error from daily.sh,

/opt/librenms/daily.sh: line 33: .env: No such file or directory

What changed? Do I need to add this file?

Thanks!

All installs should have /opt/librenms/.env, otherwise you will get redirected to the install page…

You’re right, sorry! File is there. Hmmm … I need to go look at daily.sh, see what changed lately to cause this.

Thanks!

daily.sh should be run from the /opt/librenms directory so, ./daily.sh

1 Like

Agreed! I found that, updated my local script that calls daily.sh. Not sure why it all of a sudden started to show up (as an error message) - but you are right. Thanks!