Cannot enable server side script

I need to populate a custom field for printing and defined a server side script.

I issued bench --site set-config server_script_enabled true

Restarted bench, everything even the whole VM. cleared cache. But the error message that the scripting is disabled persists. Where’s the problem?

Hi kaimoeller,

you can enable the server scipt globally through:

bench set-config -g server_script_enabled 1

1 Like

Thanks Saaad,

That fixed it. I applied the setting on the site level but that has no effect. It has to happen on the bench global level obviously.