Re: 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,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 GSent 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%3E > " 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> > >
participants (2)
-
Louis
-
lsmbdev