After upgrading to 1.33.0, autocomplete on the main search box has stopped working. What would cause that?
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com wrote:
After upgrading to 1.33.0, autocomplete on the main search box has stopped working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf] Exception caught: Could not open '/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf] /api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest= RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com wrote:
After upgrading to 1.33.0, autocomplete on the main search box has stopped working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Looks like your UIDGenerator extension is broken
On Wed, Aug 21, 2019 at 8:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf] Exception caught: Could not open '/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf] /api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest= RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This error can happen if MediaWiki does not have permission to read/write to the tmp directory. By default this is probably /tmp, but you can override it with $wgTmpDirectory. (The tmp directory can be anywhere, but it should not be a directory that is web accessible)
-- Brian
On Wed, Aug 21, 2019 at 5:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf] Exception caught: Could not open '/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf] /api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest= RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Nothing I can think of trying (or ideas found online) has made any difference. I am not defining the tmp directory, so it's the default (although I did try defining it myself directly and got errors). I couldn't see a /tmp folder in the root, so I tried creating one with the proper permissions, and no change. I even tried creating the actual file it seems to be trying to create on the fly, with permissions, and no luck. I found a comment somewhere where it was said that whatever user ran the maintenance scripts was the user that had to have the /tmp rights, so I backed up the entire database and then re-ran the maintenance scripts, and rebooted the server, and no difference.
Why wouldn't MediaWiki have permission to r/w to the /tmp directory? How does one fix that? What alternatives can I try?
BTW, I have another site that was upgraded the same day. Autocomplete works fine. The main difference between the sites is that this has Semantic Bundle, the other doesn’t.
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Brian Wolff Sent: Thursday, August 22, 2019 1:32 AM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
This error can happen if MediaWiki does not have permission to read/write to the tmp directory. By default this is probably /tmp, but you can override it with $wgTmpDirectory. (The tmp directory can be anywhere, but it should not be a directory that is web accessible)
-- Brian
On Wed, Aug 21, 2019 at 5:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf] Exception caught: Could not open '/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf] /api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest= RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I once had a situation where CSS (in MediaWiki:Common.css) was positioning another element (masthead) at the top of the page, and obscuring (z-index) the auto-complete text that should have shown in the text box. It's a stretch, but if you're not getting any errors, then maybe the text *is there* but you can't see it.
~ Greg
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Thu, Aug 22, 2019 at 2:04 PM John Lavalie fuddle@epguides.com wrote:
Nothing I can think of trying (or ideas found online) has made any difference. I am not defining the tmp directory, so it's the default (although I did try defining it myself directly and got errors). I couldn't see a /tmp folder in the root, so I tried creating one with the proper permissions, and no change. I even tried creating the actual file it seems to be trying to create on the fly, with permissions, and no luck. I found a comment somewhere where it was said that whatever user ran the maintenance scripts was the user that had to have the /tmp rights, so I backed up the entire database and then re-ran the maintenance scripts, and rebooted the server, and no difference.
Why wouldn't MediaWiki have permission to r/w to the /tmp directory? How does one fix that? What alternatives can I try?
BTW, I have another site that was upgraded the same day. Autocomplete works fine. The main difference between the sites is that this has Semantic Bundle, the other doesn’t.
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Brian Wolff Sent: Thursday, August 22, 2019 1:32 AM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
This error can happen if MediaWiki does not have permission to read/write to the tmp directory. By default this is probably /tmp, but you can override it with $wgTmpDirectory. (The tmp directory can be anywhere, but it should not be a directory that is web accessible)
-- Brian
On Wed, Aug 21, 2019 at 5:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf]
Exception caught: Could not open
'/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException
at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf]
/api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest=
RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com
wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks to all the suggestions. Simply adding a $wgTmpDirectory solved the problem.
It's still not working with mobile devices. Baby steps.
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Thursday, August 22, 2019 2:44 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
I once had a situation where CSS (in MediaWiki:Common.css) was positioning another element (masthead) at the top of the page, and obscuring (z-index) the auto-complete text that should have shown in the text box. It's a stretch, but if you're not getting any errors, then maybe the text *is there* but you can't see it.
~ Greg
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Thu, Aug 22, 2019 at 2:04 PM John Lavalie fuddle@epguides.com wrote:
Nothing I can think of trying (or ideas found online) has made any difference. I am not defining the tmp directory, so it's the default (although I did try defining it myself directly and got errors). I couldn't see a /tmp folder in the root, so I tried creating one with the proper permissions, and no change. I even tried creating the actual file it seems to be trying to create on the fly, with permissions, and no luck. I found a comment somewhere where it was said that whatever user ran the maintenance scripts was the user that had to have the /tmp rights, so I backed up the entire database and then re-ran the maintenance scripts, and rebooted the server, and no difference.
Why wouldn't MediaWiki have permission to r/w to the /tmp directory? How does one fix that? What alternatives can I try?
BTW, I have another site that was upgraded the same day. Autocomplete works fine. The main difference between the sites is that this has Semantic Bundle, the other doesn’t.
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Brian Wolff Sent: Thursday, August 22, 2019 1:32 AM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
This error can happen if MediaWiki does not have permission to read/write to the tmp directory. By default this is probably /tmp, but you can override it with $wgTmpDirectory. (The tmp directory can be anywhere, but it should not be a directory that is web accessible)
-- Brian
On Wed, Aug 21, 2019 at 5:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf]
Exception caught: Could not open
'/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException
at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf]
/api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest=
RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com
wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
It would be odd that you don't have a system temporary directory. Note, the web user would have to be able to read/write the temp directory, not the maintenance user (Except when doing maintenance work. So really both need to). Generally the system tmp directory has the permissions 1777 (Everyone rwx + sticky).
Based on your error message, some possibilities are: * Your /tmp directory is totally messed up * /tmp/mw-UIDGenerator-UUID-128 already exists but is owned by a different user * Some sort of sandboxing thing is preventing mediawiki from reading/writing to the tmp directory (like php's open_basedir or SELinux)
When you were messing around with the tmp directories, did the error message for UIDGenerator (particularly "Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445") change?
-- Brian
On Thu, Aug 22, 2019 at 11:04 AM John Lavalie fuddle@epguides.com wrote:
Nothing I can think of trying (or ideas found online) has made any difference. I am not defining the tmp directory, so it's the default (although I did try defining it myself directly and got errors). I couldn't see a /tmp folder in the root, so I tried creating one with the proper permissions, and no change. I even tried creating the actual file it seems to be trying to create on the fly, with permissions, and no luck. I found a comment somewhere where it was said that whatever user ran the maintenance scripts was the user that had to have the /tmp rights, so I backed up the entire database and then re-ran the maintenance scripts, and rebooted the server, and no difference.
Why wouldn't MediaWiki have permission to r/w to the /tmp directory? How does one fix that? What alternatives can I try?
BTW, I have another site that was upgraded the same day. Autocomplete works fine. The main difference between the sites is that this has Semantic Bundle, the other doesn’t.
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Brian Wolff Sent: Thursday, August 22, 2019 1:32 AM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
This error can happen if MediaWiki does not have permission to read/write to the tmp directory. By default this is probably /tmp, but you can override it with $wgTmpDirectory. (The tmp directory can be anywhere, but it should not be a directory that is web accessible)
-- Brian
On Wed, Aug 21, 2019 at 5:29 AM John Lavalie fuddle@epguides.com wrote:
I've tried a few things with no luck. Here's the error message:
["carre",[],[],[]]{"error":{"code":"internal_api_error_RuntimeException","info":"[24efcb4dccda13339920f3cf]
Exception caught: Could not open
'/tmp/mw-UIDGenerator-UUID-128'.","errorclass":"RuntimeException","*":"RuntimeException
at /home/mwikidb/public_html/includes/utils/UIDGenerator.php(450)\n#0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer)\n#1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1()\n#2 /home/mwikidb/public_html/includes/api/ApiMain.php(533): ApiMain->logRequest(double)\n#3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()\n#4 /home/mwikidb/public_html/api.php(87): ApiMain->execute()\n#5 {main}"}} Warning: fopen(/tmp/mw-UIDGenerator-UUID-128): failed to open stream: Permission denied in /home/mwikidb/public_html/includes/utils/UIDGenerator.php on line 445 Internal Server Error [24efcb4dccda13339920f3cf]
/api.php?action=opensearch&format=json&search=carre&namespace=0%7C108&suggest=
RuntimeException from line 450 of /home/mwikidb/public_html/includes/utils/UIDGenerator.php: Could not open '/tmp/mw-UIDGenerator-UUID-128'. Backtrace: #0 /home/mwikidb/public_html/includes/utils/UIDGenerator.php(224): UIDGenerator->getTimeAndDelay(string, integer, integer, integer) #1 /home/mwikidb/public_html/includes/api/ApiMain.php(1645): UIDGenerator::newUUIDv1() #2 /home/mwikidb/public_html/includes/api/ApiMain.php(539): ApiMain->logRequest(double, RuntimeException) #3 /home/mwikidb/public_html/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #4 /home/mwikidb/public_html/api.php(87): ApiMain->execute() #5 {main}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of eQuality Technology Sent: Tuesday, August 20, 2019 8:53 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] autocomplete not working
Check your JavaScript console for error(s).
eQuality Technology
*Let's work together*
https://equality-tech.com follow us: https://twitter.com/eQualityTech *creators of https://QualityBox.us https://QualityBox.us *
On Tue, Aug 20, 2019 at 9:01 PM John Lavalie fuddle@epguides.com
wrote:
After upgrading to 1.33.0, autocomplete on the main search box has
stopped
working. What would cause that?
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org