[14:01:27] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @amir1 & @duesen - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:51:22] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @amir1 & @duesen - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [19:20:23] seems like mediawiki 1.33 requires javascript for pages like Special:Block. i expected it to downgrade gracefully without scripts loaded, namely the "block length" textbox shouldn't be required, and serverside validation should be used [19:20:44] that way its possible to choose "infinite" or another predetermined block length and leave the textbox blank [20:04:17] wowaname: javascript should not be required, if it is, that's a bug [20:36:46] Hello everyone, I'm trying to upgrade from 1.22.15 to 1.23 (I've tried 1.23.17 and 1.23.0) and encountered some strange behaviours on page loads after the initial upgrade. The first page would load successfully, then every page load/refresh after would result in blank or broken HTML page or css/js raw output. This happens to all php scripts in the [20:36:46] project directory, including any test scripts that echo out simple text. We are using php-fpm 5.6.28 in apache 2.4.39. Has anyone had a similar experience? [20:37:42] Why to 1.23? It's a very old and unsupported version [20:38:29] We are trying to upgrade to a even newer version but went into the same problem. So I decided to keep lowering the version until I found the next successful one, which is 1.22.15. [20:38:39] The problem starts when we go to 1.23 [20:39:31] What version were you on originally? [20:39:41] 1.18.1 XD [20:40:55] You wouldn't be able to upgrade past 1.30.2 without upgrading to PHP7 fwiw [20:41:24] yes, we are trying to upgrade to 1.30 [20:41:37] I don't really know how MW would affect random simple scripts, that seems very odd and co-incidental [20:41:51] Checked your webserver logs? [20:42:12] /php logs [20:42:20] it's got nothing special, as the responses are all 200s, even on the blank page [20:42:48] blankpages usually mean fatal type errors [20:43:23] no fatal logged in PHP either [20:43:44] I can tell it's not a PHP fatal because the page loads fine on the first load after each apache restart [20:44:00] Sounds a lot like an issue with your php config then ;) [20:44:05] then it starts to act up on the next page load / refresh [20:44:24] is it possible that we are using php-fpm? [20:45:16] you should check php error logs, not the apache logs [20:48:47] PHP logs have nothing in it either [20:49:03] I can start a screenshare if you're interested to take a look [20:49:43] Did you set php_admin_value[error_log] on the php-fpm pool config? [20:50:23] https://www.screenleap.com/950447196 [20:51:05] I'm refreshing the page by ctrl+r [20:51:47] I wonder if the js/css is actually being served with the right content type [20:52:25] looks like 1 in N requests does work fine though [20:52:39] it's still bad because the css couldn't be loaded properly [20:52:48] browser console/requests tab? [20:53:36] I turned off browser cache [20:54:16] this behaviour only starts after 1.23 [20:54:30] it was fine in 1.22.15 - so I believe it's code related [20:55:12] are you using opcode caching (xcache, etc?). This can cause problems sometimes [20:55:35] we are using opcache [20:56:32] At least, I've seen people having problems with them on some versions of PHP/MediaWiki, causing random crashes [20:56:59] Combined with a restart "fixing" it temporarily... It seems a likely candidate [20:57:12] It's possible 1.23 MW gets "big" enoguh to cause problems [20:58:09] interesting, let me try to turn it off [21:07:27] >javascript should not be required, if it is, that's a bug [21:07:34] oh ok MatmaRex i'll look on how to report that then [21:07:37] thanks [21:08:39] !bug | wowaname [21:08:39] wowaname: https://phabricator.wikimedia.org [21:09:02] thanks [21:48:17] Um, about upgrading medawiki to v1.33 [21:49:27] I worried a bunch, did tests, then ... it went easily and flawless. thank you. [21:52:41] yay [22:40:30] Hi Is there anybody familiar with Robin Fuction