?
avatar wojsmol
wojsmol
28 Sep 2017

Steps to reproduce the issue

Update from Joomla 3.7.5 do 3.8.0 on a lost with low php max_execuntion_time or resource limits

Expected result

Proper update of the Joomla corere.

Actual result

Broken site or admin with man-less error or blank page

System information (as much as possible)

from one of FPM reports
PHP Configuration :: Version: 5.6.31 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 100M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 32M

If this care there is only core plus one plugin on php 5.6

Additional comments

@mbabker @nibra @Webdongle
@zero-24 @brianteeman relase blocker and priority please

avatar wojsmol wojsmol - open - 28 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Sep 2017
avatar wojsmol wojsmol - change - 28 Sep 2017
The description was changed
avatar wojsmol wojsmol - edited - 28 Sep 2017
avatar Webdongle
Webdongle - comment - 28 Sep 2017

@wojsmol
Perhaps you should look at your version numbers. A;so Joomla is not responsible for poor server settings.

avatar brianteeman
brianteeman - comment - 28 Sep 2017

I dont see how this is a release blocker

avatar mbabker
mbabker - comment - 28 Sep 2017

Annoying as it is, without reverting all the work in 3.8 or rewriting the already fragile post update steps in the update component to do the tasks in even smaller chunks, there is no fix here other than tuning the server specs.

avatar brianteeman
brianteeman - comment - 28 Sep 2017

For a start you should provide server logs to show that there was an issue with the system

I suspect the issue on that server is the ridiculously low memory limit setting of 30mb where the php default for that version of php is 128mb http://php.net/manual/en/ini.core.php#ini.memory-limit

avatar wojsmol
wojsmol - comment - 28 Sep 2017

@mbabker do like akeeba backup or phoca gallerry.

avatar brianteeman
brianteeman - comment - 28 Sep 2017

Hint. Look at the code for com_joomlaupdate and see who wrote it.

The problem is the server not Joomla.

avatar brianteeman brianteeman - change - 28 Sep 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-09-28 23:02:04
Closed_By brianteeman
avatar brianteeman brianteeman - close - 28 Sep 2017
avatar wojsmol
wojsmol - comment - 28 Sep 2017

https://checksums.kubik-rubik.de/
Don't close valid issue because a example.

avatar wojsmol
wojsmol - comment - 28 Sep 2017

@mbabker Please reopen

avatar mbabker
mbabker - comment - 28 Sep 2017

The issue is server configuration. Low memory is not something we can account for without the major work I mentioned above and that is not happening in 3.x if at all.

avatar wojsmol
wojsmol - comment - 28 Sep 2017

ok, then help user by adding relese faq entry or sampthig.

avatar wojsmol
wojsmol - comment - 28 Sep 2017

see migrating to 3 3 section on forums and the issues on github.

avatar brianteeman
brianteeman - comment - 28 Sep 2017

None of the issues on github are anything to do with poor servers

avatar wojsmol
wojsmol - comment - 28 Sep 2017

then try on localhost do the update and see waht you get when error_reportinf=defolt or none.

avatar wojsmol
wojsmol - comment - 29 Sep 2017

Please follow #18157

avatar wojsmol wojsmol - change - 29 Sep 2017
Title
[RELASE BLOCKER] Brokenenk sires od update
[RELASE BLOCKER] Brokenen siees on update
avatar wojsmol wojsmol - edited - 29 Sep 2017
avatar wojsmol wojsmol - change - 29 Sep 2017
Title
[RELASE BLOCKER] Brokenen siees on update
[RELASE BLOCKER] Brokenen sites on update
avatar wojsmol wojsmol - edited - 29 Sep 2017
avatar wojsmol wojsmol - change - 30 Sep 2017
The description was changed
avatar wojsmol wojsmol - edited - 30 Sep 2017
avatar wojsmol
wojsmol - comment - 30 Sep 2017

@mbabker Can we block com_joomlaupdate on sites where we kwnow that doing the update will break the tike?

avatar mbabker
mbabker - comment - 30 Sep 2017

We don't know where the update is causing issues and until we have concrete facts about what update paths are causing issues we are not changing anything. Because in theory every site can be broken by an update because of a combination of variables outside our control, like extensions which bypass our API then break because the files were moved.

As I have said before, WHEN someone gives concrete and reproducible paths, we can evaluate what steps need to be taken as a project.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

@mbabker We knows yjat for this issue:
memoryry limit below at lest 64m 128M for safety
max_execution_time beloe 120s

avatar ggppdk
ggppdk - comment - 30 Sep 2017

@wojsmol

ok, update process can exceed max_execution_time (30s) on slow hosts,

but what do you mean with "120s" ?

make it a requirement on which hosts , with what criteria ?
you mean run a measurement to decide if a host is too slow ?

avatar wojsmol
wojsmol - comment - 30 Sep 2017

@ggppdk it't braks for shore on 45s - -SG settings

avatar wojsmol
wojsmol - comment - 30 Sep 2017

Siple read php ini valus for 3.8.1

avatar wojsmol
wojsmol - comment - 30 Sep 2017

@mbabker Check PM on forum.

avatar mbabker
mbabker - comment - 30 Sep 2017

The update system does not support blocking updates based on PHP runtime configuration.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

@mbabker Mayby same message above? and a enmry in relase FAQ

avatar mbabker
mbabker - comment - 30 Sep 2017

Not every update has the same system resource requirements. Because 3.8 did more filesystem operations it'll need a bit more memory.

Again, without concrete data, there is nothing we can address. Max execution time just says "this is how long the PHP process can run before timing out". The update should NEVER hit 45 seconds, and if it is then there is something else wrong at the server level. You are more prone to hitting memory exceeded errors than timeout errors.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

If we fix this there in only one issue left, but not so criticatk,

avatar wojsmol
wojsmol - comment - 30 Sep 2017

Then contct SG ang debug with them.

avatar mbabker
mbabker - comment - 30 Sep 2017

I run my site on SiteGround, it had zero issues. It also doesn't have low resource usage.

The key word in your PM to me was "test drive", this seems to purposefully be a lower resource account level. Moreso designed for sampling the platform, not for long term use.

====

Fix what? The fact that some users host sites on platforms with questionably low resource limits? That is out of scope for a bug fix release. The only way to do anything with that is a major rewrite of the update component. It's not happening anytime soon.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

i test on td but in forms there few onnue with not TD , one after using SG autouptater. And SG support hava to clue wat issue is and this is this issue.

avatar mbabker
mbabker - comment - 30 Sep 2017

SiteGround's autoupdater isn't our's to debug or troubleshoot. The most we can tell them is to make sure the updater follows the same steps the core one does. Same goes for everyone else who provides alternative update scripts.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

I'm knoow that SG autopdatej in not offitial but if out parner support dpn'y know what the issue doy's tatherf noy good for as.

avatar wojsmol
wojsmol - comment - 30 Sep 2017

Regarting crapy server setup somply work user abot potentiall issues and mayby record the issiu in update loh, for now nee have always success message in the log.

Add a Comment

Login with GitHub to post a comment