Bug 8146 - koha-create fails (typo?)
Summary: koha-create fails (typo?)
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 3.8
Hardware: All All
: P5 - low major (vote)
Assignee: Robin Sheat
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-23 21:28 UTC by Tomás Cohen Arazi
Modified: 2014-12-07 20:02 UTC (History)
0 users

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 Tomás Cohen Arazi 2012-05-23 21:28:32 UTC
Using debian packages on a Ubuntu 12.04 server, I get the following error when creating an instance in a vanilla setup (using apt-get install koha-common):

# koha-create --create-db kohatest
sed: -e expression #12, char 17: unknown option to `s'

# apt-cache show koha-common
Package: koha-common
Source: koha
Version: 3.8.0-1
Architecture: all
Maintainer: Robin Sheat <robin@catalyst.net.nz>
...
Comment 1 Tomás Cohen Arazi 2012-05-23 21:34:50 UTC
There was a problem with the password used in /etc/koha/passwd which was created by mkpasswd and contained invalid characters.
We could try make the script handle this errors more consistently.
Comment 2 Robin Sheat 2012-05-23 21:48:07 UTC
I need to change the docs, the passwd file is by no means a requirement (I've never actually used it.) However the docs make it seems more important than it is.

That said, it should handle invalid stuff in there cleanly still.