Pook
July 22, 2025, 8:20am
1
When I click on a Download link for text/longtext values in a table when viewing a database via Virtualmin it takes me to an error page.
Am I missing some extra MariaDB package that makes it work?
SYSTEM INFORMATION
OS type and version
Ubuntu Linux 22.04.5
Usermin version
2.302
Virtualmin version
7.30.8
Theme version
24.02
Apache version
2.4.52
Package updates
All installed packages are up to date
Is that a download link in the database. I’ve never seen it before, but I don’t use webmin to view databases very often.
Pook
July 22, 2025, 8:44am
3
Yes, when you view a table inside Virtualmin
When you have text fields instead of varchar they come up as download links that go to this /download.cgi url that doesn’t work.
I mean you could install phpmyadmin and see if it works better, that seem like a bug.
But I can’t replicate it.
Pook
July 22, 2025, 8:49am
5
Yeah I could use phpmyadmin , I have it.
Just looks like it’s supposed to work, thought I might be missing something.
Screenshot what phpmyadmin shows. Maybe @jamie might have an idea.
Pook
July 22, 2025, 9:12am
7
It’s not something unique to this database., or this Virtualmin server.
Here’s a random wordpress table from a different server. All those download links give me a 404. Any tinytext, longtext or text fields.
Maybe its a theme issue, I never use dark.
Pook
July 22, 2025, 9:28am
9
Interesting, so it doesn’t do it for you!
That is a weird one. I can’t think what would cause that, what browser do you use?
Pook
July 22, 2025, 9:36am
11
Chrome, just tried in Firefox though and it’s the same.
Ok, that does sound like a backend issue. Hopefully staff may respond.
Pook
July 22, 2025, 9:39am
13
Instead of plain text it has this;
<.a class=“ui_link” href=“download.cgi?db=wp_littleumbria&table=wp98_comments&start=0&row=0&col=2” data-original-title=“” title=“”>Download..</a.>
Had to put some .'s in there so that it stays as text
Ilia
July 22, 2025, 9:48am
14
This download link only appears if the “Show blob and text fields as” option in the MariaDB config is set to “Links to download.”
@Pook Does the same issue happen if you switch to the Framed Theme?
Ilia
July 22, 2025, 10:07am
15
@Pook Anyway, apply the following patch to fix your issue:
webmin patch https://github.com/webmin/webmin/commit/187b7c7
1 Like
Pook
July 22, 2025, 10:10am
16
AHAH! You’re a magician!
1 Like
Ilia
July 22, 2025, 10:13am
17
I’m glad it worked for you, and thanks for reporting it!
system
Closed
July 30, 2025, 10:13am
18
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.