Skip Menu |

This queue is for tickets about the RT-Extension-ResetPassword CPAN distribution.

Report information
The Basics
Id: 131761
Status: open
Priority: 0/
Queue: RT-Extension-ResetPassword

People
Owner: Nobody in particular
Requestors: marius [...] breakpoint.co.za
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error loading data with initdb
Date: Wed, 12 Feb 2020 16:54:25 +0200
To: bug-RT-Extension-ResetPassword [...] rt.cpan.org
From: Marius van Vuuren <marius [...] breakpoint.co.za>
root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # perl Makefile.PL Cannot determine perl version info from lib/RT/Extension/ResetPassword.pm Using RT configuration from /opt/rt4/lib/RT.pm: etc => /opt/rt4/local/plugins/RT-Extension-ResetPassword/etc html => /opt/rt4/local/plugins/RT-Extension-ResetPassword/html lib => /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib For first-time installation, type 'make initdb'. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for RT::Extension::ResetPassword Writing MYMETA.yml and MYMETA.json root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # make initdb /usr/local/bin/perl -Ilib -I/opt/rt4/local/lib -I/opt/rt4/lib /opt/rt4/sbin/rt-setup-database --action insert --datadir etc --datafile etc/initialdata --dba root --prompt-for-dba-password --package RT::Extension::ResetPassword --ext-version 1.04 In order to create or update your RT database, this script needs to connect to your mysql instance on localhost (port '') as root Please specify that user's database password below. If the user has no database password, just press return. Password: Working with: Type: mysql Host: localhost Port: Name: rt4 User: rt_user DBA: root Now inserting data. Couldn't finish 'insert' step. ERROR: Couldn't load data from 'etc/initialdata': ERROR:Can't locate etc/initialdata in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension-Memo/lib /opt/rt4/local/plugins/RT-Extension-JSGantt/lib /opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30) at /opt/rt4/sbin/../lib/RT/Handle.pm line 921. Do you have the correct initialdata handler in RT_Config for this type of file? ...returned with error: 65280 *** Error code 2 Stop. make: stopped in /root/rt_plugins/RT-Extension-ResetPassword-1.04 Marius van Vuuren +27 (0)21 975 6434 <tel:+27219756434> +27 (0)84 994 0089 <tel:+27849940089> https://breakpoint.co.za <applewebdata://2F8C47F9-50F7-4E5E-A360-9E20C365BC32/www.breakpoint.co.za> -- The content of this message is subject to the terms and conditions available here <http://breakpoint.co.za/email-disclaimer/>.
Hi Marius Thanks for the report. It's because "." is no longer in @INC since perl-5.26. RT-Extension-ResetPassword-1.05 is released to fix this. Regards sunnavy On Wed Feb 12 09:54:39 2020, marius@breakpoint.co.za wrote: Show quoted text
> root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # perl > Makefile.PL > Cannot determine perl version info from > lib/RT/Extension/ResetPassword.pm > Using RT configuration from /opt/rt4/lib/RT.pm: > etc => /opt/rt4/local/plugins/RT-Extension-ResetPassword/etc > html => /opt/rt4/local/plugins/RT-Extension-ResetPassword/html > lib => /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib > For first-time installation, type 'make initdb'. > Checking if your kit is complete... > Looks good > Generating a Unix-style Makefile > Writing Makefile for RT::Extension::ResetPassword > Writing MYMETA.yml and MYMETA.json > root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # make initdb > /usr/local/bin/perl -Ilib -I/opt/rt4/local/lib -I/opt/rt4/lib > /opt/rt4/sbin/rt-setup-database --action insert --datadir etc > --datafile etc/initialdata --dba root --prompt-for-dba-password > --package RT::Extension::ResetPassword --ext-version 1.04 > In order to create or update your RT database, this script needs to > connect to your mysql instance on localhost (port '') as root > Please specify that user's database password below. If the user has no > database > password, just press return. > > Password: > Working with: > Type: mysql > Host: localhost > Port: > Name: rt4 > User: rt_user > DBA: root > Now inserting data. > Couldn't finish 'insert' step. > > ERROR: Couldn't load data from 'etc/initialdata': > ERROR:Can't locate etc/initialdata in @INC (@INC contains: > /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension- > Memo/lib /opt/rt4/local/plugins/RT-Extension-JSGantt/lib > /opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib > /usr/local/lib/perl5/site_perl/mach/5.30 > /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach > /usr/local/lib/perl5/5.30) at /opt/rt4/sbin/../lib/RT/Handle.pm line > 921. > > > Do you have the correct initialdata handler in RT_Config for this type > of file? > > ...returned with error: 65280 > *** Error code 2 > > Stop. > make: stopped in /root/rt_plugins/RT-Extension-ResetPassword-1.04 > Marius van Vuuren > +27 (0)21 975 6434 <tel:+27219756434> > +27 (0)84 994 0089 <tel:+27849940089> > https://breakpoint.co.za <applewebdata://2F8C47F9-50F7-4E5E-A360- > 9E20C365BC32/www.breakpoint.co.za>
Subject: Re: [rt.cpan.org #131761] Error loading data with initdb
Date: Mon, 17 Feb 2020 09:19:19 +0200
To: bug-RT-Extension-ResetPassword [...] rt.cpan.org
From: Marius van Vuuren <marius [...] breakpoint.co.za>
Thank you very much, Will deploy and let you know if there are any issues Show quoted text
> On 15 Feb 2020, at 00:03, sunnavy via RT <bug-RT-Extension-ResetPassword@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=131761 > > > Hi Marius > > Thanks for the report. It's because "." is no longer in @INC since perl-5.26. RT-Extension-ResetPassword-1.05 is released to fix this. > > Regards > sunnavy > > On Wed Feb 12 09:54:39 2020, marius@breakpoint.co.za wrote:
>> root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # perl >> Makefile.PL >> Cannot determine perl version info from >> lib/RT/Extension/ResetPassword.pm >> Using RT configuration from /opt/rt4/lib/RT.pm: >> etc => /opt/rt4/local/plugins/RT-Extension-ResetPassword/etc >> html => /opt/rt4/local/plugins/RT-Extension-ResetPassword/html >> lib => /opt/rt4/local/plugins/RT-Extension-ResetPassword/lib >> For first-time installation, type 'make initdb'. >> Checking if your kit is complete... >> Looks good >> Generating a Unix-style Makefile >> Writing Makefile for RT::Extension::ResetPassword >> Writing MYMETA.yml and MYMETA.json >> root@rt:~/rt_plugins/RT-Extension-ResetPassword-1.04 # make initdb >> /usr/local/bin/perl -Ilib -I/opt/rt4/local/lib -I/opt/rt4/lib >> /opt/rt4/sbin/rt-setup-database --action insert --datadir etc >> --datafile etc/initialdata --dba root --prompt-for-dba-password >> --package RT::Extension::ResetPassword --ext-version 1.04 >> In order to create or update your RT database, this script needs to >> connect to your mysql instance on localhost (port '') as root >> Please specify that user's database password below. If the user has no >> database >> password, just press return. >> >> Password: >> Working with: >> Type: mysql >> Host: localhost >> Port: >> Name: rt4 >> User: rt_user >> DBA: root >> Now inserting data. >> Couldn't finish 'insert' step. >> >> ERROR: Couldn't load data from 'etc/initialdata': >> ERROR:Can't locate etc/initialdata in @INC (@INC contains: >> /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Extension- >> Memo/lib /opt/rt4/local/plugins/RT-Extension-JSGantt/lib >> /opt/rt4/sbin/../lib lib /opt/rt4/local/lib /opt/rt4/lib >> /usr/local/lib/perl5/site_perl/mach/5.30 >> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach >> /usr/local/lib/perl5/5.30) at /opt/rt4/sbin/../lib/RT/Handle.pm line >> 921. >> >> >> Do you have the correct initialdata handler in RT_Config for this type >> of file? >> >> ...returned with error: 65280 >> *** Error code 2 >> >> Stop. >> make: stopped in /root/rt_plugins/RT-Extension-ResetPassword-1.04 >> Marius van Vuuren >> +27 (0)21 975 6434 <tel:+27219756434> >> +27 (0)84 994 0089 <tel:+27849940089> >> https://breakpoint.co.za <applewebdata://2F8C47F9-50F7-4E5E-A360- >> 9E20C365BC32/www.breakpoint.co.za>
> > >
Marius van Vuuren +27 (0)21 975 6434 <tel:+27219756434> +27 (0)84 994 0089 <tel:+27849940089> https://breakpoint.co.za <applewebdata://A9CE6C61-C14A-4DBE-A73B-0E0C5BE8A918/www.breakpoint.co.za> -- The content of this message is subject to the terms and conditions available here <http://breakpoint.co.za/email-disclaimer/>.