[02:42:49] Hi, I’m trying to automate my Mediawiki installation. I have a pre-defined LocalSettings.php file. I’m trying to use Sqlite3 as the database. [02:44:14] My installer script installs mediawiki on Debian using apt and copies the LocalSettings.php to the /etc/mediawiki/ directory. But the sqlite3 database is not being created automatically. Is there a way to trigger the installation manually using a pre-defined LocalSettings.php file? [02:45:42] njoseph_: upgrade.php ? [02:46:12] The upgrade.php script errors out since it cannot connect to the database which was never created in the first place. [02:47:10] MediaWiki 1.27.3 Updater [02:47:11] PHP Warning: file_get_contents(/usr/share/mediawiki/composer.json): failed to open stream: No such file or directory in /usr/share/mediawiki/includes/libs/composer/ComposerJson.php on line 15 [02:47:12] Your composer.lock file is up to date with current dependencies! [02:47:13] DB connection error: Cannot return last error, no db connection [02:52:00] MediaWiki 1.27.3 Updater [02:52:01] PHP Warning: file_get_contents(/usr/share/mediawiki/composer.json): failed to open stream: No such file or directory in /usr/share/mediawiki/includes/libs/composer/ComposerJson.php on line 15 [02:52:02] Your composer.lock file is up to date with current dependencies! [02:52:03] DB connection error: Cannot return last error, no db connection [02:55:17] njoseph_: in maintenance there is an tables.sql that should do what you need [11:18:36] Hello I have problems with upgrade from 1.28.02 to 1.29.0. [11:19:34] who can help me ? [11:23:45] nobody here ? [13:01:24] who can me help ? [13:04:41] meldron_: what's up? [13:04:49] you didn't say what the problem was exactly [13:05:23] I dont understand the upgrade manuel. Can you help me ? [13:06:34] saper ? [13:07:31] saper ?? [13:09:20] meldron_: sure, where are you now with your upgrade? [13:10:10] I´m new all files in the folder [13:10:29] I have 1.28.2 and want update to 1.29.0 [13:11:11] I have unzipped [13:11:36] What must i doing just ? [13:11:52] backup have I [13:13:49] saper ? [13:15:21] nobody here ? [13:16:30] hello [13:16:49] so many peoples here online and nobody answers me [13:20:01] I am here [13:21:41] you did that https://www.mediawiki.org/wiki/Manual:Upgrading#Unpack_the_new_files in a new directory, yes? [13:27:06] I have it ? [13:27:13] I have it [13:27:22] you have a new directory with mediawiki 1.29.0 ? [13:27:47] is this all ? [13:28:45] no, it says you need to copy your LocalSettings.php configuration, your extensions and images [13:28:53] I have a new direc. with wiki [13:29:37] look at "Other files" [13:29:48] can you see your new wiki directory with a browser? [13:30:02] then only local extensions and images to the new direct. ? [13:31:25] and skins if you have any custom ones [13:31:35] LocalSettings.php are the most important [13:31:43] because you need to upgrade your database [13:31:50] this is all ? [13:32:48] read the page on [13:32:54] https://www.mediawiki.org/wiki/Manual:Upgrading#Unpack_the_new_files [13:33:15] after the upgrade it should be working [13:33:32] it´s not good explain at pages [13:51:50] meldron_: you have to be more specific [13:51:55] meldron_: did you copy the files? [13:52:06] can you access your new wiki with a browser? [13:54:26] saper moment i work on it. [13:54:44] I must renewed [14:57:32] saper i have database problem [14:59:31] what is the error message [15:00:39] Fatal exception error of type „Wikimedia\Rdbms\DBQueryError“ [15:01:34] how can I make update the database ? [15:03:46] php update.php [15:03:55] it is described on a page below [15:06:07] what is with php update.php ? [15:06:46] you have to run it [15:06:53] it is in the "maintenance" directory [15:07:38] what is with it ? [15:07:43] delete ? [15:11:44] meldron_: what kind of hosting do you have? [15:12:21] meldron_: you need a SSH access to the server, see if there is this option, change your hosting plan if not [15:12:34] no ssh [15:12:39] so forget MediaWiki [15:12:46] or move to a hosting with SSH [15:13:04] without ssh [15:13:06] that would be the two more convenient solutions [15:13:25] no, without SSH, you're torturing yourself, it's not worthwile to find workarounds [15:13:47] or maybe phpshell [15:14:00] he could possibly run it via the "maintenance/update.php" URL? [15:14:21] it would be like insert a screw into a wall without a screwdriver [15:14:23] you can do it [15:14:27] but it's not an optimized process [15:14:47] and in the long term it will take a lot of time to do that if you've a lot of screw to insert :/ [15:15:29] a lot of maintenance task, for example backups, upgrades, permissions fixing are A LOT easier with a ssh access [15:16:50] If I call this update.php. then error: Forbidden You don't have permission to access /magicalnatur2/maintenance/update.php on this server. [15:20:40] meldron_: what's your current hosting budget? [15:20:59] maybe there is something in your .htaccess [15:21:14] I can help you to find something at the same price with SSH access if you wish. [15:21:22] Dereckson: maybe it would be good idea if MediaWiki could be maintained through the web :/ [15:21:47] why? [15:22:27] Composer dependencies installation can consume five hundred MB RAM and take ninety seconds [15:23:01] it's not the kind of processes you can easily manage without a supervisor daemon [15:23:46] do ppl upgrading .zip release need to run composer at all? [15:24:00] and so, the cost of maintenance of the solution to track the processes will be huge [15:24:07] I don't know [15:24:30] The last time I used FTP was 99 [15:25:21] we should probably create a modern web applications task force to put pressure on the ISPs to always offer a SSH access [15:25:34] that would be more rational than to wish to find workarounds [15:27:27] why have I have no access to database with old localsetting file ? [15:29:19] Dereckson: as much as I like it I do not think that UNIX shell is "modern" :) [15:29:41] meldron_: you have access, but the database needs to be updated [15:30:26] it´s right call the update.php file ? [15:30:34] or is the wa wrong ? [15:30:37] way [15:32:15] well you need to do it somehow [15:34:58] but how ? I dont know how [15:40:51] you can try https://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser but it may time out if your installation is large [15:42:10] ???? [16:07:07] Hi [16:07:12] Anyone here want to check something? [16:08:01] ShakespeareFan00: what's up? [16:08:23] File:RockefellerCLE.jpg in a query shows up as being local on enwiki [16:08:35] Examining the image at English Wikipedia says it's on commons [16:08:46] https://quarry.wmflabs.org/query/20698 - 2nd result in a query here [16:08:56] Might be another replica drift issue [16:15:53] Currently there should be no rows returned by the query logic, but I still get the 1 I mention [17:54:13] Hi everyone, I seem to have stumbled into a pretty major problem after upgrading MediaWiki and I can't seem to find the issue anywhere in the usual troubleshooting pages [17:54:28] The issue should be pretty self-evident when you visit it: http://wiki.spheredev.org [17:58:16] Anyone able to help me find out what is going on here, perhaps? I'm not sure where exactly to start looking [18:07:14] Posted it on the Support Desk instead since I can't be on IRC much, but thanks to whoever might stumble across this [18:43:30] hi can you work for wiki and get financial compensation for it? [20:32:02] Ben___: Get a job with Wikia/WMF :) [20:32:29] There's of course nothing to stop Mediawiki being used in a commerical envrionment... [20:36:59] oh it happens also outside of those two above