cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco is running without Share Services

michael_s1
Champ on-the-rise
Champ on-the-rise

Hi,  I hope someone can help.

I have activated passthru authentication, but since doing so, I am getting the message "Alfresco is running without Share Services. See your System Administrator for more details."

I have made the same change to two servers, one running Alfresco One trial 5.1.1 and one running Alfresco Community 5.1.0 (r127059-b7).  Both are displaying the same issue.

The authentication chain is:

authentication.chain=alfinst:alfrescoNtlm,passthru1Smiley Tongueassthru,ad1:ldap-ad,ad2:ldap-ad

 

ntlm.authentication.sso.enabled=true

ldap.authentication.active=false

Contents of passthru-authentication-context.properties

passthru.authentication.useLocalServer=False

passthru.authentication.domain=

passthru.authentication.servers=AU\\server22.ourdomain.com,server22.ourdomain.com

passthru.authentication.authenticateCIFS=false

passthru.authentication.connectTimeout=5000

passthru.authentication.offlineCheckInterval=300

passthru.authentication.protocolOrder=TCPIP,NetBIOS

passthru.authentication.defaultAdministratorUserNames=jsmith,admin

The LDAP synchronisation is working great.  I have two because I am getting two different groups of people.

Users can sign on with no problem.  admin can sign on using the alfrescoNtlm.

If I remove passthru, the error goes away.

I am using http port 8080 and all other settings are out of the box.

In alfresco-global.properties

The line share.host is fully qualified instead of 127.0.0.1

share.host=server101.ourdomain.com

Any help or pointers appreciated.

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

As Gethin James Said in order to make share work ,you need to install share-service amp into repository and make sure share'version number is equal to shareServices amp's version number.

You have two options to check whether share-service amp is installed correctly and it's version number.

option 1 is using the Module Management Tool (MMT),you can refer to http://docs.alfresco.com/5.0/concepts/dev-extensions-modules-management-tool.html for                 detail information

option 2 : You can turn on your browser's debugging tool, and you'll find something like this on console

      2016-01-21 11:09:24,195  DEBUG [webscripts.connector.RemoteClient] [http-bio-8080-exec-4] Executing (GET) http://localhost:8080/alfresco/api/-               default-/private/alfresco/versions/1/modulepackag...

trace the message you will find the cause of the issue.

After checking the share-service amp status ,if you find it is not installed correctly or version not match,you'd better reinstall the correct share-service amp version using mmt.

if you find it installed correctly and version matches ,you can disable the waring(not recommended) by following steps

open file ${SHARE_ROOT_FOLDER}/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/imports/share-header.lib.js with a text editor

and find something like this

{

      id: "HEADER_SHARE_SERVICES_WARNING",

      name: "share/services/ServicesWarning",

      config: {

         shareServices: getShareServices(),

         shareVersion: getShareVersion(),

         userIsAdmin: user.isAdmin

      }

   },

comment it out like

/*

{

      id: "HEADER_SHARE_SERVICES_WARNING",

      name: "share/services/ServicesWarning",

      config: {

         shareServices: getShareServices(),

         shareVersion: getShareVersion(),

         userIsAdmin: user.isAdmin

      }

   },

*/

View answer in original post

21 REPLIES 21

mauro1855
Champ in-the-making
Champ in-the-making

Jeff, thanks for the info, actually I had exactly that problem.

Do you think this might be somehow related to this: [ALF-21966] External authentication not working on custom pages - Alfresco JIRA 

malcolmc
Champ on-the-rise
Champ on-the-rise

Not sure if this will help anyone else.

Facts:

1. I see the same error message

2. removing tomcat/work/Catalina/localhost/share/SESSIONS.ser and restarting my server removed the error

Modifications:

1. I am also using ldap authentication

2. a few custom amps installed

Why(Maybe):

I changed my hostname in /opt/alfresco-content-services/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml for the alfresco end-point.

My suspicion is the .ser file was created using the original hostname and never regenerated.