Closed rcsheets closed 7 years ago
Looks like it should be trying to create /home/wiki/public_html/mediawiki/images/accountcreds/s/su/sud
(which already exists) rather than /accountcreds/s/su/sud
. Some relevant prefix setting must be missing or broken.
Upload paths aren't universally broken, since file uploads work OK. Just uploaded https://sudoroom.org/wiki/File:640px-Flag_of_Togo.svg.png as a test. So looks like the problem is isolated to the ConfirmAccount extension.
Fixed by explicitly setting $wgConfirmAccountFSRepos
in LocalSettings.php
.
Nice :D
On Sat, Sep 24, 2016 at 11:06 PM, Charley Sheets notifications@github.com wrote:
Closed #3 https://github.com/sudoroom/sudo-infrastructure/issues/3.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sudoroom/sudo-infrastructure/issues/3#event-801432869, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHfgM54pSPrx-igfaa6xuqVoqTGzjk8ks5qtg9fgaJpZM4KEsAA .
When attempting to approve a wiki account request, the following warning is logged:
PHP Warning: failed to mkdir "/accountcreds/s/su/sud" mode 0777 [Called from wfMkdirParents in /home/wiki/public_html/mediawiki/includes/GlobalFunctions.php at line 2551] in /home/wiki/public_html/mediawiki/includes/debug/MWDebug.php on line 300
Additionally, the confirmation page (seen by the bureaucrat confirming the account) displays the following error message:
Could not create directory "mwstore://accountcreds-backend/accountcreds-public/s/su/sud".