-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't list users in admin tools #367
Comments
I can confirm the issue with Alfresco Share v6.2.0. I also verified, that the issue is not present in Share v6.1.0. |
This issue was introduced in Share by the fix required for MNT-20723, PR#115 - Share. As a workaround that fixes this issue, This can be achieved by editing Edit: |
As a temporary workaround until the next release of share, you can modify the share Dockerfile in your SDK, or create a custom image from share 6.2.0 and add this lines:
|
As already expressed on the Alfresco IRC channel today, there should never have been a config option for this. Other console tools show how the license / edition of Alfresco should be checked to toggle Enterprise-specific functionality without requiring a config option. |
It don't go for me. I coutinu without see the users. Can you help me, please? |
This worked for me |
What do we do with this RUN line? Does it go in the docker-compose.yml? Where? |
It goes in DockerFile. But it doesn't work as share-config-custom.xml at /usr/local/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml always replaces the config. You can update the value 'false' in share-config-custom.xml instead. RUN sed -i 's@<show-authorization-status>true</show-authorization-status>@<show-authorization-status>false</show-authorization-status>@' \
$TOMCAT_DIR/shared/classes/alfresco/web-extension/share-config-custom.xml
`
|
@abhinavmishra14 thanks. I just have the docker-compose.yml I downloaded form https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition it looks like I might be able to use "command" in the docker-compose.yml to run the sed command. I will find out! |
what I ended up doing was pull down 6.1.0 instead of 6.2.0 (or 6.2.2) in the docker-compose.yml. That resolved the issue. I had already kicked off the docker-compose up when I said I would try "command", but I hadn't actually tried it. I guess I wasn't super confident that would work, lol. glad it did! I don't know what other issues I might face, but I will keep the command option in mind in case we run into something else. Higher priority items at the moment than the command option. Thanks again for the help. |
@douglasawh You can have a look at this docker-compose.yml and take a reference on DockerFile usage. |
Buenas tardes. Estoy trabajando Alfresco con Docker y Solr en debian 10 pero por mas que busco el directorio no lo encuentro. Esto son algunos de los errores que me manda el Solr.
4/2/2021 15:00:31 | WARN false | | SolrResourceLoader | Solr loaded a deprecated plugin/analysis class |
Revisa la documentación de dockers... suerte |
@chatoros, buenas tardes. Aplique el comando docker ps y obtuve el id del contenedor pero al momento de aplicar el siguiente comando sudo docker exec it asderee233 me dice error en el comando it y si lo aplico de la siguiente manera sudo docker exec -it asderee233 me dice que requiere de dos argumentos. Donde: |
Parece que te falta el bash, yo lo uso asi: docker exec -it 180b7d246694 /bin/bash
|
Well.... looks like Alfresco 7.0 was released (or at least tagged), and it still contains the same issue, as there has been no change to the default configuration which breaks this for community, and the flag still results in Enterprise API being called. |
I have the same error, with the last version of Alfresco installed using Docker Desktop. How I can resolve it? |
alfresco 7.0 has the same problem. |
Alfresco 7.0 still has the same problem also the solution to changed |
It`s unfortunate to hear that this problem is still ongoing for the past 2 years. Is there any other work-around that works in Alfresco 7? |
The amount of redundant "I have the same error", different "solutions" (some of them dirty hacks), false claims of "does not work" etc. on this issue is honestly astounding. Too bad Alfresco is not doing anything against it, like fixing the underlying issue. For the record, the following configuration file as a share-config-custom-dev.xml in e.g. tomcat/shared/classes/alfresco/web-extension/ has worked for me in all affected Alfresco versions: <?xml version='1.0' encoding='UTF-8'?>
<alfresco-config>
<config evaluator="string-compare" condition="Users" replace="true">
<users>
<username-min-length>2</username-min-length>
<password-min-length>3</password-min-length>
<!-- fix/workaround for https://github.com/Alfresco/acs-community-packaging/issues/367 -->
<show-authorization-status>false</show-authorization-status>
</users>
<enable-external-users-panel>false</enable-external-users-panel>
</config>
</alfresco-config> This can be added either via a custom image build or by simply mounting the file into the container. The share-config-custom-dev.xml file is always loaded after any share-config-custom.xml, regardless if they were provided by extension modules or via the server configuration path. As I have written in March and proven with a direct link to the source code, the default configuration of |
Very Good! |
There is no folder "web-extension" in "tomcat/shared/classes/alfresco" on Alfresco Community 7.1 (docker installation), and try to create the "web-extension" manually then add "share-config-custom-dev.xml" in it. But still not working. Can someone who has experienced on this bug can tell me how to fix it? Thanks! |
I encounter the same issue with Alfresco Community 7.3. |
Found out what was the problem. There was actually already a share-config-custom.xml in $TOMCAT_DIR/shared/classes/alfresco/web-extension/ in which |
Cannot believe that they did not fix this thing or add them in the document. |
This bug is also in 7.2.1 installed using ansible. See http://github.com/Alfresco/alfresco-ansible-deployment However, I cannot find the offending file. Does anyone know where it is? Thanks John |
I think I found the file for the Ubuntu 20 installation. It is: /var/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/share-config.xml |
@jpmahon I think the file you want to edit is actually |
Great Thank-you. |
Alex
Thanks for the very quick reply. That fix got me past one bug and maybe to
another one.
I can now see the user data; I can then bring up the edit page but I
cannot save the new data. I also cannot save a new user's data.
Do you know anything about this problem?
Thanks
John
…On Mon, Nov 14, 2022 at 12:33 PM Alex Chapellon ***@***.***> wrote:
@jpmahon <https://github.com/jpmahon> I think the file you want to edit
is actually
/etc/opt/alfresco/content-services/classpath/alfresco/web-extension/share-config-custom.xml
I opened the PR below so ansible deploys with the fix:
Alfresco/alfresco-ansible-deployment#501
<Alfresco/alfresco-ansible-deployment#501>
—
Reply to this email directly, view it on GitHub
<#367 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3ERDWT3GOSLOO5N5XOSGTWIKO2ZANCNFSM4JCQDYNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
John,Loretta,Patrick,Kelin,Erin Mahon
Home 805-449-9223
Cell 805-202-6675
|
|
Hello. I am using Alfresco community version 7.40 and I am also facing this know issue/bug. ` Web Script Status 404 - Not Found`Web Script Status 404 - Not Found 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: 00180004 Script url /api/people-enterprise does not map to a Web Script. |
see described work around in #367 (comment) |
Hello folks, how are you? I hope you are having some great times. I did an install/deploy using docker reproducing steps from https://docs.alfresco.com/content-services/community/install/containers/docker-compose/ root@iKIGAI: Alfresco is working and it's a very great system but I cant list users yet. I will keep researching. @hi-ko Thanks for your reply bro. I tried that but I still cant see users but it's ok for my situation. We are using Alfresco as a document storage to CMDBUILD 3.4 setup. I am also facing a problem to when uploading a document from CMDBUILD using /alfresco/api/-default-/public/cmis/versions/1.1/atom and I got: org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Type 'P:cmdbuild:classifiable' is unknown! Again, I repeat: IT IS AN AMAZING TOOL. Congrats to all who developed and keep it! Thanks. |
Hello folks. How are you? I am able to upload files using CMDBUILD interface and files are correctly stored at Alfresco. Thanks |
the solution worked for me, i would want to give a more detailed explanation: the first thing that you hace to do is to list you running container: "docker ps" to find the specified documents mentioned below this statement:
you can execute an interactive shell in your share container with the following command: But what you need to do is to copy the files that are in those paths into your host machine to do so you can use the following commands: this will copy the files from the container into your current host path. open the files in your text editor find "people-enterprise" and change it to "people" save changes and copy the files back to the container with these two commands: finally you just have to restart the share container with this command: docker restart <share_container_name> |
What a long thread. 4 years and counting. Update for 7.4, if you're not using Docker. The 7.4.0.1 Ansible install no longer has this problem; the fix is in /etc/opt/alfresco/content-services/classpath/alfresco/web-extension/share-config-custom.xml (yes, in /etc). The 7.4.0 zip install still has this problem. You can fix it by editing shared/classes/alfresco/web-extension/share-config-custom.xml, with the true/false change shown lots of times above. Thanks to everybody. |
Hi all,
![imatge](https://user-images.githubusercontent.com/28560745/67146909-40ed0b80-f290-11e9-929b-a764f9a8cf1a.png)
when I go to Administrative tools -> Users, Alfresco tries to retrieve users using enterprise endpoint:
Versions:
Alfresco Share v6.2.0-RC4
Alfresco Community v6.2.0-ea
The text was updated successfully, but these errors were encountered: