Keywords: Redmine - Amazon Web Services - Technical issue - Other
I created a Bitnami Redmine server on AWS and followed the instructions given in https://docs.bitnami.com/general/apps/redmine/#how-to-configure-redmine-for-advanced-integration-with-subversion for Redmine-Subversion advanced integration.
Currently an SVN repo is created for each new Redmine project automatically but when I try to access the SVN I get Internal Server Error. I looked at the apache error logs located in the following path
/opt/bitnami/apache2/logs/error_log and saw the following error
[Fri May 11 09:10:12.850867 2018] [perl:error] [pid 8505:tid 140131428038400] [client XX.XX.XX.XX:XXXXX] install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /opt/bitnami/git/lib/site_perl/5.16.3/x86_64-linux-thread-multi /opt/bitnami/git/lib/site_perl/5.16.3 /opt/bitnami/perl/lib/5.16.3/x86_64-linux-thread-multi /opt/bitnami/perl/lib/5.16.3 /opt/bitnami/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi /opt/bitnami/perl/lib/site_perl/5.16.3 /opt/bitnami/perl/lib/5.16.3/x86_64-linux-thread-multi /opt/bitnami/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi /bitnami/ruby23stack-linux-x64/output/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi /bitnami/ruby23stack-linux-x64/output/perl/lib/site_perl/5.16.3 /bitnami/ruby23stack-linux-x64/output/perl/lib/5.16.3/x86_64-linux-thread-multi /bitnami/ruby23stack-linux-x64/output/perl/lib/5.16.3 . /opt/bitnami/apache2) at (eval 8) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
at /opt/bitnami/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Apache2/Redmine.pm line 557.
DBD::mysql perl module is not installed.
I tried to install it using cpan but I think it is somehow misconfigured. Second line of the following file
/opt/bitnami/perl/bin/cpan starts as
eval 'exec /bitnami/ruby23stack-linux-x64/output/perl/bin/perl. I changed it to refer the perl in the bitnami stack and succeeded to run cpan but I believe the problem is deeper than that since the module cannot be installed to the expected folders.
Any help to install perl DBD::mysql module in the latest Bitnami Redmine image?