[03:04:22] Hey @Agent . i was replacing my localsettings.php and all the sudden i am getting Error 500 errors. how do i restart my Mediawiki server [03:04:42] sorry for the ping. [03:05:35] Great. i edited it with Notepad [03:05:52] It's probably a syntax error. Do sudo nano /var/log/apache2/error.log to see where you messed up [03:06:00] Oki [03:06:34] stuff [03:06:36] lots of it [03:07:03] Scroll to the very bottom [03:07:08] and copy and paste what it says [03:07:20] https://cdn.discordapp.com/attachments/615786602454581249/923049034745262100/unknown.png [03:07:27] scroll to the end [03:07:29] i just see errors [03:07:31] of the line [03:07:33] or it says them [03:07:37] ok [03:07:42] im at he bottom i think [03:07:51] yes but go to the end of the line [03:07:53] it wont scroll anymore [03:08:03] yep [03:08:05] syntax error [03:08:20] $wgUseImageMagick [03:08:29] i didnt touch that, only enabled Media uploading [03:09:55] dose Visual studio code fix the byte order marks [03:11:51] wfLoadExtension( 'DiscordRCFeed' ); $wgRCFeeds['discord'] = [ // Your Discord webhook URL here. 'url' => 'https://discordapp.com/api/webh2249376/vE2irin-r8pMCL5-gdkntjHfwZ-rmYZNXpsBLxi1yEm_6X0ed4CsEui9tTygXxoUaJ5V'; ]; removed a part of the webhook for security $wgEnableUploads = true $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; Only edited $wgenable uploads [03:12:41] $wgEnableUploads = true; [03:12:48] make sure to always end it with a semi-colon [03:12:55] God dammit [03:13:04] Thanks for helping me close to christmas lol [03:13:17] np, that's my job :) [03:13:48] there was a semi-colon when i uploaded it i think [03:14:06] how do you restart your media wiki server [03:14:18] What do you mean by "restart"? [03:14:39] Like restarting the Software, being the webserver, the actual media wiki system [03:14:58] and would it auto start if my Vps reboots or gets turned off [03:15:42] MediaWiki is just software, it can't be restarted but your webserver can be restarted. Assuming you have Apache2, you can restart it via sudo apache2ctl restart [03:15:56] And yes, it should auto-start when your VPS restarts [03:15:56] Ok cool, thank you [03:16:02] Thanks. [03:16:19] No problem [03:16:56] so would media wiki freak out if i were to Delete Localsettings.php and then reupload it [03:17:34] im going to guess so................ [03:17:37] Not really. It would tell you it detects no LocalSettings.php and think you want to install it but it wouldn't explode [03:17:43] Oh [03:17:44] ok good [03:17:50] and once you reupload it, it would act like nothing happened [03:19:20] ok still getting the 500 error code [03:19:46] https://cdn.discordapp.com/attachments/615786602454581249/923052165185036318/unknown.png [03:19:53] Probably some other error, check your error.log [03:20:02] You probably forgot another semi-colon [03:20:04] but my normal 74.119.150.153 works fine [03:20:06] Dam again [03:20:31] Well yes, it's just MediaWiki that will fail because MediaWiki is the one that reads LocalSettings.php, not your web server [03:20:55] You could host hundreds of apps and nine of them would be affected if another one suffers an error [03:21:02] unless they rely on each other [03:21:14] yes [03:21:17] none* for those on IRC [03:22:37] hmm [03:22:38] i um [03:22:46] i dont get this error message [03:23:08] tried to restart the apache server [03:23:29] and it couldnt determine the server [03:23:57] That's normal, it has something to do with your vhosts [03:24:04] As long as it doesn't fatal, feel free to ignore it [03:24:10] oh ok [03:24:20] can i upload my error log please [03:24:26] Sure, go ahead [03:24:47] Just make sure to redact any sensitive info or feel free to PM me it [03:25:11] Ok, ill pm it to you [03:25:28] wait whats the directory for the apache error logs [03:25:34] /var/log/apache2 [03:35:58] Solved just for posterity [11:21:57] please put shellouts behind firejail or shellbox [11:24:05] Is a firejail supposed to be some sort of firewall or something? [11:26:34] it attempts to sandbox process so RCEs can't cause as much damage [11:27:14] Oh. And what's RCE supposed to stand for? Requested Computer Emulators or something? [11:28:06] Remote Code Execution [11:28:29] Ah. That makes more sense that what I originally thought it stood for. [11:30:11] it's what happened with widgets and log4j [11:31:17] Oh? With the widgets part, do you mean where it compromised user accounts by malicious hackers? Hackers are evolving everyday, and their tactics become different. [11:31:51] there was no proof it was ever exploited but yes [11:32:01] nor evidence [11:33:35] Yeah, fair point. I was there when it occurred, as it was last December. [11:34:31] wasn't it the year before [11:35:21] wow [11:35:26] it feels longer ago [11:35:36] I wasn't around in 2019, nor did I ever hear of it until late 2019, and January 2020 was when I created a Miraheze account. [11:36:02] maybe 2019 was the december mediawiki update [11:36:17] You also registered in 2019, but on May 24th of that year. [14:16:09] getting a real treat on christmas [14:16:13] a new poll comes out [14:16:23] 3 new polls have come out showing starmer doing very good [14:16:28] overtaking boris [14:16:35] *today [14:17:29] we also get a 25k mrp poll soon :O [14:29:48] https://cdn.discordapp.com/attachments/615786602454581249/923220785869508739/Screenshot_20211222-112900.png [14:29:50] Why are there so many memes joking with Miraheze? [14:30:27] I believe they are supposed to be for satire. [14:31:03] satire of what? [14:31:17] It's part of the joke, I believe. [14:31:50] People make satire out of Wikipedia and FANDOM, so there's no big difference, other than the names of said wikis. [14:31:59] A lot of the material on Youtube, Deviantart and various other places specifically address Miraheze through perception of the Reception Wikis hosted on the platform. Often the two are conflated, and ultimately in many cases the reception wikis are the strongest and first thing one might see when considering the platform. [14:32:24] So often times they're really not making memes of Miraheze, the broader platform, which many of the creators I can say for sure do not really understand the scale of. [14:32:31] ThePackagedReviewer pointed out its flaws. [14:32:44] yes, most of the external things talking about Miraheze are the reception wikis [14:32:47] TPR pointed out flaws with the Reception Wikis specifically. [14:33:07] But including Miraheze prominently in the title + logo I believe unnecessarily adds to the confusion. [14:33:08] And he did an excellent job laying down the flaws within them. [14:33:29] The contents are rather out of date by now, and the video is since a hub for people dissatisfied with the wikis to vent. [14:34:04] Nowadays, the comments are troll-based, mainly from their behavior that they did while on the wikis. [14:34:10] But not all of them are. [14:34:17] Yeah, what I really hate is people calling reception wikis "Miraheze wikis" as if all Miraheze wikis are reception wikis [14:34:28] so people get the impression from the title that all Miraheze wikis are "awful" [14:34:29] It's [14:34:44] @Reception123 I take it you've watched ThePackagedReviewer's video awhile back, didn't you? [14:35:05] I'm not sure but it's possible if I was directed to it [14:35:06] Each comment needs to be taken in perspective of from who, about what and when; but when people are looking up Miraheze, those details are secondary to the scathing details that are stated, which remain in people's minds even if things have since changed. [14:35:30] @raidarr yeah, someone searches Miraheze and says "oh wow it seems awful and full of drama" [14:35:56] I remember at some point in time I think I even tried to reach out to some people and got at least one to change the title to "Reception wikis" rather than "Miraheze wikis" [14:36:03] so I think it could be interesting to do that [14:36:33] I would call that pretty much bullshit, because Miraheze doesn't have just those wikis. Drama occurs everywhere, no matter which community you set foot in. [14:36:36] That's a principle part of what I look at when I consider resolving issues with Miraheze tbh; while the reception wikis are not the bureaucratic responsibility of global operatives, its health is nonetheless reflective on Miraheze even if it is unfairly. It's a two step process. The wikis actually need to demonstrate the improvement, and along with that the outreach to third parties to mitigate the blow of what is found. [14:36:53] Their health, I should say. [14:37:25] Yeah, that's true as well though the old videos won't go away unless we get the people to change them and explain that there's many Miraheze wikis out there that have nothing to do with the problematic ones [14:37:44] I remember writing to some of the creators of these videos that it's not fair to the other Miraheze wikis to call all of them 'bad' [14:37:54] At the very least new material can be made to reflect the now, and if people perform due diligence and look for themselves, they can find something decent. [14:38:11] If people are legit trying to look for more things to complain about Qualitipedia, then that's not anything new. If anything, if they hate the wikis, then why would they bother trying to set foot onto the wikis? If they do try to look for more things to complain about, then they legit need to go outside and smell the morning coffee, as there are a lot of opportunities to be explored. [14:38:40] And honestly, in my opinion that post above could even be said to be defamatory to Miraheze as it generalises all wikis/Miraheze users [14:39:01] Though it's hard to hunt down everything and ask the users to change the titles to something more specific rather than just 'Miraheze' [14:39:32] I'm not saying that they should change it to "Qualitipedia wikis suck" but if that's what they hate, it would be more fair rather than to bring all Miraheze wikis in with them [14:40:23] As far as I'm aware, the Qualitipedia wikis (formerly known as the Reception wikis), has been around since 2013, and to think they started on FANDOM. I wasn't aware of it until late 2019. But that was before I created an account in January 2020. [14:41:21] They originated with CGW on then-Wikia, yes, transitioning to Miraheze when they were kicked en masse. [14:41:45] I do legit feel bad for the founder, Grust. [14:42:33] Only fair. Depending when the video was made, simply saying 'the reception wikis' may be more proper as QP is a more modern branding than when TPG's video was released and when earlier complaints could be found, I believe even going to when the user reception wikis were in business. [14:42:55] Grust was done dirty, and that fact did a lot to solidify my drive on the subject of QP's image. [14:52:31] do i have to restart apache because i installed a new extension [14:53:24] Which extension was it that you installed? [14:53:32] Discord [14:53:36] its a notfication [14:53:45] so i can see edits in a discord channel using a web hook [14:54:07] Doesn't that come pre-installed anyway? [14:54:22] on miralheze yes [14:54:28] but im using my own media wiki server [14:54:55] You mean Miraheze? [14:55:02] yes sorry [14:55:09] Sorry if I corrected you on that. [14:56:30] its good [14:56:46] Alright. That's good to hear. [15:51:55] No, you don't [15:52:12] Generally, after installing an extension, you rarely have to restart Apache [15:52:41] They were asking about their own, non-Miraheze wiki [15:53:44] Feeling like crappy 🤧 [16:01:35] Why Bukkit [16:07:53] paladox: over 100,000 record cases for the first time since mass testing began [16:08:59] Well it still isnt working. [16:09:04] ill work on it ltr\ [16:10:12] What exactly isn't working? DiscordNotifications? [16:10:20] Discord [16:10:25] the entire name is discord [16:10:28] im not kidding [16:10:45] [[mw:Extension:Discord]] [16:10:45] https://www.mediawiki.org/wiki/Extension:Discord [16:10:46] https://www.mediawiki.org/wiki/Extension:Discord [16:10:46] [url] Extension:Discord - MediaWiki | www.mediawiki.org [16:10:51] yes [16:11:04] looks pretty straightforward [16:11:13] $wgDiscordWebhookURL = [ "yourwebhook" ]; [16:11:15] yes [16:11:19] i did that [16:11:20] ok [16:43:24] Congratulations @raidarr on your sucessful request! [16:43:30] Congratulations @raidarr. [16:43:34] I've added you to the CVT role [16:43:47] You should be able to see #cvt-private now, I think [17:10:06] congrats [18:23:10] Thank you gents 👌 [18:25:25] Hey, so im getting error 500 from `$wgDiscordNoNull "true"; [18:25:31] is this a syntax error? [18:26:47] fixxed [20:03:55] @Agent Do you know how to back up databases for media wiki [20:04:03] or are they in the /w directory [20:22:32] @Superintendent do you mean outside of Miraheze? [20:22:46] yes. [20:22:47] sorry [20:22:54] this is the only media wiki related server im in [20:23:41] I see. In that case if you just want revisions dumpBackup.php is the easiest [20:23:54] (here at Miraheze we have the DataDump extension but that would need to be set up elsewhere [20:25:33] See also https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [20:25:33] [url] Manual:Backing up a wiki - MediaWiki | www.mediawiki.org [20:30:41] @Agent Why did you decline this request? Agent? For me, the scope detail isn't so bad [20:30:42] https://cdn.discordapp.com/attachments/615786602454581249/923311606736244807/wh.jpg [20:30:42] Indeed, you can do the above or if you want the actual database exported, you can run mysqldump -u wikiuser -p > wiki.sql [20:31:02] Because it doesn't explain what "kovet" is [20:31:23] or what news they'll focus on [20:32:05] He said it meant "ambassador" [20:33:11] It seems like it's a concept from what I understand and additionally, they don't explain the scope of the news [20:33:20] If they add those details then that request looks good to me [20:33:30] ok [20:34:01] Where does it put the backup [20:35:45] @Superintendent wherever you want it, you'd use > /directory [20:35:51] in whichever directory you're in [20:35:55] o [20:35:55] ok [20:36:00] so if you execute it in your home directory, it'll be there [20:36:03] and etc [20:37:41] SELECT table_schema "mediawiki", ROUND(SUM(data_length + index_length) / 1 / 1, 1) "DB Size in KB" FROM information_schema.tables GROUP BY table_schema; Agent, does this count kb correctly? [20:42:42] Any particular reason you need the size in kilobytes and not megabytes? [20:46:09] Not to discourage you from continuing support here with Agent, but if you like I can point you towards the official MediaWiki discord for advice as close to source as possible [20:46:21] Theres one? [20:46:35] idk, just wanted to [20:46:49] #mediawiki [20:46:56] You can calculate the size in kilobytes from the size in megabytes [20:46:58] but feel free to ask us questions too [20:47:04] right, [20:48:55] A bit too late for that 😆 [20:49:00] we've been at it for like 2 days now [20:49:30] Indeed, but for future reference/second opinion and more detailed inquiries [20:49:35] I've reposted the link in #server-invites [21:19:03] And to think I got over my sickness last week, it came back. But however, I ended up vomiting. [21:19:21] Oh dear.