cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot list users

zerros
Confirmed Champ
Confirmed Champ

Hello,

I have a problem to search/list users in admin tools. When I try to list all users, I get this error:

Req URL: https://xxxxxxxx/share/proxy/alfresco/api/people-enterprise?filter=test%20%5Bhint%3AuseCQ%5D&startIndex=0&pageSize=20
 
Result:
The Web Script /alfresco/s/api/people-enterprise has responded with a status of 404 - Not Found.

404 Description:Requested resource is not available.
 
Message:03050016 Script url /api/people-enterprise does not map to a Web Script.
Server:Community v6.2.0 (r05dbaf43-b368) schema 13 001
Time:5 avr. 2020 à 20:38:51

I'm using alfresco community 6.2.

I can Add users, add groups withoud any problem. Any idea ?

3 ACCEPTED ANSWERS

narkuss
Star Contributor
Star Contributor

That's a known bug in share 6.2. 

View answer in original post

This worked for me:

Change show-authorization-status property to false in tomcat\webapps\share\WEB-INF\classes\alfresco\share-config.xml file:

Change from:
<show-authorization-status>true</show-authorization-status>
To:
<show-authorization-status>false</show-authorization-status>

View answer in original post


@crisloli wrote:

Hi,

I find this solution in Ubuntu 20 with Alfresco 6.2 by Docker Compose:

1.  Use Command docker ps and search ContainerID
2.  Use Commando docker exec -it ContainerID /bin/bash
3.  Explore in cd \webapps\share\WEB-INF\classes\alfresco\
4.  Install nano for edit file with this command yum install nano
5.  use command nano share-config.xml
6.  Edit :
From

<show-authorization-status>true</show-authorization-status>


To

<show-authorization-status>false</show-authorization-status>

7. user command exit and then docker-compose restart with you have file docker-compose.yml

I now found search user.


I would avoid making change this way, you may loose your changes when containers are re-launched. Instead use DockerFile and update the share image so you always have updated version of the share image with your custom patches.

See this thread: https://hub.alfresco.com/t5/alfresco-content-services-forum/it-s-impossible-to-show-users-list/m-p/3...

You can also check the discussion here: https://github.com/Alfresco/acs-community-packaging/issues/367

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

9 REPLIES 9

narkuss
Star Contributor
Star Contributor

That's a known bug in share 6.2. 

zerros
Confirmed Champ
Confirmed Champ

thanks !!!

EddieMay
World-Class Innovator
World-Class Innovator

Ni @zerros,

Thanks for accepting the solution - really helpful to other users. 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

This worked for me:

Change show-authorization-status property to false in tomcat\webapps\share\WEB-INF\classes\alfresco\share-config.xml file:

Change from:
<show-authorization-status>true</show-authorization-status>
To:
<show-authorization-status>false</show-authorization-status>

crisloli
Champ in-the-making
Champ in-the-making

Hi,

I configure Alfresco 6.2 in Docker by Ubuntu but I don't know where find this patch in docker. Help me where change this file in docker.

crisloli
Champ in-the-making
Champ in-the-making

Hi,

I find this solution in Ubuntu 20 with Alfresco 6.2 by Docker Compose:

1.  Use Command docker ps and search ContainerID
2.  Use Commando docker exec -it ContainerID /bin/bash
3.  Explore in cd \webapps\share\WEB-INF\classes\alfresco\
4.  Install nano for edit file with this command yum install nano
5.  use command nano share-config.xml
6.  Edit :
From

<show-authorization-status>true</show-authorization-status>


To

<show-authorization-status>false</show-authorization-status>

7. user command exit and then docker-compose restart with you have file docker-compose.yml

I now found search user.


@crisloli wrote:

Hi,

I find this solution in Ubuntu 20 with Alfresco 6.2 by Docker Compose:

1.  Use Command docker ps and search ContainerID
2.  Use Commando docker exec -it ContainerID /bin/bash
3.  Explore in cd \webapps\share\WEB-INF\classes\alfresco\
4.  Install nano for edit file with this command yum install nano
5.  use command nano share-config.xml
6.  Edit :
From

<show-authorization-status>true</show-authorization-status>


To

<show-authorization-status>false</show-authorization-status>

7. user command exit and then docker-compose restart with you have file docker-compose.yml

I now found search user.


I would avoid making change this way, you may loose your changes when containers are re-launched. Instead use DockerFile and update the share image so you always have updated version of the share image with your custom patches.

See this thread: https://hub.alfresco.com/t5/alfresco-content-services-forum/it-s-impossible-to-show-users-list/m-p/3...

You can also check the discussion here: https://github.com/Alfresco/acs-community-packaging/issues/367

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

MarkVal
Champ on-the-rise
Champ on-the-rise

@narkuss wrote:

That's a known bug in share 6.2. 

View solution in original post


Oh, this was a bug. Thanks a lot for solution!

santiagoposadag
Champ in-the-making
Champ in-the-making

https://github.com/Alfresco/acs-community-packaging/issues/367#issuecomment-1650942005

Here you can find a very detailed  explanation on how to fix it