[Koha] Install Koha on AlmaLinux 8

Alessandro Tedesco alessandrotedesco at seminario.milano.it
Sat Apr 23 03:36:43 NZST 2022


Hi Alvaro,

thank you very much for your reply!

I have changed the /var/log/koha files permission as follow (see below),
and now I have managed to enter Koha Administration Panel!
Only one question: is it safe to keep all these file in chmod 666?
------------
-rw-r--r-- 1 koha koha       17 Mar 25 11:27 README
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 api-error.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 intranet-error.log
-rw-r--r-- 1 koha koha  3526260 Apr 22 17:32 koha-error_log
-rw-r--r-- 1 koha koha 16758525 Apr 22 17:32 koha-opac-error_log
-rw-r--r-- 1 koha koha    34650 Apr 22 12:09 koha-zebradaemon-output.log
-rw-r--r-- 1 koha koha    41328 Apr 22 12:09 koha-zebradaemon.err
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 opac-error.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 plack-api-error.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 plack-intranet-error.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 plack-opac-error.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 sip.log
-rw-rw-rw- 1 koha koha        0 Apr 22 15:54 z3950-error.log
------------
Thanks and have a nice day!
Alessandro


Il giorno ven 22 apr 2022 alle ore 17:03 Alvaro Cornejo <
cornejo.alvaro at gmail.com> ha scritto:

