Missing file manager from virtual servers on the basis of features selected [proxy setup]

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.3
Webmin version 2.520
Usermin version 2.420
Virtualmin version 7.50.0 GPL
Theme version 25.20
Nginx version 1.24.0
Package updates All installed packages are up to date

Hello team,

please do not remove file manager from virtual servers whatever might be the options selected in enabled feature screen or at least provide a way to enable them from some config.

sites with proxy enabled are missing file manager

Deja vu.

Is this related.

hey @calport unfortunately this is not related,

@Ilia whenever you’ve some time could you please advise how to manually enable it through configuration files?

Specifically, I’d like to understand:

  1. Which configuration file Virtualmin/Webmin uses to determine whether the File Manager should be visible in the UI
  2. Whether there is a manual setting or flag that I can change to re-enable the File Manager if it is disabled

Any guidance or documentation you can point me to would be greatly appreciated.

as always thank your for your support and hard work on the project!

See “Edit Server Template → Administrator’s Webmin modules” page.

A few files, see the diff when the option above is enabled:

On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   webmin/config
	modified:   webmin/virtual-server/config
	modified:   webmin/webmin.acl
	modified:   webmin/webminlog/debian12-pro.acl

no changes added to commit (use "git add" and/or "git commit -a")
diff --git a/webmin/config b/webmin/config
index 9cc3582..f102fa1 100644
--- a/webmin/config
+++ b/webmin/config
@@ -26,7 +26,7 @@ cache_size=52428800
 cache_mods=virtual-server
 realname_debian12-pro=
 notabs_debian12-pro=1
-ownmods_debian12-pro=bind8 mysql spam virtual-server passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx phpini webminlog
+ownmods_debian12-pro=bind8 mysql spam virtual-server filemin passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx phpini webminlog
 readonly_debian12-pro=virtual-server
 noselfwebminup=1
 os_eol_in=6 months
diff --git a/webmin/virtual-server/config b/webmin/virtual-server/config
index eb3da2d..7fd60e0 100755
--- a/webmin/virtual-server/config
+++ b/webmin/virtual-server/config
@@ -213,7 +213,7 @@ avail_spam=1
 mysql=1
 mail_system=0
 passwd_mode=0
-avail_filemin=0
+avail_filemin=1
 upload_tries=3
 compression=0
 reseller_template=none
@@ -387,7 +387,7 @@ php7.1fcgi=none
 bind_cloud=
 html_perms=0750
 newuser_cc=
-last_check=1764983481
+last_check=1764983588
 default_exclude=
 bind_spfincludes=
 mail_cloud=
diff --git a/webmin/webmin.acl b/webmin/webmin.acl
index 00b0d87..72ec879 100644
--- a/webmin/webmin.acl
+++ b/webmin/webmin.acl
@@ -1,2 +1,2 @@
 root: acl adsl-client apache at backup-config bacula-backup bandwidth bind8 change-user cluster-copy cluster-cron cluster-passwd cluster-shell cluster-software cluster-useradmin cluster-usermin cluster-webmin cpan cron custom dfsadmin dhcpd dovecot exim exports fail2ban fdisk fetchmail filemin filter firewall firewall6 firewalld fsdump heartbeat htaccess-htpasswd idmapd inetd init inittab ipfilter ipfw ipsec iscsi-client iscsi-server iscsi-target iscsi-tgtd krb5 ldap-client ldap-server ldap-useradmin logrotate logviewer lpadmin lvm mailboxes mailcap man mount mysql net nis openslp package-updates pam pap passwd phpini postfix postgresql ppp-client pptp-client pptp-server proc procmail proftpd qmailadmin quota raid samba sarg sendmail servers shell shorewall shorewall6 smart-status smf software spam squid sshd status stunnel syslog-ng syslog system-status tcpwrappers time tunnel updown useradmin usermin webalizer webmin webmincron webminlog xinetd xterm ruby-gems virtual-server virtualmin-htpasswd virtualmin-awstats virtualmin-nginx virtualmin-nginx-ssl virtualmin-wp-workbench
-debian12-pro: bind8 mysql spam virtual-server passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx phpini webminlog
+debian12-pro: bind8 mysql spam virtual-server filemin passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx phpini webminlog
diff --git a/webmin/webminlog/debian12-pro.acl b/webmin/webminlog/debian12-pro.acl
index df52cf9..26e5f50 100644
--- a/webmin/webminlog/debian12-pro.acl
+++ b/webmin/webminlog/debian12-pro.acl
@@ -1,4 +1,4 @@
-mods=bind8 mysql spam virtual-server passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx logviewer phpini
+mods=bind8 mysql spam virtual-server filemin passwd proc cron at change-user htaccess-htpasswd mailboxes logviewer virtualmin-awstats virtualmin-nginx logviewer phpini
 users=debian12-pro
 rollback=0
 notify=0

@Ilia just to confirm for other people that see this thread, I am guessing there is no intention to remove the file manger and this is just an issue with the OP’s setup.

thanks

Yes, it should be specific to OP’s system. We aren’t going to disable File Manager.

2 Likes

@Ilia thanks for the response, although it’s not a permission issue as for some of the sites without proxy setup (proxying to docker container), file manager is visible

but for others specifically with proxy configured it’s missing have tested this by disabling proxy but the file manager still remains missing (guessing this behavious is previously true for some verison but now stuck in virtual server config somewhere)

for mainsite.com (file manager shows up just fine)
for other site on same server sub.mainsite.com (file manager is not present)

the issue persist even after migrating the affected virtual server to a new blank virtualmin server setup.

What do you mean by “disabling proxy”'?

@Ilia from disabling proxy simply means to turning off proxy settings under Website Configuration > Edit Proxy Website

also was able to reporduce the issue on latest version of virtualmin as well (upgraded to latest version from 7.30.4 to 7.50.2 GPL & fresh install as well)

steps to reproduce:

  1. enable proxy from above screen

  2. restart webmin using systemd (was not doing this previously which gave the false impression that the issue is not present in the latest version)

result: the file manager will be gone from the virtual server that have proxy enabled.

Thanks for the details! You’re right—it doesn’t make sense not to show the File Manager link when the proxy is enabled.

You can use this patch to fix your problem:

webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/5ecfcca
1 Like

Thanks so much, @Ilia :clap:

Really appreciate the quick response and the patch link. I’ve applied the fix and can confirm it resolves the issue, File Manager is now showing correctly even with proxy enabled.

Grateful for the quick turnaround and for all the continued work you and the team put into Virtualmin. :heart:

Thanks again!

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.