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

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

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

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
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

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Hector Gonzalez Jaime
On 5/18/23 19:18, Bruce A. Metcalf wrote: On 5/18/23 17:35, Chris Cormack wrote: What does sudo koha-plack --start instancename Do? root@store:/home/bruce# koha-plack --start library bash: koha-plack: command not found Which I thought was pretty odd, so I went to the /usr/sbin directory,

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/18/23 17:35, Chris Cormack wrote: What does sudo koha-plack --start instancename Do? root@store:/home/bruce# koha-plack --start library bash: koha-plack: command not found Which I thought was pretty odd, so I went to the /usr/sbin directory, and: root@store:/usr/sbin# ls -l koha-p*

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Chris Cormack
What does sudo koha-plack --start instancename Do? Chris On 19 May 2023 9:11:04 am NZST, "Bruce A. Metcalf" wrote: >On 5/18/23 16:51, Chris Cormack wrote: > >> Ok, so I think now you can try seeing if you have the koha commands back >> >> does sudo koha-list  work and list your instance? >

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/18/23 16:51, Chris Cormack wrote: Ok, so I think now you can try seeing if you have the koha commands back does sudo koha-list  work and list your instance? Yes and yes. If so, you might want to run a koha-dump... Done. Seems to have worked. ...  then try restarting all the

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Chris Cormack
Hi Bruce Oh yes! That's right, way back in 2013 eh? Ok, so I think now you can try seeing if you have the koha commands back does sudo koha-list work and list your instance? If so, you might want to run a koha-dump then try restarting all the Koha services Chris Chris On 19/05/23 08:48,

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/18/23 15:53, Chris Cormack wrote: Hi Bruce I Chris. I remember meeting you in Reno! We've found the problem. root@store:/# apt-get update && apt-get install --reinstall koha-common [some lines skipped] Some packages could not be installed. This may mean that you have requested an

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/18/23 15:52, Hector Gonzalez Jaime wrote: On 5/18/23 13:46, Bruce A. Metcalf wrote: On 5/18/23 14:52, David Liddle wrote: 2.a. Path. What is the result of this command? env | grep -i 'path' root@store:/# env | grep -i 'path' PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Chris Cormack
Hi Bruce We've found the problem. On 19 May 2023 7:46:58 am NZST, "Bruce A. Metcalf" wrote: >On 5/18/23 14:52, David Liddle wrote: > >> Hello, Bruce. You've been good about chasing down the information folks have >> asked for. I'm sorry that we haven't brought you closer >> to a solution. >

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Hector Gonzalez Jaime
On 5/18/23 13:46, Bruce A. Metcalf wrote: On 5/18/23 14:52, David Liddle wrote: Hello, Bruce. You've been good about chasing down the information folks have asked for. I'm sorry that we haven't brought you closer to a solution. I'm no less appreciative of your efforts for that. I have

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/18/23 14:52, David Liddle wrote: Hello, Bruce. You've been good about chasing down the information folks have asked for. I'm sorry that we haven't brought you closer to a solution. I'm no less appreciative of your efforts for that. I have some follow-up questions: 1.a. Database.

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread David Liddle
Hello, Bruce. You've been good about chasing down the information folks have asked for. I'm sorry that we haven't brought you closer to a solution. I have some follow-up questions: 1.a. Database. Once you listed the databases, did you exit the mysql prompt and back up the koha_library database

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-18 Thread Bruce A. Metcalf
On 5/16/23 15:31, Hector Gonzalez Jaime wrote: Can I buy a clue about how to run mysqldump? you can make a backup wich mysqldump like this: mysqldump -u root -p --all-databases > backup.sql you can reinstall koha-common by issuing this command: sudo apt-get install --reinstall koha-common

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-17 Thread Bruce A. Metcalf
On 5/16/23 15:29, David Liddle wrote: Yet another command that may shed some light on the status of your installation:      ~# systemctl status koha-common root@store:/etc/koha# systemctl status koha-common ● koha-common.service - LSB: Start required services for each Koha instance

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-17 Thread Bruce A. Metcalf
On 5/16/23 15:10, David Liddle wrote: Bruce, here are some more suggestions: 1. When it comes to the logs, perhaps a command such as these (and similar) will reveal when and how something went wrong: grep -inr --include \*.log 'koha-common' /var/log/ Results: Binary file

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread Hector Gonzalez Jaime
On 5/16/23 10:51, Bruce A. Metcalf wrote: On 5/15/23 16:41, Galen Charlton wrote: 3. Can I install a new instance in the same virtual machine and transfer the settings and data? Almost everything worth permanently keeping in a typical Koha system is stored in the database. Is MySQL/MariaDB

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread David Liddle
> > Yet another command that may shed some light on the status of your installation: ~# systemctl status koha-common If Koha is running, that will display every active component. ___ Koha mailing list http://koha-community.org

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread David Liddle
Bruce, here are some more suggestions: 1. When it comes to the logs, perhaps a command such as these (and similar) will reveal when and how something went wrong: grep -inr --include \*.log 'koha-common' /var/log/ zgrep -in 'koha-common' /var/log/dpkg.log* 2. You should double-check that

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread Bruce A. Metcalf
On 5/16/23 12:31, David Liddle wrote: What are the results of the following commands? Clearly your installation is incomplete. dpkg -l koha-common root@store:/var/lib/mysql# dpkg -l koha-common Desired=Unknown/Install/Remove/Purge/Hold |

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread Bruce A. Metcalf
On 5/15/23 16:41, Galen Charlton wrote: 3. Can I install a new instance in the same virtual machine and transfer the settings and data? Almost everything worth permanently keeping in a typical Koha system is stored in the database. Is MySQL/MariaDB running and can you get a mysqldump? I'm

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread Bruce A. Metcalf
On 5/15/23 16:35, David Liddle wrote: Bruce, it’s an intriguing problem But I do have some more questions: - What other services are running on that server? Are they all still working correctly? There is another Apache server and a MediaWiki server (which may also run under Apache).

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread David Liddle
Hello again, Bruce, I had some more thoughts today about your situation. What are the results of the following commands? Clearly your installation is incomplete. dpkg -l koha-common dpkg -s koha-common They are similar, in that the first is a summary and the second is more detailed. For example,

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-16 Thread Marcel de Rooy
> Almost everything worth permanently keeping in a typical Koha system is > stored in the database. Just to be complete, dont forget your uploads in the clone folder. They are not stored in the database. Marcel ___ Koha mailing list

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-15 Thread Galen Charlton
Hi, On Sun, May 14, 2023 at 12:38 PM Bruce A. Metcalf < libr...@augustansociety.org> wrote: > 3. Can I install a new instance in the same virtual machine and transfer > the settings and data? Almost everything worth permanently keeping in a typical Koha system is stored in the database. Is

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-15 Thread David Liddle
Bruce, it’s an intriguing problem, since you’ve come from a working system. However, I shouldn’t think about it while I ought to be sleeping. Perhaps others will chime in as the sun works its way across the US. But I do have some more questions: - What other services are running on that server?

Re: [Koha] Fwd: Dead Koha Resuscitation

2023-05-15 Thread Bruce A. Metcalf
On 5/15/23 12:12, David Liddle wrote: I see now that I overlooked your statement that commands such as 'koha-dump' are not recognized. Do they appear in the directory /usr/sbin/? No. Not a single koha- command present in that directory. Do you have automated Koha backups configured that

[Koha] Fwd: Dead Koha Resuscitation

2023-05-14 Thread Bruce A. Metcalf
Greetings, I have a problem with a dead Koha instance than I cannot resolve: I had Koha 21.05 installed on Debian 9 with packages. Previous updates to both had worked fine. I recently tried to update to 21.11 and Debian 10 (with packages). I did both at once because both were at end-of-life