I found an earlier issue (https://www.virtualmin.com/node/9300) that basically described the error I encountered but it didn't have a fix.
Rather than attempting to upgrade my old server (Ubuntu14.04) I am creating a new Ubuntu 16.04 instance and will then migrate my Virtualmin settings and sites across to the new server.
I created a new Ubuntu 16.04 server and ran the Virtualmin install script (copied from licences section).
I then completed the normal setup steps in the browser.
At this point, I went to Restore Backups and copied the (working) S3 backup details from the old server.
It was at this point Virtualmin informed me that there was a missing Perl module S3::AWSAuthConnect.
I went through this same process when moving from Ubuntu12.04 to Ubuntu14.04 and did not need to install anything myself.
Has something changed in the install or is there something that Virtualmin expects to be installed in the base rather than install it as part of the script?
Hope you can help, Cheers.
Comments
Submitted by JamieCameron on Wed, 07/12/2017 - 01:06 Comment #1
That is unusual, as that Perl module is included with Virtualmin.
Does the directory
/usr/share/webmin/virtual-server/S3
exist on your system?Submitted by cysec on Wed, 07/12/2017 - 08:02 Comment #2
G'day, thanks anyway but couldn't wait... I ditched Vultr and went back to AWS EC2... No issue there so must have been unique to Vultr what ever it was
I'm also seeing this error when trying to setup S3 backups. There are 7 files in the directory /usr/share/webmin/virtual-server/S3 including AWSAuthConnection.pm.
Would like a solution for this.
I was able to fix it by installing missing perl modules on my system. Modules ExtUtils::MakeMaker, Authen::Libwrap and LWP::Protocol::https was missing. I've posted exact process on my forum for anyone having this issue. Virtualmin S3 Backup failed: Missing Perl Module S3::AWSAuthConnection
Submitted by JamieCameron on Sat, 07/13/2019 - 09:33 Comment #5
Thanks! We will add checks for those missing modules.