Cannot list users

cancel
Showing results for 
Search instead for 
Did you mean: 
zerros
Active Member

Cannot list users

Jump to solution

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 Solutions

Accepted Solutions
narkuss
Established Member II

Re: Cannot list users

Jump to solution

That's a known bug in share 6.2. 

View solution in original post

imanez1
Active Member II

Re: Cannot list users

Jump to 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>

View solution in original post

abhinavmishra14
Advanced

Re: Cannot list users or Error Charge List Search Alfresco 6.2

Jump to solution

@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 solution in original post

9 Replies
narkuss
Established Member II

Re: Cannot list users

Jump to solution

That's a known bug in share 6.2. 

zerros
Active Member

Re: Cannot list users

Jump to solution

thanks !!!

EddieMay
Alfresco Employee

Re: Cannot list users

Jump to solution

Ni @zerros,

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

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
imanez1
Active Member II

Re: Cannot list users

Jump to 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
Member II

Re: Cannot list users

Jump to solution

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
Member II

Re: Cannot list users or Error Charge List Search Alfresco 6.2

Jump to solution

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.

abhinavmishra14
Advanced

Re: Cannot list users or Error Charge List Search Alfresco 6.2

Jump to solution

@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
Active Member

Re: Cannot list users

Jump to solution

@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
Member II

Re: Cannot list users

Jump to solution

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

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