In v25.1.0 (Community), when I click on the "Scripts" tab I get an error

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

I run Dremio via docker compose

Build
25.1.0-202409042012430619-15cc6471
Edition
Community Edition
Build Time
09/04/2024 20:24:16
Change Hash
15cc647174495f85172a670f469f06cdae87844a
Change Time
09/04/2024 20:12:29

@capnjosh

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?

Hi,

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.

I use Dremio Community via Docker.

Thanks!

1 Like

I am getting the same issue on clicking scripts tab. Anyone have an idea why this is happening and how to fix it?

I also ran developer tools on chrome and get the same errors as above.

Seems to be a community edition specific issue, it is fixed in 25.1.1, so would have to wait for the next CE release, will update here on ETA

25.1.1 has been released for Community Edition with a fix for this issue.
See release notes here.

1 Like