[Koha] Unable to save

Dawson Weber algiers at rfmz-dw.com
Sat Jul 4 13:28:19 NZST 2020


Hi Jonathan,

One quick question about running the command you describe:

$ chown -R USER:USER /var/log/koha/INSTANCE

What USER should I be inserting into this? I understand INSTANCE is the
name of my library.

I've tried the username that I log in with via Terminal and get a list of
folders which all end with "Operation not permitted." I've also tried my
superlibrarian username and that gets an "invalid user" error.

Thank you for your help!
best regards,
Dawson

On Sun, Jun 7, 2020 at 11:55 PM Jonathan Druart <
jonathan.druart at bugs.koha-community.org> wrote:

> 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 <algiers at rfmz-dw.com> 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 <cornejo.alvaro at gmail.com
> >
> > 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 <rpm143 at live.com> 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
> > > > Koha at lists.katipo.co.nz
> > > > 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
> > >
> > _______________________________________________
> >
> > 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