LedgerSMB
The foundation for your business
Fork me on GitHub
[ledgersmb-users] Migrating from 1.3 to 1.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-users] Migrating from 1.3 to 1.8



After I lost a hard drive on my server, I've been reconstructing from backups, and decided this is a good time to finally migrate away from 1.3.25 to 1.8.11, which I normally wouldn't dream of right before needed to do taxes, but needs must.  After much trial and error, I've got the server up and talking to Chrome through PSGI.  I have gotten as far as setup.pl, and tried migrating one of my company databases.  The migration crashed with:

"Failed to execute pre-migration check no_null_ac_amounts at /usr/local/ledgersmb/tools/../lib/LedgerSMB/Scripts/setup.pm line 669."
"dbversion 1.5.30, company"
"Status: 500 Internal server error (PSGI.pm run_new)"

The starman log has a possibly relevant error :  Failed to execute bin/lsmb-request.pl (): Can't locate PatternLayout.pm in @INC (you may need to install the PatternLayout module) (@INC contains: /usr/local/ledgersmb/tools/../lib /usr/local/ledgersmb/tools/.. lib /usr/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.0 /usr/lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.0 /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi /usr/lib/perl5/5.26.0) at /usr/lib/perl5/site_perl/5.26.0/Log/Log4perl/Util.pm line 51.         ...propagated at /usr/local/ledgersmb/tools/../lib/LedgerSMB.pm line 517.

cpan reports that PatternLayout.pm is up to date. (/usr/lib/perl5/site_perl/5.26.0/Log/Log4perl/Layout/PatternLayout.pm)

PERL5LIB points to /usr/lib/perl5/site-perl/5.26.0/    Grasping at straws, I added a path to /usr/local/ledgersmb/ with no change

I'm running Postgresql 13.2, Perl 5.26.0, and Apache 2.4.27 with reverse proxy to starman running on port 5762.  I have a "pg_dumpall" backup of my databases, so I can experiment, but at the moment I'm stumped.

Victor
_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..