Bug #1491
closed
WikiHelp upload internal server error 500
Added by Andras Timar almost 10 years ago. Updated almost 10 years ago.
0%
Description
I get the following error message from upload.pl script:
timar@timar-x230:~/Wikihelp> ./upload-wiki.pl
keys on reference is experimental at ./upload-wiki.pl line 195.
2: 500 Internal Server Error : error occurred when accessing https://help-api.libreoffice.org/api.php after 1 attempt(s) at ./upload-wiki.pl line 117.
Updated by Christian Lohmaier almost 10 years ago
- Assignee set to Dennis Roczek
might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him
Updated by Dennis Roczek almost 10 years ago
Christian Lohmaier wrote:
might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him
meh... sadly not. I tested the patch and all worked fine. Just searching for the error and found https://stackoverflow.com/questions/24725370/error-using-keys-on-a-hash which says the keys function might even be removed in future version. Simply revert commit f36f2883973e4ba6d59ee8d0d9b3e98273aa1c44 ( https://gerrit.libreoffice.org/#/c/16198 ) and I will try to fix it for the next version. :-(
Updated by Andras Timar almost 10 years ago
It is not related to experimental function in Perl. When I use previous version of upload.pl, I get the same error.
timar@timar-x230:~/Wikihelp> ./upload-wiki.pl -r
2: 500 Internal Server Error : error occurred when accessing https://help-api.libreoffice.org/api.php after 1 attempt(s) at ./upload-wiki.pl line 116.
In line 116:
$mw->login( { lgname => $name, lgpassword => $password } ) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details};
So the login does not work. 176.9.154.106 help-api.libreoffice.org
Please check the server config.
Updated by Florian Effenberger almost 10 years ago
Can the problem be resolved with this, or was this not working?
The Document Foundation Redmine wrote on 2015-09-24 at 18:30:
meh... sadly not. I tested the patch and all worked fine. Just searching
for the error and found
https://stackoverflow.com/questions/24725370/error-using-keys-on-a-hash
which says the keys function might even be removed in future version.
Simply revert commit f36f2883973e4ba6d59ee8d0d9b3e98273aa1c44 (
https://gerrit.libreoffice.org/#/c/16198 ) and I will try to fix it for
the next version. :-(
Updated by Andras Timar almost 10 years ago
Florian, no, see my previous comment.
On Fri, Sep 25, 2015 at 10:04 AM, The Document Foundation Redmine
<generic@redmine.documentfoundation.org> wrote:
Updated by Florian Effenberger almost 10 years ago
Dennis, Cloph, any chance you can have a look what's wrong? I assume
it's related to the latest changes to the wiki somehow.
Updated by Dennis Roczek almost 10 years ago
Hope that works by mail: I believe I fixed it. That was the last part.
The error logs were clear: missing extension. As I mentioned earlier: i
removed many of our unused extension (and also some which were actually
in use like the syntaxhighlight at helpwiki :-p)
Regards,
dennis (i will be offline in ~50 minutes, cloph/andras: can you test the
connection / verify the uplaod. my wifi is again bad and i do not have
any testfile for uploading atm!)
Am 25.09.2015 10:15, schrieb The Document Foundation Redmine:
Updated by Dennis Roczek almost 10 years ago
Christian Lohmaier wrote:
might be changed dependency - -Dennis tweaked the wiki lately.. assigning to him
ha, my mail (responding to one of the redmine mails) dodn't get in here. :-(
I believe I fixed it. The error logs were clear: missing extension. I removed many of our unused extension (and also some which were actually in use like the syntaxhighlight at helpwiki :-p)
cloph/andras: can you test the connection / verify the upload. I do not have any testfiles for upload atm!)
Regards,
Dennis
Updated by Dennis Roczek almost 10 years ago
- Status changed from New to Feedback
Updated by Dennis Roczek almost 10 years ago
- Status changed from Feedback to Closed
verified by andras: solved as he can upload the help now. :-)
Updated by Florian Effenberger almost 10 years ago
Thank you so much, you rock!