Could not compile /mnt/catalyst/koha/installer/install.pl: Can't locate InstallAuth.pm in @INC (you may need to install the InstallAuth module) (@INC contains: /mnt/catalyst/koha /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /mnt/catalyst/koha/installer/install.pl line 7. BEGIN failed--compilation aborted at /mnt/catalyst/koha/installer/install.pl line 7. at /usr/share/perl5/CGI/Compile.pm line 108 This is because InstallAuth.pm is in the installer directory, not C4 where everything else is expected to be.
Created attachment 26734 [details] [review] Bug 12023 - move InstallAuth.pm to be in C4 InstallAuth was in the installer directory, which meant that plack was unable to find it, and so running the webinstaller would fail. This moves it into C4, Test plan: * Make sure the web installer runs under plack * Make sure the web installer runs under non-plack
Created attachment 28411 [details] [review] [signed - off] Bug 12023 - move InstallAuth.pm to be in C4 InstallAuth was in the installer directory, which meant that plack was unable to find it, and so running the webinstaller would fail. This moves it into C4, Test plan: * Make sure the web installer runs under plack * Make sure the web installer runs under non-plack Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Created attachment 28421 [details] [review] Bug 12023 - move InstallAuth.pm to be in C4 InstallAuth was in the installer directory, which meant that plack was unable to find it, and so running the webinstaller would fail. This moves it into C4, Test plan: * Make sure the web installer runs under plack * Make sure the web installer runs under non-plack Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Created attachment 28422 [details] [review] Bug 12023: installer - FIX redirect to step 3 This patch fixes the redirection to step 3. If you go on installer/install.pl and Koha is already installed, you should be redirected to the step 3. Without this patch, the script raised an internal error (500). Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Created attachment 28452 [details] [review] Bug 12023: installer - FIX redirect to step 3 This patch fixes the redirection to step 3. If you go on installer/install.pl and Koha is already installed, you should be redirected to the step 3. Without this patch, the script raised an internal error (500). Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Pushed to master and 3.16.x. Thanks Robin and Jonathan!