Hi Dawson,

There was a change in 20.05. Before we silently ignored wrong
permissions, now we force the logging system to be setup correctly
(bug 25172)

We should certainly deal with that problem during the upgrade process.
I will see what can be done.

The solution suggested by Alvaro is the correct one, give permission
to your koha user by changing the owner of the Koha log directory:
  $ chown -R USER:USER /var/log/koha/INSTANCE

Regards,
Jonathan

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25172

Le dim. 7 juin 2020 à 02:04, Dawson Weber <[email protected]> a écrit :
>
> Hi Alvaro,
>
> Is it common to have to reset read/write permissions after an upgrade?
>
> Thanks. best, Dawson
>
> On Sat, Jun 6, 2020 at 12:33 PM Alvaro Cornejo <[email protected]>
> wrote:
>
> > Hi
> >
> > You should give read/wite permissions to  your koha user to the mentioned
> > fiile. Even better, to the whole directory since koha will write all logs
> > to that folder
> >
> > /var/log/koha/library/
> >
> > Note that "library" is the instance name of your library.
> >
> > Regards,
> >
> > Alvaro
> >
> > |----------------------------------------------------------------------------------------|
> >  Stay safe / Cuídate/  Reste sécurisé
> > *7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
> > mesure.
> >  *q *Recycle always / Recicla siempre / Recyclez toujours
> >  P Print only if absolutely necessary / Imprime solo si es necesario /
> > Imprimez seulement si nécessaire
> >
> >
> > Le sam. 6 juin 2020 à 08:14, Raphael Meyer <[email protected]> a écrit :
> >
> > >
> > > I was going to add bar codes at 6 am this morning but got this error
> > > instead.
> > > I had just upgraded to 20.05.
> > >
> > >
> > >
> > > Can't open /var/log/koha/library/opac-error.log (Permission denied) at
> > > /usr/share/perl5/Log/Log4perl/Appender/File.pm line 151.
> > >
> > > For help, please send mail to the webmaster ([no address given]<mailto:
> > %5Bno%20address%20given%5D>),
> > > giving this error message and the time and date of the error.
> > >
> > >
> > >
> > >
> > > What can I do?
> > >
> > > Br Raphael
> > > Prince of Peace Abbey
> > > Oceanside CA
> > > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> > > Windows 10
> > >
> > > _______________________________________________
> > >
> > > Koha mailing list  http://koha-community.org
> > > [email protected]
> > > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> > >
> > _______________________________________________
> >
> > Koha mailing list  http://koha-community.org
> > [email protected]
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> >
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> [email protected]
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to