J3 Issue ?
avatar Nzara
Nzara
8 Sep 2018

Steps to reproduce the issue

  1. set php.ini with
  • memory_limit=16M
  • upload_max_filesize=2M
  • post_max_size=2M
  • max_execution_time=30
  1. Install Joomla as documented

Expected result

Pre-Installation check indicates failure to meet required php.ini settings

Actual result

  • Pre-installation check show all items 'YES'
  • installation freezes at 25% progress

System information (as much as possible)

Additional comments

Works fine with recomended settings.
Defaults of some hosting providers may below recomended setting.
Non-expert users are very likely aware of this. We should make them aware of it and avoid frustration.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar Nzara Nzara - open - 8 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Sep 2018
avatar brianteeman
brianteeman - comment - 8 Sep 2018

It should work with those settings why do you expect it to say it failed to meet the required settings

The fact that it fails to install is a problem that will need to be fixed

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Sep 2018
Status New Discussion
avatar Nzara
Nzara - comment - 8 Sep 2018

Well ..., I was under the impression, it needs not to install under these poor settings.
Let's rephrase my expectation 'Installation must succeed if the pre-installation check passes'. A solution may address either side.

avatar mbabker
mbabker - comment - 8 Sep 2018

Without knowing why "installation freezes" there is little to do here. Is it really freezing because of the memory? There are no uploads in the install app so upload size is no issue here. POST size should also not be an issue. Time may be a problem on a lower end configuration. But this is all blindly guessing without any real data on the underlying issue.

avatar brianteeman
brianteeman - comment - 8 Sep 2018

Can you please which version of joomla you were trying to install?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Sep 2018

@brianteeman Build: 3.8.12 is given in Issue Tracker.

avatar brianteeman brianteeman - change - 8 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 8 Sep 2018
avatar Nzara
Nzara - comment - 8 Sep 2018

I tried to install 3.8.12. (I noted this in a form field when creating this issue, but have no idee, where this is shown now).
Freeze means: The page with the progress bar appears. The progress bar advances somewhere near 20%, The Joomla logo is spinning. This for at least 30 minutes. Of course, I can close the browser (firefox), but nothing more meaningfull.

This happens on Windows 10 with XAMPP. The interessting thing: changing the settings to the recomended values and the installtion succeeds in less than a minute.

avatar mbabker
mbabker - comment - 8 Sep 2018

If it "freezes" that generally means a non-JSON response was returned from the server (you can see this on the network tab of your browser's developer console), and that breaks the JavaScript for the installation app. And when that happens that generally means there was some kind of fatal error. In your case, it could very well be PHP running out of memory.

changing the settings to the recomended values and the installtion succeeds

What recommended values?

avatar Nzara
Nzara - comment - 8 Sep 2018

Recomended values: https://docs.joomla.org/J3.x:Installing_Joomla/en
memory_limit - Minimum: 64M Recommended: 128M or better
upload_max_filesize - Minimum: 20M
post_max_size - Minimum: 20M
max_execution_time: At Least 120 Recommended: 300

avatar mbabker
mbabker - comment - 8 Sep 2018

Here's the key phrase, just above that:

The values for PHP.ini below are suggested values only.

The POST and upload sizes are decent to allow large file uploads (large images, our core ZIP packages are sitting at around 13 MB). These values being decent though only impacts Joomla use when it comes to upload actions (core/extension updates, image uploads, etc.).

Max execution time is an arbitrary change, if something is failing at 30 seconds you've got bigger problems in all honesty.

As for memory limit, this one really needs to be benchmarked if we're going to do anything with it. IIRC core PHP starts this value at 128M or 256M, there really should be no need to ever lower it and if someone is doing that then I'd say that's an issue they need to sort out (or the hosting provider doing it needs to be talked to).

avatar Nzara
Nzara - comment - 21 Sep 2018

I benchmarked the installtion process with this configuration:

 Install File: Joomla_3.8.12-Stable-Full_Package
 Install Sample Data: Default English (GB) Sample Data	
 Database Type 	mysqli
 Host Name 	localhost
 Username 	joomla
 Database Name 	joomla
 Table Prefix 	jo_
 Old Database Process 	Remove 

It appears max_execution_time is the relevant setting. A value below 40 causes the symptoms described.
I think a pre-installation check against a value below 50 shoud be added. This will prevent user frustation and it will guide the user to proper php settings.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22057.

avatar joomla-cms-bot joomla-cms-bot - close - 18 Mar 2020
avatar jwaisner jwaisner - change - 18 Mar 2020
Status Discussion Closed - Unconfirmed Report
Closed_Date 0000-00-00 00:00:00 2020-03-18 14:03:56
Closed_By jwaisner
avatar joomla-cms-bot joomla-cms-bot - change - 18 Mar 2020
Status Closed - Unconfirmed Report Closed
Closed_Date 2020-03-18 14:03:56 2020-03-18 14:03:57
Closed_By jwaisner joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 18 Mar 2020

Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/22057

avatar jwaisner
jwaisner - comment - 18 Mar 2020

Closing as it has been noted this is not a bug with Joomla and that the host settings may need checked/adjusted.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22057.

Add a Comment

Login with GitHub to post a comment