I upgraded from 25.0.0 last week, and just today I clicked on the “Scripts” tab on the “SQL Runner” page. It immediately throws an error that says:
An unexpected error occurred when we tried to load the page.
If the problem persists after refreshing this page, please contact Dremio support.
If I refresh the page, it loads fine, though on the “Data” tab.
I have not been able to click on the “Scripts” tab without hitting this error since upgrading to 25.1.1.
I did not see this error in v25.0.0.
The error occurs immediately, and I do not see any docker compose logs generated when it happens, so I don’t think there is a problem with the Dremio server itself.
Below is a screenshot showing the Chrome Developer Console when I click on the “Scripts” tab. Hopefully that indicates where the problem might be
Tried the same upgrade path and works as expected. Were there any files deleted in “db” folder? Are otjer parts of the product working as expected?
Can you please click on scripts again, reproduce the error and see what is written in server.log, if there is something useful can you please send the server.log?
I’m not aware of any files being deleted in the db folder.
All other parts of the product appear to be working fine. I don’t see any obvious error messages in the server logs either.
In terms of logs, no log lines are generated when I click on the Scripts tab. To be clear, I am tailing all container logs with this command (run in the same folder as the dremio docker-compose.yml file):
docker compose logs -f
I see log lines show up as I click around the Dremio web GUI, but when I click on the Scripts tab nothing happens - no new log lines, no errors, no warnings. When I refresh the page, I see the usual page load-related log lines. And then, again, when I click the Scripts tab, nothing happens in the logs. The page immediately throws that error message and I have to refresh.
Hi @balaji.ramaswamy, we are facing the same issue and is pretty uncomfortable when presenting solution to management. can you please help to resolve that?
I have the same issue on v25.1
It appears only if I have saved scripts. On a clean install, as long as I don’t create any scripts, the page is available. But when I save a script, the access to the Scripts page trigger the same error.
The scripts are available using the API. When I delete them all, the Scripts page is available.