Open seancoyne opened 10 years ago
Also need a /webtop mapping
From provisioning logs msg: Destination directory /code/projects/chelsea/www/WEB-INF/railo does not exist
Looks like you should check to make sure the WEB-INF dir exists in the project's www dir and create it (and the railo subdir) if necessary.
Ahh I see, you are pinging the URL to let railo create the WEB-INF dir. I see from my logs that was successful. Odd that the WEB-INF/railo dir didn't exist then.
TASK: [ping website to initialize /WEB-INF] ***********************************
changed: [127.0.0.1] => {"changed": true, "cmd": "wget --delete-after http://chelsea.farcrycore.org/index.cfm || true ", "delta": "0:00:10.944566", "end": "2014-07-18 01:39:01.683027", "rc": 0, "start": "2014-07-18 01:38:50.738461", "stderr": "--2014-07-18 01:38:50-- http://chelsea.farcrycore.org/index.cfm\nResolving chelsea.farcrycore.org (chelsea.farcrycore.org)... 127.0.1.1, 192.168.3.55\nConnecting to chelsea.farcrycore.org (chelsea.farcrycore.org)|127.0.1.1|:80... connected.\nHTTP request sent, awaiting response... 302 Found\nLocation: http://chelsea.farcrycore.org/ [following]\n--2014-07-18 01:39:01-- http://chelsea.farcrycore.org/\nReusing existing connection to chelsea.farcrycore.org:80.\nHTTP request sent, awaiting response... 200 OK\nLength: 177 [text/html]\nSaving to: `index.cfm'\n\n 0K 100% 6.71M=0s\n\n2014-07-18 01:39:01 (6.71 MB/s) - `index.cfm' saved [177/177]\n\nRemoving index.cfm.", "stdout": ""}
It might be a timing thing. May need to make the sleep a bit longer so that Railo has a chance to do its stuff before the provisioner moves along.
I had tried sleep. Didn't help. It does eventually get created. And the commit I did to create it manually does work. It's not overwritten.
I have started the machine for the first time and accessing the web site fails.
/code/core exists and has the core files. It appears that the
vagrant
user has full rights to this directoryI installed as follows:
After provisioning completed, I opened http://chelsea.farcrycore.org/ in my browser and received the following:
I am also unable to access
/webtop
(same error)Adding a mapping of
/farcry
to the railo admin pointing to/code/
seems to have fixed it.