Bug 24687 - Installation errors in Koha-common
Summary: Installation errors in Koha-common
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (command-line installer) (show other bugs)
Version: 19.11
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 23:28 UTC by Jack Boulier
Modified: 2024-01-06 13:17 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Boulier 2020-02-19 23:28:38 UTC
Getting errors about unable to locate Koha configuration file koha-conf.xml at line 245. /usr/share/koha/lib/C4/Context.pm. (Repeated 4 times)

Can't call method "config" on unblessed reference at /usr/share/koha/lib/Koha/Database/pm line 56.
Setting up koha-common (19.11.02-1) ...
failed to load external entity "/etc/koha/sites/jack/koha-conf.xml"
Upgrading database schema for jack
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 245.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 245.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 245.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4/Context.pm line 245.
Can't call method "config" on unblessed reference at /usr/share/koha/lib/Koha/Database.pm line 56.
dpkg: error processing package koha-common (--configure):
 installed koha-common package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)



Using a Dell 7500, 6 core 48 Gig of ram,
Mint 19.3 

Cannot load any Koha software. Attempted a live DVD. Does not respond to the install software from the admin menu, Following instructions from the Live DVD.

Why is this software so difficult to install?
Comment 1 Mason James 2020-02-20 08:27:28 UTC
(In reply to jwboulier from comment #0)
> Getting errors about unable to locate Koha configuration file koha-conf.xml
> at line 245. /usr/share/koha/lib/C4/Context.pm. (Repeated 4 times)
> 
> Can't call method "config" on unblessed reference at
> /usr/share/koha/lib/Koha/Database/pm line 56.
> Setting up koha-common (19.11.02-1) ...
> failed to load external entity "/etc/koha/sites/jack/koha-conf.xml"
> Upgrading database schema for jack

hi there, i think you have bumped into a file permission problem (that you've introduced?), while upgrading

try checking the owner/perms for /etc/koha/sites/jack/*


> Cannot load any Koha software. Attempted a live DVD. Does not respond to the
> install software from the admin menu, Following instructions from the Live
> DVD.

"Live CDs and DVDs ... are not officially supported by Koha, and any difficulties should be taken up with the creator of them.
 https://wiki.koha-community.org/wiki/Koha_LiveCD


perhaps send an email to the general mailing list for further help
 https://koha-community.org/support/koha-mailing-lists/
Comment 2 Martin Renvoize 2020-02-22 08:22:51 UTC
I do not have a Mint OS to test against, but I can inform you that we are not testing against that distro. Our CI tooks test again Debian 8,9, 10 and Ubuntu 18.04 with various combinations of MySQL and MariaDB. As such those are the recommended and guaranteed distributions.

Now, as Mint is Debian based it's likely to work but we do not officially support it.

I'm de-escalating this ticket until it's varified.

I think Mason may have given the best advice to check on the mailing list to see if anyone else is having similar issues in a similar configuration.  As he also states, the community do not maintain any live CDs and as such asking for support with them here will be met with a lack of knowledge.

Good luck, I hope your experience with the software improves. In the majority of cases I am met with friendly thanks for all the efforts this wonderful team undertake to support and improve this free and open software.
Comment 3 Katrin Fischer 2024-01-06 13:17:51 UTC
There has been no new information on this bug in 4 years and no feedback to Mason's suggestions. Closing INVALID for now, please reopen if you still experience any issues.