Question about values for create_surperlibrian.pl
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
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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Are you talking about this step? If so, I can't log in yet because I don't know a username and password. Access the web interface You will need to have your DNS set up for this. The default hostnames are: - *libraryname*.*domain* for the public interface - *libraryname*-intra.*domain* for the staff interface where: - *libraryname* is the name provided to koha-create - *domain* is the value of *DOMAIN* that you set in /etc/koha/koha-sites.conf If you want to change the hostname details of the instance, you can edit /etc/apache2/sites-enabled/*libraryname*.conf and restart Apache. Open a web browser, and point it to your staff interface, by going to http://*libraryname*-intra.*domain*, or whatever you manually configured. When you see the login for the Koha installer, the username and password are in the *koha-conf.xml* file for the instance. You can view the password with: $ sudo koha-passwd libraryname On Thu, Nov 28, 2019 at 2:38 AM Jonathan Druart < jonathan.druart@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
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@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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
-- Christos Hayward
You should not manually change those as they are also the credentials for the database. You would need to change the database permissions accordingly. On 28.11.19 16:17, Christos Hayward 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@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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
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@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@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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
-- Christos Hayward
-- Christos Hayward
Hi Christos, maybe it would be easiest to start with a new instance. Usually it works like Jonathan described. The initial login into the web installer is done with the password found in koha-conf.xml. There you create the user to use Koha with in the 'onboarding' process. Katrin On 28.11.19 18:05, Christos Hayward 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@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@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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
-- Christos Hayward
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@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@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@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@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@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@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
-- Christos Hayward
-- Christos Hayward
-- Christos Hayward
The right user and pass combination is in the <config> section with the db_scheme and database name. I think you might be looking in the wrong spot. If you haven't run the web installer yet, there will be no tables in your database and creating a user won't work. Katrin On 28.11.19 18:37, Christos Hayward wrote:
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@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@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@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@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@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@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@lists.katipo.co.nz > https://lists.katipo.co.nz/mailman/listinfo/koha
-- Christos Hayward
-- Christos Hayward
-- Christos Hayward
participants (3)
-
Christos Hayward -
Jonathan Druart -
Katrin Fischer