[01:00:35] harmaahylje takes over a day [01:11:58] I gotta give thanks to those working on the install guide. Following along was the first time I got MySQL to play nice on my servers. [01:27:19] nice [01:29:14] * PaddyTEST waves Sveta - hello good spirit of freenode [01:29:47] * daemoneye waves [01:29:59] :) [08:56:54] hi [08:58:12] I am using Lora/GPS Shield for my project so i want register the device on TTN so for that how can i can find Device EUI?? [13:46:07] Hello, who can help me to do a DB/wiki complete backup with SSH for erasing everything and reimport [14:43:02] giby: "help" how? pointing to docs? doing paid work for you? something else? [14:44:32] giby: see https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [14:55:06] all i see now is green screen where modles should be perfofming [14:58:09] what settings do i need to change [15:00:41] andre__, Please consider that user that are not that advance in command line may not be sure of what is pertinent in the help page, and that author made an help page with all possible way for answering any question, and that a newbie might not understand which one is the one he should follow… That's why there is IRC, to potentially discuss and have an human that might understand what is going on while the user cannot really tell (for newbies don' [15:00:42] t understand there one issue) What is great with human, they can understand, meaning they can avoid someone to make a big mistake when they could have done something simpler [15:01:22] ticker, where are you seeing that? what where you actually doing? [15:04:06] on mfc real time veiwing page [15:05:14] giby: the thing is, if you're not specific enough nobody is going to bother helping you. Communication is a two-way street. You can't harp on andre__ for asking for clarification when you were incredibly vague to begin with on what sort of help you're looking for [15:05:45] it's evident you're stuck somewhere, but unless you say where you're stuck, what you've already tried (and failed) to do, etc. there isn't much help people can give to you [15:06:06] and certain types of help are incredibly time-consuming and probably not going to happen unless you either catch someone in a really good mood or you pay them [15:27:57] Skizzerz, Sorry, I'll explain you. 10 days ago, I tried a code from a help page in order to view the error messages for developing an add-on. I put the code in my LocalSettings, it crashed the wiki. I removed them immediately and… the wiki was still crashed. I went here asking how to solve that issue. andre__ told me to remove the lines (that was already removed without any effect). I asked what I should do, he shared me the "help page" that act [15:27:57] ually gave the code leading to the crash, I told him it was this page that led to the issue, he shared me several time this same page, that is more an issue that a solution. I needed a very long time to obtain the SSH acces from my host provider. I cannot not go and restart the device for I don't have physical access to it. [15:28:58] That still doesn't explain what part of "who can help me to do a DB/wiki complete backup with SSH for erasing everything and reimpor" you are stuck on [15:29:58] No, it just explain why I had a maybe rude answer to andre__ … [15:30:35] So, I have a mediawiki installation, it is crashed (gateway timeout) [15:30:53] yes you explained all of that already [15:31:20] I may access to DB with oh-my admin or so, I get a saved version of it etc… [15:33:43] so, what specifically are you trying to do now? reinstall? move to a different host? [15:33:50] My plan it to make through SSH a "backup" of the full wiki, erase the DB online, try to reinstall (yes reinstalling led also to crash) and restore the backup. Does this sound like a good idea? Then, what is the most reliable way to do it, knowing I cannot do it from the wiki that is crashed, and I have no physical access [15:34:27] well the crashing in and of itself is very suspicious; were you unable to obtain any error logs whatsoever? [15:34:36] i wouldn't reinstall. you have a problem. you need to find what your problem is and fix it. that seems much less risky [15:35:05] you have SSH, which is all that is required to do any maintenance on your wiki [15:35:49] Yes, I now have it, I found how to access it few hours ago… [15:35:52] giby: out of curiousity, what program were you using to edit those php files to begin with? [15:36:01] (when you made customizations) [15:36:12] Skizzerz, usually Xcode [15:36:17] ok [15:36:48] my favorite is gedit but it does not do well on my computer [15:37:37] Skizzerz, from SSH, which commande should I try first in order to know what's the issue? [15:38:36] is this a hosted service ? [15:38:54] as in, this wiki runs on someone else's servers and they host multiple wikis etc ? [15:40:13] edit index.php and add at the top (under the then try reloading the wiki [15:40:27] It is a hosted service [15:40:41] that might create a file called error.log in the same directory as index.php which should hopefully contain more details [15:40:46] i'd start even simpler actually. I'd start with: [15:40:48] Skizzerz, on the same line? [15:40:54] php -l LocalSettings.php [15:40:57] same or different, doesn't matter as long as it's under the just to verify you don't have a syntax error in your settings file [15:41:25] if you have those lines elsewhere (e.g. in LocalSettings.php) then remove them from there [15:41:34] Let's do that [15:45:46] Skizzerz, done, I try to load in order to get a message [15:47:23] thedj: No syntax errors detected in LocalSettings.php [15:48:33] giby: good ! [15:50:33] Skizzerz, by the way, it was the line that lead to a crash when I had added them in my local settings [15:54:44] perhaps, but it is very elemenatery php, so probably the issue already existed befoe. [15:55:10] that's why I asked what editor you used [15:55:17] in the event that the editor corrupted the php file [15:55:24] but that seems unlikely to be the case [15:55:58] Skizzerz, Good ti know [15:57:39] So now where the error.log should be found? [15:57:55] same directory as index.php [15:58:23] assuming that directory is writable by the user the webserver is running as; in a shared hosting situation that's usually your account so generally not an issue [15:59:11] How long does it take to be written? [15:59:30] it gets written upon every request made to the php script [15:59:34] it'd be instant upon getting the error message [15:59:42] when loading the page in your browser [15:59:50] if you didn't get an error message, it means no php errors [16:00:03] OR there's opcode caching screwing you up [16:00:31] or the entire webserver isn't running ;) [16:00:43] in either case, that's the host's fault at that point [16:01:17] in which case my advice of "get a different host that isn't hot garbage, preferably a vps" from a while back is the correct course of action [16:01:40] By the way, wy website also use an OJS install, that perfectly works [16:02:08] if that's not an acceptable solution for you, I don't think I can really assist more without getting in there myself and poking around [16:02:21] and I don't do that for free for a myriad reasons [16:04:35] Skizzerz, Thanks for your help, I try something that might be time consuming… [16:05:57] (if you're interested in paying for someone to sort this out for you, send me a PM) [16:06:25] otherwise, I wish you the best of luck but I don't see how anything that's happening here is completely related to something you did and not at least somewhat the host's fault [16:09:51] Skizzerz, small question, does the line I added in my "index" also influence if I get in mw-config ? [16:10:13] no [16:10:28] you'd have to add that to mw-config/index.php separately [16:10:49] I add exactly the same line in same way? [16:11:05] yup [16:11:18] but then the errorlog will go to the mw-config directory of course [16:15:26] thedj ;) Cool I'm doing that [16:23:53] thedj Skizzerz I get also that gateway timeout, no "error. log" So, it means it is my host… What should I tell him? [16:27:24] that they need to look into what's going on because the issue is clearly not with the application itself -- it's producing no errors [16:27:47] or (as mentioned before) move away and get a vps [18:56:07] Hi [18:56:40] Is there any diffrence in using postgresql compeare to mysql? [18:59:17] Support is generally better for mysql [18:59:19] More tested [19:01:05] PG is also supported by way fewer extensions [19:09:16] is there any benefit with using postgresql? [19:09:59] I think Postgresql is more robust [19:10:40] There is a bigger chance of loosing data in a crash with mysql [19:12:37] It seems to be the case (like Reedy mentioned above) that MySQL is better supported [19:12:52] Therefore it is a better choice by default [19:13:42] harmaahylje: Reedy MaxSem : is there any plugins only supported by Postgresql? [19:14:04] Not that I know of [19:14:16] I heard it was some css overlay plugin [19:14:22] or feature [19:14:50] its probably near my name of someone dares to search this channels logs [19:14:54] if* [19:15:21] Well I can't really understand why that would be the case [19:20:22] I'm only in freenode webchat mode here since i'm using a webos, wish I could search history too. [19:20:59] Ugh, I just had to purge the PG help page of most of its content [19:21:45] Why would someone post there instructions on how to compile PHP and set up Nginx? [19:36:15] lol [19:36:41] I'm not even surprised at this point. The more obscure setup help pages are utterly horrid [19:41:27] well perhaps first you gotta confuse people with unrelated stuff! [19:47:28] ~o~ [19:48:48] hello, I'm not lurking this channel anymore [20:15:08] new day, new problem. i've got an old db dump from old wiki. encoding: latin1. [20:15:25] https://www.mediawiki.org/wiki/Manual:Upgrading#How_do_I_upgrade_from_a_really_old_version?_In_one_step,_or_in_several_steps? this reads promissing [20:15:51] but https://releases.wikimedia.org/mediawiki/1.5/ these releases are broken :( [20:16:12] cannot download any mediawiki 1.5.x for the upgrade [20:16:43] after first try all german umlauts were broken [20:18:14] bedah: have you tried the git repository? [20:18:14] ah. found the missing upgrade1_5.php in 1.14, this was not broken. [20:19:35] oldest branch in git is REL1_23, that has no update1_5.php in maintenance [20:19:51] oh [20:20:05] does it have tags? [20:20:49] i'll try 1.14 now - need to test of encoding conversion works [20:22:39] hehehe.. 1.14 can not find mysql lib for php XD [20:31:20] Umm, there should be REL_XX branches going back way further [20:31:35] I have all the way back to REL1_1 [20:33:00] not really: https://phabricator.wikimedia.org/T92503 [20:34:47] oh that's sad [20:34:56] I guess I just have them locally [20:35:07] not sure what problem that solved [21:05:15] {{#if:{{{icon|}}}|iconname|[[Category:Icon]]}} [21:05:16] didn't work. found out my sql dump was broken, too. mysqli support startet with 1.22. glad that i don't need any old composer dependency ;D [21:05:34] {{#if:{{{icon|}}}|iconname|[[Category:Icon]]}} <- will this add it to Category:Icon? [21:13:11] biberao: only if the icon parameter is not provided (or is blank) on the template [21:15:29] so if i do icon=blah [21:15:32] it doesnt work? [21:16:34] what would be the best way to have it be included in that category? [21:20:28] {{#if:{{{icon|}}}|iconname [[Category:Icon]]}} ? [21:21:32] If that's supposed to be inside a link or image, you better use 2 different #if, one only for the icon, and another outside of the link/image for the category [21:22:49] nono [21:23:25] i want that icon=something [21:23:42] if something = true -> Category:icon [21:29:03] {{#ifeq:{{{icon|}}}|true|[[category:Icon]]|Put what to do here in the case icon parameter is something other then true}} [21:29:35] biberao: This is all explained at https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##if [21:29:35] with a combination of "fixing sql dump" and "$wgLegacyEncoding = 'ISO-8859-1';" now I have a 10 yr old wiki site resurrected :D [21:29:42] Woo! [21:30:17] some spambots were there, between 2007 and 2010 when the site went offline, but that is fixable [21:51:39] anyone by any chance knows where is fbevents? [21:54:04] Where? [21:54:13] who/what is fbevents? [21:54:20] context welcome. [21:54:30] like its giving me an error with fbevents.js [21:54:37] but dont seem to find it [21:54:39] it's facebook tracking javascript [21:54:45] MW core doesn't include it [21:56:09] biberao: what is "it" in "its giving me an error" exactly? [21:57:57] malformed Schema.org in JSON LD fbevents.js [22:02:50] biberao, and "it" is what exactly displaying that where exactly? [22:03:53] ok [22:03:58] script type="application/ld+json">{"@context" : "http://schema.org","name" [22:04:11] Where is that displayed. [22:04:29] Is this text content shown on some mediawiki page? Some output in a web browser console? Something somewhere else? [22:04:43] i believe its wikiseo [22:04:45] We cannot look over your shoulder. We have no idea what you did and what you're seeing where. Please elaborate. [22:05:38] i know [22:05:39] sorry [22:05:49] i seem to get two errors [22:05:52] let me check some more [22:09:39] its wikiseo [22:09:43] needs an upgrade :p [22:30:27] thanks for the help though [22:30:27] :D [23:58:55] Anyone know how to operate an MTA the easiest way, if thats normal in mediawiki? [23:59:14] I've heard postfix is the easiest way.