02-01-2021 07:59 AM
I've installed ACS community version 6.2 using this guide. I can succesfully launch Alfresco on "http://192.168.120.130:8080/alfresco/" and login to it using admin account. I can also access "http://192.168.120.130:8080/share/page/", but when I try to log in with (admin/admin), the page just refreshes and nothing happens. When I use incorrect login info, the page informs me that authentification details haven't been recognized, so I assume that share can communicate with DB just fine.
I don't know whether this relates, but I needed to disable CSRFPolicy before by placing this in share-config-custom.xml
<config evaluator="string-compare" condition="CSRFPolicy" replace="true"> <properties> <referer>http://192.168.120.130:8080/.*</referer> <origin>http://192.168.120.130:8080</origin> </properties>
I checked log for alfresco, share and catalina and there is no error.
Information from Alfresco admin console:
My alfresco-global.properties:
# # Custom content and index data location # dir.root=/opt/alfresco-6.2.2./alf_data # # Sample database connection properties # db.username=alfresco db.password=alfresco db.name=alfresco db.pool.max=275 # # Choose DB connection properties for your database, e.g. for PostgreSQL # db.driver=org.postgresql.Driver db.url=jdbc:postgresql://localhost:5432/alfresco # # URL Generation Parameters (The ${localname} token is replaced by the local server name) #------------- alfresco.context=alfresco alfresco.host=192.168.120.130 alfresco.port=8080 alfresco.protocol=http share.context=share share.host=192.168.120.130 share.port=8080 share.protocol=http # encryption solr.secureComms=none index.subsystem.name=solr6 # ssl encryption encryption.ssl.keystore.location=${dir.keystore}/ssl.keystore encryption.ssl.keystore.type=JCEKS encryption.ssl.keystore.keyMetaData.location= encryption.ssl.truststore.location=${dir.keystore}/ssl.truststore encryption.ssl.truststore.type=JCEKS encryption.ssl.truststore.keyMetaData.location= # secret key keystore #configurationencryption.keystore.location=${dir.keystore}/keystore #encryption.keystore.keyMetaData.location= #encryption.keystore.type=JCEKS solr.host=localhost solr.port=8983 solr.port.ssl=8983 local.transform.service.enabled=false ### Initial admin password ### alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634 alfresco-pdf-renderer.root=/opt/alfresco-6.2.2./alfresco-pdf-renderer alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer alfresco-pdf-renderer.url=http://192.168.120.130:8090/ jodconverter.officeHome=/opt/alfresco-6.2.2./libreoffice/libreoffice6.4
02-03-2021 12:06 PM
hmm really strange, not sure what is missing in this rare scenario. May be try setting up fresh.
02-04-2021 03:17 AM
Yes, I did.
02-02-2021 09:52 AM
Couple of things to check:
1- When you hit login exactly, do you see any logs in catalina.out and/or alfresco.log and share.log ? You have already mentioned that you did not see anything, but just to double check.
2- Did you also check the browser console and network logs?
You have mentioned that you are able to login to alfresco and share is also able to validate incorrect credentials, so default credentials should work without any change. I would suggest to review above and share the details and see what you get. Additionally try the below config for CSRF (disable it), and see if login goes through:
<config evaluator="string-compare" condition="CSRFPolicy" replace="true"> <filter/> </config>
02-02-2021 10:47 AM
Thanks for the reply!
1- Yes I made sure to check all three of thementioned log files and none did contain any error or warning message after clicking on login button.
2- Yes I did also check browser console and network logs and nothing showed there.
It's very strange to me. It seems like everything is working, but there is happening some wrong redirecting to login page in the background.
I've also tried to disable CSRF as you mentioned and nothing changed.
As I'm out of options, I'm going to do clean installation on new machine and see if I'll get to the same problem. Maybe I've messed up something in this installation.
Explore our Alfresco products with the links below. Use labels to filter content by product module.