[18:35:05] Gopa: hi, are you on? [18:37:03] Hello shreyasminocha [18:37:19] hi [18:37:24] you free to help rn? [18:39:59] Yup :-) [18:41:01] great, thanks! [18:41:06] here's the error i'm getting: https://imgur.com/a/FYQqF3w [18:42:01] * Gopa going through [18:43:10] shreyasminocha: are you using linux distributions? [18:43:31] macOS [18:43:42] unix-based, yes [18:44:52] You have to place the mediawiki inside /var/www/html ryt? i.e /var/www/html/mediawiki instead you have made /var/www/mediawiki [18:45:28] oh! i didn't know that [18:45:32] let me try that out [18:45:44] That may be the reason it is displaying No such file [18:45:46] I don't think that's the issue [18:46:23] actually, it seems to be expecting mediawiki to be on /vagrant/mediawiki [18:46:45] and have left a stub on /var/www/w/ [18:47:00] so a symlink to /var/www/w? [18:47:57] I haven't used vagrant, so I don't really know what it's supposed to do... [18:49:20] you have a /vagrant there? [18:49:27] matching a vagrant folder outside [18:49:28] same me too, I generally place mediawiki in my /var/www/html in my system.(Linux Ubuntu 16.04) [18:50:23] fine, waiting for `vagrant up`... [18:50:42] (btw if i suddently disconnect, it's 'cause of my school's internet timings) [18:54:44] The /var/www/w/*.php files are inside the MediaWiki-Vagrant managed VM and implement a variant of the multiwiki wiki farm code that is used in Wikimedia production wikis. The /vargrant/mediawiki directory should be a mount from the host computer into the VM. Sometimes the apache server inside the VM starts up too early and ends up caching a file handle to the empty /vagrant directory that later gets mounted over. `vagrant ssh -- sudo service [18:54:44] apache2 restart` can fix things if that is the problem. [18:55:28] vagrant ssh -- sudo service apache2 restart [18:56:42] so vagrant up just completed and i got https://imgur.com/a/N0NqQdK [18:56:56] bd808: thanks, but that didn't work either [18:57:58] seems that vagrant up failed [18:58:15] "Exec[wiki setup] has failures" [18:58:26] shreyasminocha: the real error for that puppet run will be somewhere further back in the log output. "Skipping because of failed dependencies" is the sign that something failed before that log line. [18:58:45] uploading a paste. just a sec [18:59:35] you may find some hint of the problem in /vagrant/logs if mediawiki setup is failing (which it seems to be) [18:59:47] although i think the error is "Error: /usr/local/bin/multiversion-install /vagrant/mediawiki --wiki wiki --dbname wiki --dbpass wikipassword --dbuser wikiadmin --pass vagrant --scriptpath /w --server http://dev.wiki.local.wmftest.net:8080 --confpath /vagrant/settings.d/wikis/wiki wiki Admin" [19:00:01] cat /vagrant/ [19:00:09] oops :P [19:00:40] "AddRef: illegal refcnt=3221225469 state=2" [19:00:46] says one of the log files [19:01:00] cryptic [19:01:35] here's the term output for `vagrant up`: https://pastebin.com/wfcjzptZ [19:01:50] line 337 seems to be fishy [19:02:10] let me try doing what it seems to suggest [19:02:57] ... wait, the directory does seem to exist!? [19:06:37] shreyasminocha: The Vector skin failure may be unrelated to the main problem of the wiki initial install failing. The next debugging I would personally do is to use `vagrant ssh` to get a shell inside the VM and then run the command from line 350 of that paste ("/usr/local/bin/multiversion-install /vagrant/mediawiki ...") manually. [19:07:12] hopefully that will tell you more directly why the wiki creation is failing [19:07:48] * shreyasminocha is fascinated by the colourful ascii art on ssh-ing [19:07:53] bd808: thanks, let me try [19:08:59] "Could not open input file: /vagrant/mediawiki/maintenance/install.php" [19:09:09] the maintenance dir does not seem to exist... [19:10:18] vagrant@mediawiki:~$ ls -la /vagrant/mediawiki [19:10:19] total 4 [19:10:19] drwxr-xr-x 1 vagrant www-data 128 Nov 8 12:19 . [19:10:19] drwxr-xr-x 1 vagrant www-data 1440 Nov 8 14:21 .. [19:10:19] -rw-rw-r-- 1 vagrant www-data 148 Nov 8 12:19 composer.local.json [19:10:21] drwxr-xr-x 1 vagrant www-data 320 Nov 7 18:22 .git [19:11:42] hmmm... so the git clone of mediawiki/core.git failed? That should have halted even earlier in the process I would have thought [19:11:53] strange. i've cloned on my local machine (i hope that's correct) [19:12:23] and i clone mediawiki/vagrant.git iirc [19:12:26] cloned* [19:13:42] so on your host machine, is your clone of mediawiki/core.git inside the clone of mediawiki/vagrant.git? That directory you see as /vagrant from inside the VM should be the same as looking at the directory where you cloned mediawiki/vagrant.git on your host computer [19:15:04] the clone of mediawiki/core.git takes a really really long time and I know that people have had problems with that from some networks, especially at schools where they are doing a lot of content filtering [19:15:24] nope, i don't have mediawiki/core.git [19:15:33] i do remember running a command that took an hour though [19:15:43] i think that was the first vagrant up though [19:16:13] so i clone mediawiki/core.git from within my clone of mediawiki/vagrant on my host machine, correct? [19:16:52] yeah, the first vagrant up should clone mediawiki/core.git into the /mediawiki directory [19:17:18] okay, then i do have it [19:17:24] you can do a git clone --depth 1 to make it faster [19:17:27] When that step breaks then pretty much everything after that breaks [19:17:32] oh wait, i don't. looks like i didn't clone deep enough [19:17:35] (in exchange of not getting history) [19:18:27] estimates of how long this'll take? [19:18:44] (the cloning) [19:19:10] it will show percentages while cloning [19:19:25] fair 'nough [19:19:33] I guess its approx 170 mb If I am not wrong. [19:22:21] * bd808 sneaks off to find food [19:22:52] Gopa: which timezone are you in? [19:26:35] sorry offtopic while i wait, but general CS book recommendations? [19:30:08] okay. clone completed