On Wed, Jun 3, 2020 at 7:27 AM Sebastian Berlin
<sebastian.berlin(a)wikimedia.se> wrote:
Thanks for the help.
Now I get an error on the next step:
$ curl
http://localhost:8080/wiki/Main_Page
curl: (56) Recv failure: Connection reset by peer
Reloading, which is mentioned to fix a similar problem, doesn't work since mounting
fails again.
I should have thought of mentioning `sudo service apache2 reload`
along with the information in the first response about the manual
mount. This is an ordering bug that has been seen before even when
mounts are working as expected.
The document root for the apache2 vhost that serves your wiki lives
inside the /vagrant mount. Apache would have started before the manual
mount was made with an empty directory. The apache2 process will not
be notified when the intended content is mounted over the top of the
previously empty directory. Manually restarting the apache2 process
after fixing the mounts should make things happy again.
Bryan
--
Bryan Davis Technical Engagement Wikimedia Foundation
Principal Software Engineer Boise, ID USA
[[m:User:BDavis_(WMF)]] irc: bd808