Disabling auto-updates doesn't actually disable them.
It still does the innodb check (I'm not sure what this is for, if the pools are incorrect, that may affect performance but it won't stop a schema from being upgraded).
It still does the post-pull tasks (trying to update the submodules).
Made it do the auto-update check before doing anything else and if it's disabled, then the daily script will check for any schema changes to be applied and a db cleanup.
check if auto-updates are enabled before checking innodb settings (if…
… they are disabled, this would still throw an alert to say innodb needs adjusting even though they arent wanted)
check if daily.php returns 0 and only do the db clean up if it does (…
…dont update submodules or do a schema upgrade etc)
if no code is updated, do a schema update check and also a cleanup. m…
…ove to a separate script call to make it easier to add more tasks if required in the future.
Auto-Deploy finished, Test PR at http://3063.ci.librenms.org or https://3063.ci.librenms.org
Works for me.