Error running daily.sh

Had an issue on setup where the installer would hang and fail on creating DB Schema. Ran Validate.php and got this

[OK] Database connection successful
[FAIL] Your database schema (10) is older than the latest (217).
[FIX] Manually run daily.sh, and check for any errors.
[WARN] You have not added any devices yet.
[FIX] You can add a device in the webui or with addhost.php

So ran daily.sh and got this error

dailysh 96 daily sh Syntax error “(” unexpected (expecting “}”)

suspected it might be corrupt so did git pull to new folder and did correct permissions etc same issue.

I would run back through the setup. How long did you wait? Some cases it could take a bit due to the host that it’s running on.

https://docs.librenms.org/#Installation/

If this is a new install, I would just start over.

Hi, same error here :

./daily.sh: 96: ./daily.sh: Syntax error: “(” unexpected (expecting “}”)

./validate.php

Component Version
LibreNMS 1.46-40-g8bddfe7
DB Schema 262
PHP 7.0.33-1~dotdeb+8.1
MySQL 10.1.37-MariaDB-1~jessie
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2.1

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

[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Your database schema (262) is older than the latest (273).
[FIX]:
Manually run ./daily.sh, and check for any errors.
[WARN] You have not added any devices yet.
[FIX]:
You can add a device in the webui or with ./addhost.php

How can I resolve it ?
Thanks !