[14:58:44] Ok a clean install done with empty database. Next step see what blows up when I import the .xml file. [15:06:15] My logo didn't set. https://unofficial-tesla-tech.dark-energy.info/index.php?title=Main_Page [15:06:59] 'icon' => "$wgResourceBasePath/images/lightning.jpg", [15:11:04] My god, "Internal Error" when I hit login... [15:12:13] https://pasteboard.co/nd0LUXcj0RYC.jpg [15:12:32] Completely clean install. I can't win. [15:12:45] https://www.mediawiki.org/wiki/Manual:How_to_debug [15:12:54] needs a stacktrace. [15:22:01] "require(/srv/html/utt/mediawiki-1.39.3/extensions/UserMerge/includes/UserMergeHooks.php): Failed to open stream: No such file or directory" [15:22:39] UserMerge is in extensions. [15:23:02] Are permissions correct? [15:23:20] Owner:apache [15:23:49] I'll turn off selinux. [15:25:16] sudo setenforce 0 [15:26:36] Got that, but all contexts are correct. [15:27:07] same prob, but I find that the file is indeed missing: /srv/html/utt/mediawiki-1.39.3/extensions/UserMerge/includes/UserMergeHooks.php [15:27:37] I set UserMerge to be installed. Why wouldn't it have been? [15:27:48] set it to be installed? By what? [15:28:37] In the initial setup process Only thing in the UserMerg dir is extension.json. [15:28:53] Well, you presumably messed up the clone/extraction somehow [15:29:12] We don't bundle UserMerge with MW [15:29:16] So you got it from somewhere else [15:36:49] Ok populated UerMerge and now I'm logged in. [15:37:14] My logo doesn't show though. [15:51:46] Manually importing my .xml dump seems to have succeeded without error, but there's no change in my wiki. [15:59:18] Man I had a high opinion of MW but am losing confidence. No matter what I can't make this thing work. [16:02:15] None of my pages exist after the .xml import. My whole wiki is lost. [16:06:08] an xml import shouldn't kill pages that are already there [16:08:03] I have lost months of highly technical work. [16:18:50] I have lost everything. [16:20:07] Did you check the XML dump to see what was actually in the file? [16:20:29] It's all there AFAICT. [16:21:42] https://unofficial-tesla-tech.dark-energy.info/index.php?title=Special:AllPages [16:21:47] There's 5 pages [16:22:17] I don't think importDump does anything. I put in a diff username-prefix and it still claimed success. [16:22:32] https://unofficial-tesla-tech.dark-energy.info/index.php?title=Repairing_MCU1_Black_Screen,_Glitching,_Rebooting&action=history [16:22:35] curprev 22:14, 16 February 2020‎ Carl talk contribs‎ 21,336 bytes +21,336‎ →‎Re-Size [16:22:40] Looks a lot like a dump was imported to me [16:22:51] https://unofficial-tesla-tech.dark-energy.info/index.php?title=Special:Contributions/Carl [16:22:56] It's assigned you the contribs [16:23:49] I'm logged in and do a SpecialPages All Pages and see nothing. [16:24:13] Backing Up the Firmware [16:24:13] Main Page [16:24:13] Repairing MCU1 Black Screen, Glitching, Rebooting [16:24:13] Rooting MCU1 [16:24:13] Tapping In to the eMMC [16:24:14] Touchscreen Lost [16:25:21] Those are titles but the articles aren't there. They're in the .xml. And the main page isn't there. [16:25:21] it won't re-import the same edit twice [16:25:34] https://unofficial-tesla-tech.dark-energy.info/index.php?title=Backing_Up_the_Firmware [16:25:45] >So now you've successfully rooted your firmware and have access to your CID either through an Arduino Yun or whatever in the car from a switch, or over a VPN. [16:25:45] >It is highly recommended to back up your firmware, either to the car's nanocomputer, your home LAN, or both. It is especially important to back up partitions 3 and 4 since they are specific to your car, and partition 3 is destined to wear out due to system logging. [16:25:45] >I recommend backing up each partition, 1, 2, 3, 4, and then especially the whole flash. This latter is important as partition 1 does not start at the beginning of the flash. When you have to replace a burned-out flash it is necessary to lay down the whole image. [16:25:57] If the articles aren't there, where am I getting the text from? [16:26:44] I see from your links, but otherwise the articles are invisible. [16:27:07] What does that even mean? [16:27:17] The main page is stock, not mine. And it can't ind my images. [16:27:27] So the XML dump won't include your images [16:27:46] You might have the actual file description pages, if you exported them, but that's it [16:27:50] The images are there. Shouldn't the .xml have the links to them? [16:28:12] What do you mean the images are there? they are where? [16:28:29] mediawiki/images/ [16:28:49] mediawiki doesn't randomly scan the disk to look for them [16:29:18] If you've got them all on disk, you'll need to import/reupload them into MediaWiki [16:29:24] The images are there. Shouldn't the .xml have the links to them? [16:29:33] What do you mean by links to them? [16:29:45] The xml will only have whatever you (or whoever else) told it to export [16:29:54] https://unofficial-tesla-tech.dark-energy.info/index.php?title=File:Widodh.png [16:29:58] File:Widodh.png [16:29:58] Jump to navigation [16:29:58] Jump to search [16:29:58] No file by this name exists. [16:29:58] File usage [16:29:59] The following page uses this file: [16:30:00] Backing Up the Firmware [16:30:31] It is in images/ [16:30:59] I should have thought that images would be known to be in images/? [16:31:03] No [16:31:11] The files get uploaded/put there [16:31:28] !importimages [16:31:28] https://www.mediawiki.org/wiki/Manual:ImportImages.php [16:31:41] You can reimport them using that script... I'd move them out of the images folder first [16:32:33] Understand. But what about my Main Page? It's stock. Shouldn't that have been imported? And lots of other articles are missing too. [16:33:32] It probably skipped the mainpage because the "current" one is newer [16:34:08] Delete what is there and try again [16:34:10] Does maintenance/importDump.php not import to the database? If so, how does it get past the database UN:PW? [16:34:21] As for the other pages... Are they in the dump? [16:34:45] I really don't understand how they can't get a stable irc connection.... [16:35:37] LocalSettings? [16:35:40] How do I find what it has, to delete? Dump and recreate the database? [16:40:21] Idk how you found those User contributions. When I go to SpecialPages and searh for User contributions, I get nothing. [16:40:56] https://unofficial-tesla-tech.dark-energy.info/index.php?title=Special:SpecialPages [16:41:04] User contributions is literally right there [16:41:30] I know, so I hit that, search, and it comes up with nothing. [16:42:04] I can't understand how you found those articles. [16:42:25] Having used MediaWiki for... 17? 18? years helps [16:43:45] Having used MediaWiki for... 17? 18? years helps [16:47:17] I wonder if other pages are in fact there, just not coming up in your search? [16:47:56] I'll delete what you've found and try another import. [16:48:51] AllPages just queries the database [17:03:43] Poor Reedy [17:29:45] Ok images imported. It's a completely different system than before. [17:31:29] Turns out the .xml file is incomplete and indeed only has 5 articles. Does not include the highly customized .css nor most of my articles for some reason. But it beats the janky .sql dump. [17:32:19] If I want the site back, it's alot of handwork. Thank goodness for archive.org. [17:33:09] Looks like I can not trust the .xml export. And Idk what went wrong with the sql dump. [17:36:37] For some reason it's hung up on the "New Look" of Vector and I can not make it stick with the "Old Look". [17:38:18] Oh I did some exotic things o that Main page and now it's all gone. I'm 69yo now and not sure I can figure it out again. [17:44:47] For images: "Error creating thumbnail: Unable to save thumbnail to destination" [17:44:51] Owner of everything is apache. [17:44:55] selinux is Permissive. [18:00:12] what is $wgTmpDirectory set to? [18:00:46] see https://www.mediawiki.org/wiki/Manual:Common_errors_and_symptoms#Unable_to_save_thumbnail_to_destination [18:00:47] ah well [18:01:20] andre: they have the worlds most unstable connection [18:01:59] heh [18:02:21] meh, might just be using a cell phone client. I tried a bunch that were basically like that [18:04:13] bawolff: they claim it's their VPN and nothing to do with the client [18:04:17] They were told that [18:13:05] andre: Not Found in LocalSettings [18:13:26] rooter0_, see https://www.mediawiki.org/wiki/Manual:Common_errors_and_symptoms#Unable_to_save_thumbnail_to_destination [18:16:35] Ty. In my old save of images I had lots of 100px-{imgname}.jpg and 150px-{imgname}.jpg and 200px{imgname}.jpg which I had not created, but didn't know whether I should import. [18:16:54] ... so I did. [18:18:39] Turned on debugging... [18:20:27] cannot create directory /srv/html/utt/mediawiki-1.39.3/images/thumb/5/59/Wrap_black.JPG [18:22:00] WTF? Rights are wrong. I'd set those. [18:22:30] thumb is evidently new, and owned by root. [18:24:46] Ok now it's making thimbnails. Thanks andre. [18:24:50] How it created thumb as root I'll never know... [18:25:02] what did you change? [18:25:30] In image/thumb chown -R apache:root -R * [18:25:52] Somehow it created thumb and everything under as root. [18:26:06] It's a Festivus Miracle! [18:27:57] I guess that's enough fun for today. Time to report an attorney to the US Atty General for criminal conduct. [18:40:30] do ya know how i update $wgUploadPath [18:41:54] Cocopuff2018: yes - like any other variable in that file [18:42:51] thanks [18:44:12] Could not open lock file for "mwstore://local-backend/local-public/c/c0/Harry_Potter_and_the_Chamber_of_Secrets_movie.jpg". Make sure your upload directory is configured correctly and your web server has permission to write to that directory. See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgUploadDirectory for more information. [23:56:44] can mediawiki images be deleted from the backend and not front in?