> Hi Alessandro,
>
> Have you checked the permission of your log
> file  /var/log/koha/z3950-error.log ?
>
> You might need to change it and give it write access to everybody.
>
> 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 ven. 22 avr. 2022 à 09:49, Alessandro Tedesco <
> alessandrotedesco at seminario.milano.it> a écrit :
>
>> Hi,
>>
>> I have workedaround the Onboarding Web Installer issues in creating
>> Superlibrarian Patron with the "create_superlibrarian.pl" and now I have
>> finished the Web Installation process.
>>
>> However, when I try to connect to the Koha administration panel, I get the
>> 500 Internal Server Error; and again, the only error that I see in
>> /var/log/
>> koha/koha-error_log is related to z3950:
>> -------------------------
>> Can't open /var/log/koha/z3950-error.log (Permission denied) at
>> /usr/share/perl5/vendor_perl/Log/Log4perl/Appender/File.pm line 151.:
>> /usr/share/koha/intranet/cgi-bin/mainpage.pl
>> End of script output before headers: mainpage.pl
>> Can't open /var/log/koha/z3950-error.log (Permission denied) at
>> /usr/share/perl5/vendor_perl/Log/Log4perl/Appender/File.pm line 151.:
>> /usr/share/koha/intranet/cgi-bin/errors/500.pl
>> End of script output before headers: 500.pl
>> -------------------------
>> Does anyone have any idea how to try to fix it?
>>
>> Thanks and have a nice day!
>> Alessandro
>>
>> Il giorno ven 22 apr 2022 alle ore 13:17 Alessandro Tedesco <
>> alessandrotedesco at seminario.milano.it> ha scritto:
>>
>> > Hi,
>> >
>> > checking /var/log/koha/koha-error_log, I found that the only error
>> > generated when I try to create the Superlibrarian with the Onboarding
>> Web
>> > Installer is:
>> > ----------------
>> > Can't open /var/log/koha/z3950-error.log (Permission denied) at
>> > /usr/share/perl5/vendor_perl/Log/Log4perl/Appender/File.pm line 151. at
>> > /usr/share/koha/lib/Koha/Patron.pm line 355:
>> > /usr/share/koha/intranet/cgi-bin/installer/onboarding.pl
>> > ----------------
>> > Can be a issues related to Z3950?
>> >
>> > Thanks and have a nice day!
>> > Alessandro
>> >
>> >
>> > Il giorno gio 21 apr 2022 alle ore 13:09 Alessandro Tedesco <
>> > alessandrotedesco at seminario.milano.it> ha scritto:
>> >
>> >> Hi,
>> >>
>> >> I have finally installed Koha 21.11.04 on AlmaLinux 8 and I was able to
>> >> start the Web Installer.
>> >>
>> >> Everything seems to be working fine.
>> >>
>> >> However, when I get to the creation of the "Koha Administrator Patron"
>> >> (in Onboarding section), after filling in all the required data, I
>> always
>> >> get this error message: "The patron has not been created! Cardnumber or
>> >> Userid may already exist." and I cannot proceed with the Web Installer.
>> >>
>> >> Does anyone have an idea what can cause this issue?
>> >>
>> >> Thanks and have a nice day!
>> >> Alessandro
>> >>
>> >> *Alessandro Tedesco, Ph.D.*
>> >>
>> >> Direttore della Biblioteca "Cardinale Carlo Maria Martini" del
>> Seminario
>> >> Arcivescovile di Milano
>> >>
>> >> Via Pio XI, 32 – 21040 Venegono Inferiore (VA) |
>> >> www.BibliotecaSeminarioMilano.it <
>> https://bibliotecaseminariomilano.it/>
>> >>
>> >> *E-mail:* alessandrotedesco at seminario.milano.it
>> >>
>> >> *Tel.:* +39 0331 867 610
>> >>
>> >>
>> >> Il giorno mar 19 apr 2022 alle ore 01:55 <dcook at prosentient.com.au> ha
>> >> scritto:
>> >>
>> >>> It's certainly possible to install Koha on AlmaLinux, but it will
>> >>> probably be a challenging experience, as the main community supported
>> >>> installation is using Debian packages on Debian/Ubuntu.
>> >>>
>> >>> In the past, I used to run a customized version of Koha on OpenSUSE
>> >>> using RPM packages. That made code deployments much easier. My spec
>> file
>> >>> wouldn't be directly usable, but I could provide some advice, if you
>> went
>> >>> down that route.
>> >>>
>> >>> For Perl dependencies, as Tomas says, you'd want to use the cpanfile.
>> (
>> >>> https://metacpan.org/dist/Module-CPANfile/view/lib/cpanfile.pod and
>> >>> https://metacpan.org/pod/cpanm).
>> >>>
>> >>> Docker could be an option, but I wouldn't suggest it unless you're
>> >>> already familiar with using Docker.
>> >>>
>> >>> Your main challenges with AlmaLinux would probably be installing the
>> >>> Perl dependencies, configuring Apache, setting up cronjobs, and
>> setting up
>> >>> services (Zebra indexer, Zebra search server, Plack application
>> server).
>> >>> You get all of that for free with the Debian packages, but have to do
>> it
>> >>> manually with other installation methods.
>> >>>
>> >>> David Cook
>> >>> Senior Software Engineer
>> >>> Prosentient Systems
>> >>> Suite 7.03
>> >>> 6a Glen St
>> >>> Milsons Point NSW 2061
>> >>> Australia
>> >>>
>> >>> Office: 02 9212 0899
>> >>> Online: 02 8005 0595
>> >>>
>> >>> -----Original Message-----
>> >>>
>> >>> Date: Fri, 15 Apr 2022 11:53:03 -0300
>> >>> From: Tomas Cohen Arazi <tomascohen at gmail.com>
>> >>> To: Alessandro Tedesco <alessandrotedesco at seminario.milano.it>
>> >>> Cc: koha <koha at lists.katipo.co.nz>
>> >>> Subject: Re: [Koha] Install Koha on AlmaLinux 8
>> >>> Message-ID:
>> >>>         <CABZfb=Vh7Z0f_bcMa3sY1=tjL9rUUk=
>> >>> bnFioTVGUEcd-pHKaXw at mail.gmail.com>
>> >>> Content-Type: text/plain; charset="UTF-8"
>> >>>
>> >>> The Koha source code contains a cpanfile, which can be used to pull
>> the
>> >>> perl dependencies.
>> >>>
>> >>> The rest should be an old school dev install.
>> >>>
>> >>> I think the instructions you were given should work for most of it.
>> >>>
>> >>> El mié, 13 abr 2022 9:48, Alessandro Tedesco <
>> >>> alessandrotedesco at seminario.milano.it> escribió:
>> >>>
>> >>> > Hi all,
>> >>> >
>> >>> > I have to install Koha on AlmaLinux 8 and I wonder if anyone has
>> tried
>> >>> > to do such a thing, or if anyone can suggest some documentation.
>> >>> >
>> >>> > Thanks and have a good day!
>> >>> >
>> >>> > Alessandro
>> >>>
>> >>> _______________________________________________
>> >>>
>> >>> 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