[Koha] Issue logging into staff interface [Plack log complains about missing encryption key]

Katrin Fischer katrin.fischer.83 at web.de
Sat Nov 11 08:24:33 NZDT 2023


Hi Martin,

I believe that should have worked especially after your reboot. I would
add the key back, as you should not leave it with the placeholder string.

Maybe someone else has an idea?

Katrin


On 10.11.23 20:11, Martin Morris wrote:
> Hello Katrin,
>
>
>
> Thanks for your help.  I edited koha-conf.xml in /etc/koha/sites/<instance>/koha-conf.xml, so I think that’s the right place?
>
>
>
> I’m also using 2FA in case that helps.
>
>
>
> Martin
>
>
>
> - - - - - -
>
>
>
> Hi Martin,
>
>
>
> in which file did you replace it?
>
>
>
> You were on the right track there, but make sure to add the entry to the
>
> koha-conf.xml file used by your koha instances/sites. You might have
>
> changed the template instead of the used file.
>
>
>
> Hope this helps,
>
>
>
> Katrin
>
>
>
> On 10.11.23 16:02, Martin Morris wrote:
>
>> Hello all,
>> I’m having trouble logging into our staff interface this morning.  Here’s what’s happening:
>>     *   I’m running koha 23.05.04
>>     *   I get an Error 500 page after putting in my credentials
>>     *   The only error message I can see in any log file is in plack-error.log
>>        *   Exception 'Koha::Exceptions::MissingParameter' thrown 'No encryption_key in koha-conf.xml. Please generate a key. We recommend one of at least 32 bytes. (You might use 'pwgen 32' to do so.)'
>>     *   I currently have the following line in my koha-conf.xml file, as the last entry before </config>
>>        *   <!-- Added 1 Nov 2022 from warning in About page
>> -->
>> <encryption_key>__ENCRYPTION_KEY__</encryption_key>
>> <!-- Added 1 Nov 2022 from warning in About page
>> -->
>>     *   I’ve tried generating a password with ‘pwd 32’, copying the first entry and replacing __ENCRYPTION_KEY__ with that entry, and have rebooted, but it didn’t make any difference so I reverted.
>> Is this a bug?  A known issue?
>> Thanks in advance!
>> Martin
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz<https://lists.katipo.co.nz/mailman/listinfo/koha>
>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list