In attempt to run the perl script /bin/prepare-company-database, I first had to: export PERL5LIB=lib/.
Then I ran the script. This was the output I received:
Can't locate LedgerSMB/User.pm in @INC (you may need to install the LedgerSMB::User module) (@INC contains: lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5.36 /usr/share/perl/5.36.0 /usr/share/perl/x86_64-linux-gnu/perl5.36.0).
BEGIN failed--compilation aborted at lib/LedgerSMB/App_State.pm line 18.
Compilation failed in require at lib/LedgerSMB.pm line 253.
BEGIN failed--compilation aborted at lib/LedgerSMB.pm line 253.
Compilation failed in require at ./bin/prepare-company-database line 38.
BEGIN failed--compilation aborted at ./bin/prepare-company-database line 38.
What should have happened?
I was hoping that it would create the company in my connected managed postgres database server. However, it seems some modules are missing. I can't find where LedgerSMB/User.pm is supposed and the system cannot seem to locate it either.
Version
1.11.18-dev
What browsers are you seeing the problem on?
This problem isn't browser related
What happened?
I'm running a modified docker image on Digitalocean's App Platform based on the code at commit 0bcd8092e932be760a27fcbce038ce494462fc7a: https://gist.github.com/walidmujahid/db362783268147b3c3259be33dc76d1f
In attempt to run the perl script
/bin/prepare-company-database
, I first had to:export PERL5LIB=lib/
.Then I ran the script. This was the output I received:
What should have happened?
I was hoping that it would create the company in my connected managed postgres database server. However, it seems some modules are missing. I can't find where
LedgerSMB/User.pm
is supposed and the system cannot seem to locate it either.