[Koha] Koha not compatible with Plesk Control Panel?

Alessandro Tedesco alessandro.tedesco.it at gmail.com
Thu Sep 28 22:31:02 NZDT 2023


Hi Mason,

as per my previous message, I'm trying to understand why I am able to
install the Koha 21.11 version on "Ubuntu 22.04.3 LTS (jammy) + Plesk
Obsidian 18.0.55" (even though the 21.11 version also depends on
libmojolicious-perl).

What I saw was that:
-------------------------------------------------------------------
# apt info koha-common | grep Depends
[For 23.05] Depends: ... libmojolicious-perl ...
[For 22.11] Depends: ... libmojolicious-perl ...
[For 22.05] Depends: ... libmojolicious-perl (>= 6.0) ...
[For 21.11] Depends: ... libmojolicious-perl (>= 6.0) ...
-------------------------------------------------------------------
Is it possible that - despite I am in Ubuntu jammy - the
libmojolicious-perl (declared >= 6.0) required by koha-common (for the Koha
21.11 version), is installed in the libmojolicious-perl (8.33+dfsg-1)
version (for Ubuntu focal): version that doesn't require javascript-common
dependency?
While all other koha-common packages (for the newer Koha versions) always
try to install the libmojolicious-perl (9.22+dfsg-1) version?

Thanks and Kind Regards
Alessandro

Il giorno mer 27 set 2023 alle ore 16:00 Alessandro Tedesco <
alessandro.tedesco.it at gmail.com> ha scritto:

