Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed

[edit] moved to here: Upgrade failure caused by ldap configuration error during 'apt update' as it is no longer relevant to this topic.