Alfresco unable to login after clean install from github

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

Alfresco unable to login after clean install from github

Dear all

I just installed a new Debian 9.5 server and Alfresco 6.2 based on the docker compose template from github:

https://github.com/Alfresco/alfresco-docker-installer

all by the book, according to the above instructions

In the server root I made a directory /docker-compose and from there I run 'yo alfresco-docker-installer'

All good - I have now the start.sh script - no errors Smiley Happy

After I run the start.sh script and the container is created ( or restarted ) I have an error :

 

Creating docker-compose_proxy_1                 ... done

Waiting for alfresco to boot ...

waiting for 1 resources: http://localhost:80/alfresco/

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 502

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 404

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 404

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 404

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 404

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

  HTTP(S) error for http://localhost:80/alfresco/ Error: Request failed with status code 404

making HTTP(S) head request to  url:http://localhost:80/alfresco/ ...

.......

.....

wait-on(29184) Timed out waiting for: http://localhost:80/alfresco/; exiting with error

Error: Timed out waiting for: http://localhost:80/alfresco/

I'm able to access http default login page (!) on the ip directly or on http://Ip/share but I'm unable to login using default admin/admin credentials

On the main page is telling me that I have input wrong credentials and in the /share page is warning me about "Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time."

The alfresco-doker-installer options are :

Version 6.2, 8GB, no mariadb, multiple languages, no smtp, no ldap, no ftp, port 80, no https, no windows, startup script 

No matter which combination of the above ones works - not 6.1, https, wiht ldap, etc - same problem, same errors when I start the container

Any ideeas ? Many thanks 

 

5 Replies
Advanced

Re: Alfresco unable to login after clean install from github

It seems you alfresco did not start correctly,you can try to add a volume mapping in docker-compose.yml ,for example

- /volumes/logs/alfresco:/usr/local/tomcat/logs


And check the logs to see what is going on.

Member II

Re: Alfresco unable to login after clean install from github

Hi

Thank you for you answer

 

Unfortunatelly all tomcat logs directories are emtpy - I do have in docker-compose-yaml the line you mentioned:

 

       volumes:

            - ./data/alf-repo-data:/usr/local/tomcat/alf_data

            - ./logs/alfresco:/usr/local/tomcat/logs   

Those are the lcoations of the /tomcat/logs directories

/var/lib/docker/overlay2/0766ae22b84b910eabf12142ba01dceb97df413afa3ea7c1f92af50d99008571/diff/usr/local/tomcat/logs

/var/lib/docker/overlay2/2bcfc3a9678725b547df4d8423e23f90959cba18aa2c3dd1d990dda5f048a02a/merged/usr/local/tomcat/logs

/var/lib/docker/overlay2/a42e98b48b49c8111a6b2225831f282082a7f4dee6c7bc2a001a07d29da56fa2/diff/usr/local/tomcat/logs

/var/lib/docker/overlay2/d191470bfcf10e138c554027a230b1f0e4cd05a3540d1b2ec470714ac266b264/merged/usr/local/tomcat/logs

Tank you

 

Advanced

Re: Alfresco unable to login after clean install from github

Please paste your docker-compose.yml file here.

Member II

Re: Alfresco unable to login after clean install from github

Hi

 

It's exceeding 20k characters hence I shared it through Dropbox - ignore the first RTF headers put by textedit Smiley Happy

Thank you

 

https://www.dropbox.com/s/9wn30ld9scq9swc/docker-compose.yml?dl=0 

 

Advanced

Re: Alfresco unable to login after clean install from github

First make sure  folders ./data/alf-repo-data and /logs/alfresco exist.
And -Xms1856m -Xmx1856m is not enough ,I think you should try to increase it.