[Koha] Koha 22.11.5v Fine amount did not Calculate

2023-05-19 Thread MASTeR Library
Hi Koha Community Members,
I just updated my Koha from 22.11.3 to 22.11.5 when I upgraded the server
from Ubuntu MATE 22.11. patrons' account book overdrive fine is not
calculated, only the date shown on the red colour fine amount is not
displayed.

I try to manually fine script commands. cd /etc/cron.daily/ ./koha-common

Get the following error/warning:

No circulation ODUE letter transported by print at
/usr/share/koha/lib/C4/Letters.pm line 585.

Use of uninitialized value in string eq at
/usr/share/koha/lib/C4/Overdues.pm line 612.

I Enclosed the Error Screen message: https://i.ibb.co/W5DkRbk/Fine.png

Can anybody tell me what this means? Is it a big problem?


-- 
 Thanking you..

Librarian,
MAMCET 
Trichy-Chennai Trunk Road,
Siruganur, Tiruchirappalli-621 105.
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-19 Thread Bruce A. Metcalf

On 5/19/23 16:54, Hector Gonzalez Jaime wrote:


You are still missing /usr/sbin in your PATH variable.


That's been added.


It mighty not have been added permanently.

to verify what is on your path, you can type:  echo $PATH


Aha! It wasn't. I've put it back again, but results of that have 
already been posted with a new stop point.


You didn't get to a new stop point, start-stop-daemon is at /sbin
which was NOT on your path, you need to add that and run koha-plack
--start library again so we see what happens.



/sbin is in my path. When I run:

root@store:/usr/sbin# koha-plack --start library
[FAIL] Error: Plack already running for library: failed!

Which is what I call a stop point, as Koha is still not up.

Regards,
/ Bruce /
Bruce A. Metcalf, Librarian
The Augustan Library
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-19 Thread Bruce A. Metcalf

On 5/19/23 15:19, Hector Gonzalez Jaime wrote:



What does sudo koha-plack --start instancename Do?


root@store:/usr/sbin# koha-plack --start library bash: 
koha-plack: command not found


Which seems even more weird. Are the permissions wrong?


You are still missing /usr/sbin in your PATH variable.


That's been added.


It mighty not have been added permanently.

to verify what is on your path, you can type:  echo $PATH



Aha! It wasn't. I've put it back again, but results of that have already 
been posted with a new stop point.



if it is missing any of the directories, add it with: 
PATH=/sbin:/usr/sbin:$PATH, followed by export PATH


it might be part of .bashrc, but if you are editing root's one, you 
might want to check your regular user's .bashrc first.



Okay, you lost me here. I'm not aware of .bashrc, so am not aware if I
am, or should be, editing it.

Thanks again for trying.

Regards,
/ Bruce /
Bruce A. Metcalf, Librarian
The Augustan Library

___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-19 Thread Hector Gonzalez Jaime


On 5/18/23 20:46, Bruce A. Metcalf wrote:

On 5/18/23 21:35, Hector Gonzalez Jaime wrote:


What does sudo koha-plack --start instancename Do?


root@store:/usr/sbin# koha-plack --start library bash: koha-plack:
command not found

Which seems even more weird. Are the permissions wrong?


You are still missing /usr/sbin in your PATH variable.



That's been added.

It mighty not have been added permanently.  start-stop-daemon is at 
/sbin, which means that one is missing from your PATH.


to verify what is on your path, you can type:  echo $PATH

if it is missing any of the directorios, add it with: 
PATH=/sbin:/usr/sbin:$PATH, followed by export PATH


it might be part of .bashrc, but if you are editing root's one, you 
might want to check your regular user's .bashrc first.





The command would have run if you had typed:

/usr/sbin/koha-plack --start library



Let me try:

root@store:/usr/sbin# /usr/sbin/koha-plack --start library
/usr/share/koha/bin/koha-functions.sh: line 285: start-stop-daemon: 
command not found

[ ok ] Starting Plack daemon for library:.

Okay, a step forward, but a new challenge. (Been a lot of that in this 
project!)


Line 285 is:

if start-stop-daemon --pidfile 
"/var/run/koha/${instancename}/plack.pid" \


File /var/run/koha/library/plack.pid does exist. It contains a 
five-digit number only.


Okay, I'm stuck again!

Thanks again for all the help.

Regards,
/ Bruce /
Bruce A. Metcalf, Librarian
The Augustan Library


your system seems to be in a strange situation, you might want to 
uninstall koha, remove all dependencies, and install it again:


apt-get remove koha-common <- this does not affect your database
or configuration files. apt-get autoremove <- this
deletes every dependency that is no longer needed, which should be a
ton of perl libraries. apt-get install koha-common  <- this
should reinstall koha, and every one of its dependencies.  If your
system has problems, this command would eventually fail.

If this last command fails, I'd like to see the contents of your 
/etc/apt/sources.list file and every file at /etc/apt/sources.list.d




Regards, / Bruce / Bruce A. Metcalf, Librarian The Augustan
Library ___

Koha mailing list  http://koha-community.org Koha@lists.katipo.co.nz 
Unsubscribe:

https://lists.katipo.co.nz/mailman/listinfo/koha



___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


--
Hector Gonzalez
ca...@genac.org

___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha