Bug 24714 - apache-mod_perl prevent installation of nextcloud
Summary: apache-mod_perl prevent installation of nextcloud
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 22:13 CEST by Christian D
Modified: 2019-08-20 10:05 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Christian D 2019-04-24 22:13:26 CEST
Description of problem: nexcloud installation process is blocked if apache-mod_perl is installed

Version-Release number of selected component (if applicable):
apache-mod_perl 2.0.10-6.mga7 x86_64
nextcloud 15.0.6-1.mga7 noarch

How reproducible:

Steps to Reproduce:
1. install a new mageia VM with virtualbox and Mageia-7-beta3-Live-Plasma-x86_64.iso
2. install the updates / reboot
3. install the nextcloud package
4. install the apache-mod_perl package (it also comes with task_lamp)
5. try to start the nextcloud installation : http://localhost/nextcloud : error 
--------- (translated from french)
Setup en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8 failed - Install at least one locale
---------- 
6. uninstall apache-mod_perl package and restart apache
7. try to start the nextcloud installation : http://localhost/nextcloud : OK 

Same problem with the nextcloud 15.0.7 or 16 rc from the nextcloud website.
Same problem also with an installation in a physical server with mageia 7
Morgan Leijström 2019-04-24 23:19:12 CEST

CC: (none) => fri, lists.jjorge

Comment 1 Lewis Smith 2019-04-25 12:05:43 CEST
Assigning to neoclust as being NextCloud maintainer.

Assignee: bugsquad => mageia
CC: (none) => lewyssmith

Comment 2 José Jorge 2019-04-27 16:23:17 CEST
I don't get what you want us to do? Conflict apache-mod_perl with nextcloud?

nextcloud requires never install task-lamp-perl, only task-lamp-php. Why do you want it to be installed?

Ever confirmed: 1 => 0
Status: NEW => UNCONFIRMED

Comment 3 Christian D 2019-04-27 19:53:31 CEST
In fact, in my case, today, I don't need apache-mod_perl.

It was installed in my system because I installed "task-lamp", which install both "task-lamp-php" and "task-lamp-perl".
When trying to install nextcloud, in fact with the zip file coming from nextcloud.com, I got the above error about the locales "Setup en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8 ..... failed"
So the message was not at all about perl.

It took me hours trying to find a solution. I searched and found on the web several topics on that "locales" problem, tried the proposed solutions ... with no luck (what I found was not Mageia related). Finally, I installed a fresh Mageia 7 beta 3, and I got the same problem. I retried once again : without the problem ! The second time I installed the minimum and it works. I then compared the list of the installed packages in both systems ... to finally found the cause was the "apache-mod_perl" package.

So I signalled this problem to avoid other users to lost time. Maybe some users need also perl for other reasons.

Just now, I tried with my laptop with a Mageia 6 and php 7.2.14 coming from the backport sources, and it works, even with apache-mod_perl installed.
In Mageia 7, with php-7.3.4, I have the error when apache-mod_perl is installed.

I don't have the solution. Maybe the cause is in the Nextcloud code, maybe in perl, maybe in php ... I don't know if it is specific to Mageia or not.

To setup a conflict between the packages will not solve the problem if you install nextcloud from the zip file from nextcloud.com and may have side effects.
Comment 4 Morgan Leijström 2019-04-27 22:00:06 CEST
Thank you for your report and digging, Christian :)
I entered your finding at https://wiki.mageia.org/en/OwnCloud#Server_install_issues

You are welcome to update there - and the whole page if you like.  I dont administer Nextcloud myself (or owncloud) anymore as i bought a ready service instead.
Comment 5 José Jorge 2019-08-20 10:05:17 CEST
Well, as this is not even about installing mageia nextcloud package, closing.

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.