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 <[email protected]> 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 < > [email protected]> 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 >> <[email protected]> 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 < >> [email protected]> 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 >> >> <[email protected]> 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 >> >> > [email protected] >> >> > https://lists.katipo.co.nz/mailman/listinfo/koha >> > >> > >> > >> > -- >> > Christos Hayward >> > > > -- > Christos Hayward > -- Christos Hayward _______________________________________________ Koha mailing list http://koha-community.org [email protected] https://lists.katipo.co.nz/mailman/listinfo/koha

