Submitted by ADDISON74 on Mon, 12/01/2014 - 06:28
I installed many times Virtualmin. The latest versions seems to have a problem with this issue, missing textarea content.
Steps to reproduce this issue:
1) Go to Virtualmin and choose System Settings -> Server Templates -> Default Settings
2) Choose from drop-down [Mail for domain].
3) See "Email message to send upon server creation" (just the very first option). By default it is setup to None. As I remember if I selected [Message bellow ..] radio option it was a template message down there. With the latest install it is only an empty textarea.
How do I get the template message from previous versions?
Status:
Closed (fixed)
Comments
Submitted by ADDISON74 on Mon, 12/01/2014 - 06:36 Comment #1
Submitted by JamieCameron on Mon, 12/01/2014 - 19:31 Comment #2
What does the file
/etc/webmin/virtual-server/domain-template
contain on your system? That is where the template message should be read from.Submitted by ADDISON74 on Tue, 12/02/2014 - 02:35 Comment #3
File content is empty.
Submitted by JamieCameron on Tue, 12/02/2014 - 16:03 Comment #4
How about the file
/usr/{share,libexec}/webmin/virtual-server/domain-template
... is that also empty?Submitted by ADDISON74 on Wed, 12/03/2014 - 01:43 Comment #5
Here you go:
root@server1:~# cat /usr/share/webmin/virtual-server/domain-template
The following virtual server has been set up successfully :
Domain name: ${DOM}
Hosting server: ${HOSTNAME}
${IF-VIRT}
Virtual IP address: ${IP}
${ENDIF-VIRT}
Administration login: ${USER}
Administration password: ${PASS}
${IF-WEBMIN}
Administration URL: ${WEBMIN_PROTO}://www.${DOM}:${WEBMIN_PORT}/
${ENDIF-WEBMIN}
${IF-WEB}
Website: http://www.${DOM}/
${IF-WEBALIZER}
Webalizer log reporting: Enabled
${ELSE-WEBALIZER}
Webalizer log reporting: Disabled
${ENDIF-WEBALIZER}
${ENDIF-WEB}
${IF-MAIL}
Email domain: ${DOM}
SMTP server: mail.${DOM}
POP3 server: mail.${DOM}
${IF-MX_SLAVES}
Backup SMTP servers: ${MX_SLAVES}
${ENDIF-MX_SLAVES}
${ENDIF-MAIL}
${IF-DNS}
DNS domain: ${DOM}
Nameserver: ${DNS_SERVER}
${IF-DNS_SLAVES}
Slave nameservers: ${DNS_SLAVES}
${ENDIF-DNS_SLAVES}
${ENDIF-DNS}
${IF-MYSQL}
MySQL database: ${DB}
MySQL login: ${MYSQL_USER}
${IF-MYSQL_PASS}
MySQL password: ${MYSQL_PASS}
${ELSE-MYSQL_PASS}
MySQL password: ${PASS}
${ENDIF-MYSQL_PASS}
${ENDIF-MYSQL}
${IF-POSTGRES}
PostgreSQL database: ${DB}
PostgreSQL login: ${USER}
PostgreSQL password: ${PASS}
${ENDIF-POSTGRES}
root@server1:~# cat /usr/libexec/webmin/virtual-server/domain-template
cat: /usr/libexec/webmin/virtual-server/domain-template: No such file or directory
Submitted by JamieCameron on Wed, 12/03/2014 - 16:55 Comment #6
Ok, so the work-around is to copy
/usr/share/webmin/virtual-server/domain-template
to/etc/webmin/virtual-server/domain-template
Submitted by ADDISON74 on Wed, 09/30/2015 - 09:59 Comment #7
This issue was not fixed yet. Please update it in the next Virtualmin versions
Submitted by JamieCameron on Wed, 09/30/2015 - 21:08 Comment #8
Are you seeing that the template is still missing when you do a fresh install of Virtualmin?
Submitted by ADDISON74 on Thu, 10/01/2015 - 02:28 Comment #9
Themplate file is there in /etc folder, but it is empty like before. This is the latest Virtualmin version installed yesterday in a VM. As solution I did the same thing copying the file from /usr to /etc.
In my opinion something is happening in installer which is not filling up that file.
PS - I am checking all issues I posted in the last year.
Submitted by JamieCameron on Fri, 10/02/2015 - 00:13 Comment #10
Did you get any error messages during the install process? It's possible that the install failed part-way through, and didn't copy the default template file.
Submitted by ADDISON74 on Fri, 10/02/2015 - 04:56 Comment #11
I checked the virtualmin.log file a few moment ago. No errors.
Meanwhile I installed 2 times the same combination Debian 7 Wheezy + Virtualmin. That file has empty content.
Submitted by JamieCameron on Fri, 10/02/2015 - 17:26 Comment #12
Ok, I have added a work-around for this which will be included in the next Virtualmin release.
Submitted by Issues on Fri, 10/16/2015 - 17:29 Comment #13
Automatically closed -- issue fixed for 2 weeks with no activity.