Paul A schreef op di 06-01-2015 om 19:21 [-0500]:
Thanks - correct: the new user koha18-koha does not have it.
$ sudo -Hiu koha18-koha env | grep koha USER=koha18-koha USERNAME=koha18-koha MAIL=/var/mail/koha18-koha PWD=/var/lib/koha/koha18 HOME=/var/lib/koha/koha18 LOGNAME=koha18-koha
However, global env includes the correct koha path: $ printenv | grep koha PERL5LIB=/usr/share/koha/lib KOHA_CONF=/etc/koha/sites/koha18/koha-conf.xml KOHA_PATH=/usr/share/koha
How to set up the new user's envvars? There's no "home" or "profile" as far
Stop wanting that. This won't help you at all, you don't need to have them, when they are required they are automatically set appropriately. If you know why you need them, then you also know enough to know how to set them up. If you don't know why you need them, then all you're going to do is get yourself in trouble by prodding at things you shouldn't prod at.
Yesterday you suggested that username/pw would be in koha-conf.xml -- but this just has the [correct] mysql db credentials, and the new zebra user/pw.
Yes... what else would you expect?
Is there any easy way to remove this "instance" and start over?
This is all documented: http://wiki.koha-community.org/wiki/Talk:Koha_on_Debian#Other_Commands -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF