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/>.