popmay
April 22, 2023, 3:00am
1
SYSTEM INFORMATION
OS type and version
Ubuntu 22.04
Webmin version
2.021
Virtualmin version
7.7 GPL
Related packages
up to date
After upgrading to Virtualmin 7.7 when going to Backup and Restore on 2 servers I get:
HTTP/1.0 500 Perl execution failed Server: MiniServ/2.021 Date: Sat, 22 Apr 2023 02:18:08 GMT Content-type: text/html; Charset=utf-8 Connection: close
Error — Perl execution failed
Undefined subroutine &virtual_server::can_use_gcloud_storage_creds called at /usr/share/webmin/virtual-server/cloud-lib.pl line 304.
line 304; elsif (&can_use_gcloud_storage_creds()) {
I restart Webmin from command line as suggested in older threads and it doesn’t change.
thanks
Marvin
popmay
April 22, 2023, 3:36am
2
I just noticed the thread below and deleted
elsif (&can_use_gcloud_storage_creds()) {
return { ‘ok’ => 1,
‘desc’ => $text{‘cloud_gcpcreds’},
};
}
from
cloud-lib.pl
it cleared the error and backup is working fine. Restored fine on new server.
The great part is that it was a large legacy email account that was migrated without having to make an extra unix user. It receives email from outside. Magic from my point of view
Cypher
April 22, 2023, 6:29am
3
When will this problem be solved? @Joe
Cypher
April 22, 2023, 8:36am
5
Problem persist on subdomains after 7.7-2 upgrade. @Joe @Jamie
Ilia
April 22, 2023, 9:40am
6
Can you explain more about what is happening? Virtualmin 7.7-2 fixes it for me. Did you try to restart Webmin manually?
Cypher
April 22, 2023, 10:05am
8
Yes I did.
I am getting this error everytime.
Creating backup for virtual server abc.domain.net …
Copying virtual server configuration …
… done
Copying records in DNS domain …
… domain not found!
Ilia
April 22, 2023, 10:05am
9
Was this domain created just recently, with the bugged Virtualmin 7.7-1 GPL version?
Cypher
April 22, 2023, 10:08am
10
Version is 7.7-2 GPL. No this is old domain and DNS records exist. Created on 30/Jan/2023 by user
Ilia
April 22, 2023, 10:16am
11
Does BIND DNS domain config file exists on your system and how does it look like?
The file can be found in /var/lib/bind
on Debian systems and in /var/named/
on RHEL.
Ilia
April 22, 2023, 10:16am
12
Also, I recommend you to open a separate ticket! This is completely unrelated issue to the original topic.
I will close this treat. Please open a new ticket!