openHABian: Can't execute scripts after fresh install

Hi,
just moved on the new openhabian image and I’m reconfiguring my whole system.
I also have buttons executing scripts, but they stopped working.
But I am able to execute them from the command line (after I added openhabian ALL=NOPASSWD: ALL via visudo and gave all scripts execute rights).

Still, I get this error message:

2017-06-21 23:39:17.451 [INFO ] [.smarthome.model.script.RULE:TEST-ON] - 

Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
Regeln erklärt hat.  Normalerweise läuft es auf drei Regeln hinaus:

    #1) Resprektieren Sie die Privatsphäre anderer.
    #2) Denken Sie nach bevor Sie tippen.
    #3) Mit großer Macht kommt große Verantwortung.

sudo: Kein TTY vorhanden und kein »askpass«-Programm angegeben

2017-06-21 23:39:17.524 [INFO ] [RULE:RestoreScriptExecutePermissions] - /bin/chmod: Beim Setzen der Zugriffsrechte für „/etc/openhab2/scripts/FernotronSend“: Die Operation ist nicht erlaubt

/bin/chmod: Beim Setzen der Zugriffsrechte für „/etc/openhab2/scripts/sendtoCUL.sh“: Die Operation ist nicht erlaubt

What am I missing?

Thanks, Boby

Okay, found a mistake in my rule which gave some of the errors.
But the main problem remains:

2017-06-21 23:49:20.669 [INFO ] [.smarthome.model.script.RULE:TEST-ON] - 

Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
Regeln erklärt hat.  Normalerweise läuft es auf drei Regeln hinaus:
    #1) Resprektieren Sie die Privatsphäre anderer.
    #2) Denken Sie nach bevor Sie tippen.
    #3) Mit großer Macht kommt große Verantwortung.
**sudo: Kein TTY vorhanden und kein »askpass«-Programm angegeben**

How can I solve the TTY / askpass problem?

Got it working: Added “%sudo ALL=NOPASSWD: ALL” to the sudoer file via visudo - and now the privileges are fine.