Page MenuHomePhabricator

Wikidiff2 stopped showing differences
Closed, ResolvedPublic

Description

Author: adresimeyaz

Description:
After upgrading server os, Wikidiff2 stopped working. It just says "(No difference)"

MediaWiki 1.23.5
PHP 5.5.9-1ubuntu4.4 (fpm-fcgi)


Version: unspecified
Severity: normal
OS: Linux

Details

Reference
bz72030

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz72030.
bzimport added a subscriber: Unknown Object (MLST).

adresimeyaz wrote:

I forgot to mention. I use both the distro's repository and git version of wikidiff2. If there is any debug steps, I can provide them.

Please provide exact steps to reproduce, and what was upgraded from what to what. Also see https://www.mediawiki.org/wiki/Manual:How_to_debug

Is the wiki public where this problem can be seen?

Did you make sure you add wikidiff2 to your webserver's php.ini file?

adresimeyaz wrote:

@Kunal Mehta, yes I am sure I add it.

@Andre Klapper, I'm not sure which one I should use from those but I tried all of them. Now I see those errors:

wfShellExec: /bin/bash '/var/www/wiki/includes/limit.sh' ''\''wikidiff2'\'' '\''/tmp/diff_VlVnlb'\'' '\''/tmp/diff_11Rj2U'\''' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'''\''; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes'
[exec] Possibly missing executable file: /bin/bash '/var/www/wiki/includes/limit.sh' ''\''wikidiff2'\'' '\''/tmp/diff_VlVnlb'\'' '\''/tmp/diff_11Rj2U'\''' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'''\''; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes'

We upgraded our server from Ubuntu 12.04 to 14.04 so packages upgraded as well.

PHP: 5.3.10 to 5.5.9 for example. Which application are you asking especially?

And yes it is a public wiki: http://wiki.ubuntu-tr.net

Thanks for your replies.

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 29 2015, 2:06 PM

Change 275028 had a related patch set uploaded (by MaxSem):
Don't treat configured but absent engine as executable

https://gerrit.wikimedia.org/r/275028

Change 275028 merged by jenkins-bot:
Don't treat configured but absent engine as executable

https://gerrit.wikimedia.org/r/275028

MaxSem closed this task as Resolved.Mar 5 2016, 12:27 AM
MaxSem claimed this task.
MaxSem added a subscriber: MaxSem.

The problem with MediaWiki where it simply quietly didn't diff anything if configured to use wikidiff2 and this extension was absent has been fixed in the above commit. The other issue is that wikidiff2 seems to have gone AWOL but it requires more investigation - please open another bug under wikidiff2 with more details if you're still experiencing problems with it.