Unable to add server script frappe 15

Hello Frappe Community,

I recently deployed Frappe 15 in a Kubernetes environment using the official Helm chart. Everything is functioning smoothly except for one issue: I am unable to add any server scripts.

When I navigate to add a server script, the text box for entering the script is not visible. To resolve this, I have already tried the following steps:

Ran the command:
bench set-config -g server_script_enabled 1

Also

Manually edited the common_site_config.json and site_config.json files to ensure the server_script_enabled is set to 1.

Despite these actions, the issue persists. Has anyone else encountered this problem or have any suggestions on how to resolve it?

Any insights or guidance would be greatly appreciated!

also please help me understand , if i am changing any configuration using frappe bench command do i have restart all the deployment also ?

@MOHAMMED_JASEEFAR check this Enable Server Scripts

I tried this one. after enable this the warning is gone and I can create a script BUT the textbox to input my script is missing. why ?

It looks like a JavaScript issue. Could you check which frappe version you are using?

1 Like

@MOHAMMED_JASEEFAR can you check browser console

nothing in console specially related to this . version is Frappe Framework: v15.37.0

from console

sitename/assets/frappe/node_modules/ace-builds/src-noconflict/ace.js?v=1723722259281 404 (Not Found)

image

site/assets/frappe/node_modules/ace-builds/src-noconflict/ace.js?v=1723722658707

@MOHAMMED_JASEEFAR check this Error when view/save company

solved. Thanks. ace.js file not loading that was the issue. we have done through hard link in server.