Re: Question re 1.7.29 upgrade from 1.6.32
I'm running debian buster with postgresql 11. I install from tarball. Thanks for the assistance, Louis On Fri, 4 Jun 2021, lsmbdev wrote:
Hi Louis,
You've got me with this one.
I haven't seen it before.
Erik may have and he should be up and about in the next few hours.
Regardless we will find an answer for you.
What platform (OS) are you installing on?
And did you install from source or the tarball?
Regards David G
Sent from my Galaxy
-------- Original message -------- From: Louis <lbmlist@hethcote.com> Date: 4/6/21 12:59 (GMT+08:00) To: lsmbdev <lsmbdev@sbts.com.au>, users@lists.ledgersmb.org Subject: RE: [ledgersmb-users] Question re 1.7.29 upgrade from 1.6.32
Ok, made it through starting the service. login.pl works and tells you to run setup.pl. Logged on to setup and selected upgrade db.
Now I'm getting
" Error!
Can't locate object method "verify_helpers" via package "LedgerSMB::Database" at lib/LedgerSMB/Scripts/setup.pm line 242.
dbversion: hethcote, company: 1.7.29 "
Is this a know problem?
On Fri, 4 Jun 2021, lsmbdev wrote:
Hi Louis,
The name of the service (what you use on the command line to start/stop/reload/etc) is declared inside the .service file. It actually doesn't have to be the same as the name of the service file, although it most often is.
You are welcome to change the name if that will help with remembering the service name.
We possibly should look at the service name and it's file name before 1.9 release to ensure we are following accepted standards
Regards David G
Sent from my Galaxy
-------- Original message -------- From: Louis <lbmlist@hethcote.com> Date: 4/6/21 09:22 (GMT+08:00) To: users@lists.ledgersmb.org Subject: [ledgersmb-users] Question re 1.7.29 upgrade from 1.6.32
Greetigns,
Looking at https://ledgersmb.org/content/upgrade-ledgersmb-17-16-or-15
" Stop the LedgerSMB application server (e.g. Starman) $ sudo service starman-ledgersmb stop . . . Upgrade the LedgerSMB Starman SysV or systemd scripts (the new scripts can be found in /usr/local/ledgersmb/conf/systemd/ ) $ sudo cp /usr/local/ledgersmb/conf/systemd/ledgersmb_starman.service \ /etc/systemd/system/ledgersmb.service $ sudo systemctl daemon-reload
Start the LedgerSMB application server again (Starman example given, as before): $ sudo service starman-ledgersmb start "
Am I misunderstanding something? It seems as though documentation has me stop the service for 1.6 as starman-ledgersmb, then copy the file ledgersmb_starman.service to /etc/systemd/system/ledgersmb.service. After the daemon-reload, I start service starman-ledgersmb.
It seems to me that /usr/local/ledgersmb/conf/systemd/ledgersmb_starman.service should be copied to /etc/systemd/system/starman-ledgersmb.service to keep the service name the same.
Systemd is not my strong suit so I want to confirm the steps before trying them out.
Thanks all,
Louis _______________________________________________ users mailing list -- users@lists.ledgersmb.org To unsubscribe send an email to users-leave@lists.ledgersmb.org
Hi Louis, On Fri, Jun 4, 2021 at 7:50 AM Louis B. Moore <lbmoore@hethcote.com> wrote:
I'm running debian buster with postgresql 11. I install from tarball.
The problem you're running into is an outdated version of LedgerSMB::Util::DBAdmin: Buster has version 0.130.1, but 1.7 depends on
=1.3.0.
Checking the minimum compatibility requirement made me notice that the dependency declaration is entirely missing from our "cpanfile". I'm adding it now to be available in a next release. Thanks for identifying this bug! Regards, -- Bye, Erik. http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.
HI Louis, On Fri, Jun 4, 2021 at 10:08 AM Erik Huelsmann <ehuels@gmail.com> wrote:
Hi Louis,
On Fri, Jun 4, 2021 at 7:50 AM Louis B. Moore <lbmoore@hethcote.com> wrote:
I'm running debian buster with postgresql 11. I install from tarball.
The problem you're running into is an outdated version of LedgerSMB::Util::DBAdmin: Buster has version 0.130.1, but 1.7 depends on
=1.3.0.
The reason I couldn't find the dependency is because it's named PGObject::Util::DBAdmin and it has a declared minimum dependency version of 1.0.1 on LedgerSMB 1.7.x (1.4.0 is advised). Bullseye has 1.4.0. Did you manually upgrade PGObject::Util::DBAdmin (or any of the other minimum-version specified dependencies)? Regards, -- Bye, Erik. http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.
I generally use the distribution's libraries unless I need a more recent one, then I install with cpan. I've installed EHUELS/PGObject-Util-DBAdmin-1.4.0.tar.gz with cpan and have received the same error. I'm planning on reviewing all dependencies and paths latter today. Thank you, Louis On Fri, 4 Jun 2021, Erik Huelsmann wrote:
HI Louis,
On Fri, Jun 4, 2021 at 10:08 AM Erik Huelsmann <ehuels@gmail.com> wrote: Hi Louis,
On Fri, Jun 4, 2021 at 7:50 AM Louis B. Moore <lbmoore@hethcote.com> wrote: I'm running debian buster with postgresql 11. I install from tarball.
The problem you're running into is an outdated version of LedgerSMB::Util::DBAdmin: Buster has version 0.130.1, but 1.7 depends on >=1.3.0.
The reason I couldn't find the dependency is because it's named PGObject::Util::DBAdmin and it has a declared minimum dependency version of 1.0.1 on LedgerSMB 1.7.x (1.4.0 is advised). Bullseye has 1.4.0. Did you manually upgrade PGObject::Util::DBAdmin (or any of the other minimum-version specified dependencies)?
Regards, -- Bye, Erik.
http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.
I am up and running 1.7.29. I reworked my process to remove some mistaken steps and rolled into the 1.7 line without issue. I'll try the 1.8 migration soon. Thank you, Louis On Fri, 4 Jun 2021, Louis B. Moore wrote:
I generally use the distribution's libraries unless I need a more recent one, then I install with cpan.
I've installed EHUELS/PGObject-Util-DBAdmin-1.4.0.tar.gz with cpan and have received the same error. I'm planning on reviewing all dependencies and paths latter today.
Thank you,
Louis
On Fri, 4 Jun 2021, Erik Huelsmann wrote:
HI Louis,
On Fri, Jun 4, 2021 at 10:08 AM Erik Huelsmann <ehuels@gmail.com> wrote: Hi Louis,
On Fri, Jun 4, 2021 at 7:50 AM Louis B. Moore <lbmoore@hethcote.com> wrote: I'm running debian buster with postgresql 11. I install from tarball.
The problem you're running into is an outdated version of LedgerSMB::Util::DBAdmin: Buster has version 0.130.1, but 1.7 depends on >=1.3.0.
The reason I couldn't find the dependency is because it's named PGObject::Util::DBAdmin and it has a declared minimum dependency version of 1.0.1 on LedgerSMB 1.7.x (1.4.0 is advised). Bullseye has 1.4.0. Did you manually upgrade PGObject::Util::DBAdmin (or any of the other minimum-version specified dependencies)?
Regards, -- Bye, Erik.
http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.
participants (2)
-
Erik Huelsmann
-
Louis B. Moore