> Hi Mason,
>
> Thanks for your reply.
>
> > so your success with koha 21.11 is probably due to installing on an
> older ubuntu version (focal?)
>
> Actually no: I did the tests one after the other and the OS version never
> changed: *Ubuntu 22.04.3 LTS (jammy) + Plesk Obsidian 18.0.55*.
>
> -------------------------------------------
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 22.04.3 LTS
> Release: 22.04
> Codename: jammy
>
> -------------------------------------------
>
> Let me summarize everything.
>
> If I try to install Koha *23.05*
>
> -------------------------------------------
> # echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee
> /etc/apt/sources.list.d/koha.list
> # sudo apt-get update
> # sudo apt-get install koha-common
> -------------------------------------------
>
>
> If I try to install Koha *22.11*
>
> -------------------------------------------
> # echo 'deb http://debian.koha-community.org/koha oldstable main' | sudo
> tee /etc/apt/sources.list.d/koha.list
> # sudo apt-get update
> # sudo apt-get install koha-common
> -------------------------------------------
>
>
> If I try to install Koha *22.05*
>
> -------------------------------------------
>
> # echo 'deb http://debian.koha-community.org/koha oldoldstable main' |
> sudo tee /etc/apt/sources.list.d/koha.list
> # sudo apt-get update
> # sudo apt-get install koha-common
> -------------------------------------------
>
>
> I get this error and can't proceed:
>
> -------------------------------------------
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> psa : Conflicts: javascript-common but 11+nmu1 is to be installed
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
> by held packages.
> -------------------------------------------
>
>
> However, If I try to install Koha *21.11*
>
> -------------------------------------------
> # echo 'deb http://debian.koha-community.org/koha 21.11 main' | sudo tee
> /etc/apt/sources.list.d/koha.list
> # sudo apt-get update
> # sudo apt-get install koha-common
> -------------------------------------------
>
> The installation starts and everything goes fine: Koha is installed.
>
> Thanks and Kind Regards
> Alessandro
>
> Il giorno mer 27 set 2023 alle ore 00:04 Mason James <mtj at kohaaloha.com>
> ha scritto:
>
>> On 26/09/23 8:27 pm, Alessandro Tedesco wrote:
>> > Hi Mason,
>> >
>> > thank you so much for checking and replying to this issue.
>> >
>> >  >perhaps you could log a support ticket/bug with plesk?
>> > I have already open a post in the Plesk Forum, but it seems that for
>> the moment they won't fix this issues:
>> >
>> https://talk.plesk.com/threads/a-fix-for-javascript-common-package-incompatibility-with-plesk.371562/
>> <
>> https://talk.plesk.com/threads/a-fix-for-javascript-common-package-incompatibility-with-plesk.371562/
>> >
>> >
>> > However, can you confirm that the "javascript-common package" was
>> introduced since the 22.05 Release? (I am able to install Koha  21.11 in
>> the VPS running Ubuntu with Plesk without problems).
>>
>> hiya,
>>
>> even koha 21.11 still depends on libmojolicious-perl - so your success
>> with koha 21.11 is probably due to installing on an older ubuntu version
>> (focal?), rather than an older koha version
>>
>> try installing koha on ubuntu focal/20.04, which wont have a
>> javascript-common dependency :)
>>
>>
>> >
>> > Another question: is anyone using (or can recommend) a control panel
>> for Debian (or Ubuntu) that doesn't cause conflicts with Koha (maybe
>> DirectAdmin?)
>> >
>> > Thanks and Kind Regards
>> > Alessandro
>> >
>> >
>> > Il giorno mar 26 set 2023 alle ore 07:20 Mason James <mtj at kohaaloha.com
>> <mailto:mtj at kohaaloha.com>> ha scritto:
>> >
>> >     hi Alessandro
>> >
>> >     the bad news is that koha-common depends on libmojolicious-perl,
>> >        which depends on libjs-bootstrap4,
>> >         which depends on libjs-popper.js,
>> >          which depends on javascript-common
>> >
>> >
>> >     https://packages.debian.org/bookworm/libmojolicious-perl <
>> https://packages.debian.org/bookworm/libmojolicious-perl>
>> >
>> >
>> >     perhaps you could log a support ticket/bug with plesk?
>> >
>> >
>> >     cheers, Mason
>> >
>> >
>> >     On 25/09/23 11:00 am, Alessandro Tedesco wrote:
>> >      > Hello everyone,
>> >      >
>> >      > I am trying to install the current stable release of Koha on a
>> VPS (OS
>> >      > Ubuntu 22.04.1) managed with the Plesk Control Panel.
>> >      >
>> >      > However, it seems that Koha is not compatible with Plesk.
>> >      >
>> >      > Below the error generated after launching the installation
>> >      > -------------------
>> >      > # sudo apt-get install koha-common
>> >      > Reading package lists... Done
>> >      > Building dependency tree... Done
>> >      > Reading state information... Done
>> >      > Some packages could not be installed. This may mean that you have
>> >      > requested an impossible situation or if you are using the
>> unstable
>> >      > distribution that some required packages have not yet been
>> created
>> >      > or been moved out of Incoming.
>> >      > The following information may help to resolve the situation:
>> >      >
>> >      > The following packages have unmet dependencies:
>> >      > psa : Conflicts: javascript-common but 11+nmu1 is to be installed
>> >      > E: Error, pkgProblemResolver::Resolve generated breaks, this may
>> be caused
>> >      > by held packages.
>> >      > -------------------
>> >
>> >
>> >     note you have a problem with the psa and javascript-common
>> >      >
>> >      > I have found that Plesk is not compatible with the
>> javascript-common
>> >      > package required by Koha (https://
>> >      >
>> talk.plesk.com/threads/cant-install-prometheus-together-with-plesk-on-debian-bullseye.367321/#post-917570
>> <
>> http://talk.plesk.com/threads/cant-install-prometheus-together-with-plesk-on-debian-bullseye.367321/#post-917570
>> >
>> >      > ).
>> >      >
>> >      > However, it's strange because last year I installed Koha without
>> problems
>> >      > on a VPS with Plesk...maybe the javascript-common package in the
>> latest
>> >      > versions of Koha?
>> >      >
>> >      > Does anyone experience the same issues?
>> >      >
>> >      > Thanks and Kind Regards
>> >      > Alex
>> >      > _______________________________________________
>> >      >
>> >      > Koha mailing list http://koha-community.org <
>> http://koha-community.org>
>> >      > Koha at lists.katipo.co.nz <mailto:Koha at lists.katipo.co.nz>
>> >      > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha <
>> https://lists.katipo.co.nz/mailman/listinfo/koha>
>> >
>> >
>> >
>> > --
>> > *Alessandro Tedesco, Ph.D.*
>> > CREAtive COMmunication STUDIO
>>
>>
>
> --
> *Alessandro Tedesco, Ph.D.*
> CREAtive COMmunication STUDIO
>


-- 
*Alessandro Tedesco, Ph.D.*
CREAtive COMmunication STUDIO


More information about the Koha mailing list