[Koha] Question about values for create_surperlibrian.pl
Christos Hayward
christos.hayward at gmail.com
Fri Nov 29 06:37:35 NZDT 2019
P.S. A *find / -name koha-conf.xml* only turns up */root/koha-conf.xml* (a
backup copy I made before fiddling with the files), and a *<serverinfo
id="biblioserver">* tag which contains populated *<ccel2rpn>*,*<user>*, and
*<password>* tags, alongside similar tags for an "*authorityserver*" ID and
a commented out *PUBLICSERVER* entry. I tried the default value, my own
specified values, and the password provided by *koha-passwd catalog*
(should I drop a trailing "@"?).
There seems to be some disconnect in my installation as I essentially
tried this, that, and the other and have never managed to log in.`
Maybe I should go back to trying to find data (from MariaDB data?) to
create a (possibly additional) superlibrarian?
Thanks for any help,
On Thu, Nov 28, 2019 at 11:05 AM Christos Hayward <
christos.hayward at gmail.com> wrote:
> P.S.
>
> I tried those things and failed to ever log in before asking the list. I
> genuinely do not understand how to get an
> /etc/koha/sites/catalog/koha-conf.xml and/or
> /etc/koha/sites/catalog/zebra.passwd and log in after either obtaining or
> setting a username and password.
>
> Can you help me pass this hurdle?
>
>
> Thanks,
>
> On Thu, Nov 28, 2019 at 9:17 AM Christos Hayward <
> christos.hayward at gmail.com> wrote:
>
>> I already tried manually setting username and password in
>> /etc/koha/sites/catalog/koha-conf.xml, and have not yet been able to log in
>> either with credentials in the koha-conf.xml or zebra.passwd.
>>
>> Is it wrong to manually change the credentials? Are there ways I might
>> not be able to log in when I used credentials from those files? At present
>> they all specify a user of kohauser and a password I set manually.
>>
>>
>> Many Thanks,
>>
>> On Thu, Nov 28, 2019 at 8:56 AM Jonathan Druart <
>> jonathan.druart at bugs.koha-community.org> wrote:
>>
>>> Forget about that script, you should not need it.
>>>
>>> Either you went through the web installer process and you created a
>>> library, patron's category and user, or you are seeing the login form
>>> to start the installation, and so you will find the credential in your
>>> $KOHA_CONF file, which should point to
>>> /etc/koha/sites/<KOHA_INSTANCE>/koha-conf.xml
>>>
>>> The following 2 commands will return user and password:
>>> sudo xmlstarlet sel -t -v '/yazgfs/config/user' $KOHA_CONF
>>> sudo xmlstarlet sel -t -v '/yazgfs/config/pass' $KOHA_CONF
>>>
>>> Le jeu. 28 nov. 2019 à 15:20, Christos Hayward
>>> <christos.hayward at gmail.com> a écrit :
>>> >
>>> > Where are values for branches.branchcode or categories.categorycode
>>> available? An ack(-grep) in /etc/koha for branches, branchcode, and
>>> categorycode did not turn up information scent.
>>> >
>>> > On Thu, Nov 28, 2019 at 2:38 AM Jonathan Druart <
>>> jonathan.druart at bugs.koha-community.org> wrote:
>>> >>
>>> >> Hello Christos,
>>> >>
>>> >> After you installed Koha via the debian packages you should see the
>>> >> webinstaller. At the end of the install process there is a tool that
>>> >> will guide you through different steps to create a library, a patron's
>>> >> category, and a superlibrarian user.
>>> >> If you have not done the installation it does not make sense to
>>> create an user.
>>> >>
>>> >> branchcode is one value from branches.branchcode, categorycode from
>>> >> categories.categorycode
>>> >>
>>> >> Regards,
>>> >> Jonathan
>>> >>
>>> >>
>>> >> Le jeu. 28 nov. 2019 à 00:33, Christos Hayward
>>> >> <christos.hayward at gmail.com> a écrit :
>>> >> >
>>> >> > For a new installation, does the following make sense?
>>> >> >
>>> >> > create_superlibrarian.pl --userid ________ --password ________
>>> --branchcode
>>> >> > main --categorycode main --cardnumber 1
>>> >> >
>>> >> > If some or all of the --branchcode, --categorycode, or --cardnumber
>>> values
>>> >> > are not what a beginner wants, what should I be supplying?
>>> >> >
>>> >> > (Or how can I found out what I should be supplying?)
>>> >> >
>>> >> > --
>>> >> > Christos Hayward
>>> >> > _______________________________________________
>>> >> > Koha mailing list http://koha-community.org
>>> >> > Koha at lists.katipo.co.nz
>>> >> > https://lists.katipo.co.nz/mailman/listinfo/koha
>>> >
>>> >
>>> >
>>> > --
>>> > Christos Hayward
>>>
>>
>>
>> --
>> Christos Hayward
>>
>
>
> --
> Christos Hayward
>
--
Christos Hayward
More information about the Koha
mailing list