Errors on Daily.sh

I have a running instance of LibreNMS on a ubuntu20.04. Without any particular reason (as far as I know), daily.sh suddenly stopped working.
When running manually I get the following:

./daily.sh: 34: source: not found
./daily.sh: 52: Syntax error: “(” unexpected (expecting “}”)

For the first, changing
source “${LIBRENMS_DIR}/.env”
into
. “${LIBRENMS_DIR}/.env”
solves the problem. But no idea why the second one fails. It’s on the following line:
args=("$@")

Output from validate.php:

====================================

Component Version
LibreNMS 21.9.0-8-g0d499b538
DB Schema 2021_08_26_093522_config_value_to_medium_text (217)
PHP 7.4.3
Python 3.8.5
MySQL 10.3.29-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 1.8.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[INFO] Detected Dispatcher Service
[FAIL] Dispatcher service is enabled on your cluster, but not in use on this node
[FAIL] Missing PHP extension: memcached
[FIX]:
Please install memcached
[WARN] Could not check Python dependencies because this script is not running as librenms

[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
html/.htaccess
rrd/.gitignore
[FAIL] You need to run this script as ‘librenms’ or root

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.