I installed Alfresco in the Google cloud. Thereafter I was able log in as administrator (on http://AAA.BBB.CCC.DDD/share/page/
).
Then I
mvn clean package -DskipTests=true
,anote-1.0-SNAPSHOT.amp
to /opt/bitnami/apps/alfresco/amps
on the server,sudo ./apply_amps.sh
in /opt/bitnami/apps/alfresco
, andThereafter the login page (http://AAA.BBB.CCC.DDD/share/page/
) stopped to work. Whenever I enter my admin credentials I get the error Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time.
How can I fix this error (make sure that I can log in into the admin page again)?
Notes
http://AAA.BBB.CCC.DDD/share/page/
I use the credentials provided by Bitnami:I looked at the log file /opt/bitnami/apache-tomcat/logs
and found the error below there. I believe I have fixed this errot, but after deploying a corrected AMP file and re-booting the machine, I still cannot log into Alfresco.
Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix anote is not mapped to a namespace URI at org.alfresco.service.namespace.QName.createQName(QName.java:109) at org.alfresco.service.namespace.QName.createQName(QName.java:131) at org.alfresco.repo.dictionary.M2ClassDefinition.(M2ClassDefinition.java:114) at org.alfresco.repo.dictionary.M2TypeDefinition.(M2TypeDefinition.java:49) at org.alfresco.repo.dictionary.CompiledModel.constructDefinitions(CompiledModel.java:167) at org.alfresco.repo.dictionary.CompiledModel.(CompiledModel.java:106) ... 38 more
I fixed the error by changing the version number of the model. It looks like the faulty model was not updated (hence the Alfresco WAR could not be deployed), until I changed the version.