catolicasc / alfresco-form-model-management

Automatically exported from code.google.com/p/alfresco-form-model-management
0 stars 0 forks source link

alfCreateSite.sh gives an error #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. New install of Alfresco Enterprise 4.2.2
2. alfCreateSite.sh mysite

What is the expected output? What do you see instead?

Expect to see a new site created. Get an error "Could not resolve host: Path=" 
instead. 

What version of the product are you using? On what operating system?

New build of the shell tools (from yesterday 01-07-2014)
Using a new install of Alfresco Enterprise 4.2.2

Please provide any additional information below.

Added Verbose mode:

The commands - alfSetAvatar.sh, alfCreateGroup.sh, alfAddAuthorityToGroup.sh, 
alfAddAuthorityToGroup.sh all work

Environment
=================

TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/fn/vzlzbq910d93zwvp4m3zy2y80000gp/T/
Apple_PubSub_Socket_Render=/tmp/launch-cXTrJm/Render
TERM_PROGRAM_VERSION=326
ALFTOOLS_SHARE_ENDPOINT=http://localhost:8080/share
ALFTOOLS_ENDPOINT=http://localhost:8080/alfresco
OLDPWD=/AlfrescoCode/DemoBuild/BuildServer/Avatars
TERM_SESSION_ID=8E23A480-E53B-40B2-A8FD-6784F26CE2D9
USER=phampton
SSH_AUTH_SOCK=/tmp/launch-xxfn0v/Listeners
__CF_USER_TEXT_ENCODING=0x1F6:0:0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/Shared/alfresco-shell-t
ools/bin:/Users/Shared/my-tools/bin
__CHECKFIX1436934=1
PWD=/AlfrescoCode/DemoBuild/BuildServer
LANG=en_GB.UTF-8
PS1=$ 
SHLVL=1
HOME=/Users/phampton
ALFTOOLS_PASSWORD=xxxxxx
LOGNAME=phampton
ALFTOOLS_USER=admin
_=/usr/bin/env

Error Log
=================

connection params:
  user: admin
  endpoint: http://localhost:8080/alfresco
  curl opts: -s -S -k -f -v
  site title: mysite
  site desc:  
  site visibility: PUBLIC
  site preset: site-dashboard
  site short name: 
* Adding handle: conn: 0x7fdf0a004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fdf0a004000) send_pipe: 1, recv_pipe: 0
* Could not resolve host: Path=
* Closing connection 0
curl: (6) Could not resolve host: Path=
* Adding handle: conn: 0x7fdf0a004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0x7fdf0a004000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#1)
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#1)
> POST /share/service/modules/create-site HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
> Cookie: JSESSIONID=6FFAB54BE393666A6A7F02EA8539753F;
> Content-Type: application/json
> Content-Length: 118
> 
* upload completely sent off: 118 out of 118 bytes
< HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Set-Cookie: 
Alfresco-CSRFToken=nRGW3D59ROGVzaSJi8MWd%2feGCQ9olKb4609Nx1VKrhg%3d; 
Expires=Wed, 09-Jul-2014 10:29:42 GMT; Path=/share
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Content-Language: en-US
< Content-Length: 0
< Date: Wed, 02 Jul 2014 10:29:42 GMT
< 
* Connection #1 to host localhost left intact

Original issue reported on code.google.com by paul.ham...@alfresco.com on 2 Jul 2014 at 10:48

GoogleCodeExporter commented 8 years ago
Sorry - posted this in the wrong project and can not find a way to delete. 

Original comment by paul.ham...@alfresco.com on 2 Jul 2014 at 11:22