Bug 8146

Summary: koha-create fails (typo?)
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: PackagingAssignee: Robin Sheat <robin>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P5 - low    
Version: 3.8   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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.