I'm investigating if an upgrade of my Community 5.2 build to Community 7.0 is possible (easy?).
I want to try and install it locally on my Centos/7 machine.
I read that Alfresco Community Edition 7.0 is available as a distribution zip file for manual installation, or it can be installed using an Ansible playbook (Linux only) for non-containerized environments.
I downloaded the Ansible zip but the procedure necessary to obtain a NEXUS_USERNAME/PASSWORD so I can run the ansible play but the instructions do not detail how to obtain a login/password.
Any Help/Guidance on getting the needed credentials to install Community7 via ansible would be appreciated.
Solved! Go to Solution.
Seems like you are using enterprise version package of ansible to install community if i am not wrong. Check your xx-extra-vars.yml to make sure edition value is community and all the dowload urls are pointing to community repo.
Trying downloading the ansible package from here: https://download.alfresco.com/cloudfront/release/community/alfresco-ansible-deployment/alfresco-ansi...
For more detailed info refer:
https://docs.alfresco.com/content-services/community/install/ansible/
Notice in documentation for enterprise command is:
ansible-playbook playbooks/acs.yml -i inventory_local.yml
For community version command is:
ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml"
Hi! I've never used ansible but searching on Alfresco docs I've found this post (maybe it can helps you?).
In a point of view of perform a migration from Alfresco 5.2 to 7, it's possible. You can check here how is the process. If it's your first time: i'll suggest you first do it with Alfresco 5.2 vanilla in your local machine, just to practice the process. Document the process. Then, make a backup of Alfresco 5.2 and try in your local again. And at the end, try in your servers.
Cheers,
Cristina.
Thanks cristinamr,
Yes I read that. It assumes you have ACS7 installed so you can then modify the *.properties files.
The issue is the ansible install requires NEXUS login Credentials in order to download alfresco-content-services-distribution-7.0.0.zip
The Link Ansible is trying to download from is :
https://artifacts.alfresco.com/nexus/service/local/repositories/enterprise-releases/content/org/alfr...
It's extremly frustrating when an install document tells me to enter a nexus username & password but does not tell you how to request one.
TASK [../roles/transformers : Remove from content services] ************************************************************************************************************************* ok: [transformers_1] TASK [../roles/transformers : Download alfresco-transform-core-aio-boot-2.3.10.jar] ************************************************************************************************* fatal: [transformers_1]: FAILED! => {"msg": "An unhandled exception occurred while templating '{u'acs_zip_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.enterprise_releases }}org/alfresco/alfresco-content-services-distribution/{{ acs.version }}/alfresco-content-services-distribution-{{ acs.version }}.zip.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'adw_zip_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-digital-workspace/{{ adw.version }}/alfresco-digital-workspace-{{ adw.version }}.zip.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'acs_zip_url': u'{{ nexus_repository.enterprise_releases }}org/alfresco/alfresco-content-services-distribution/{{ acs.version }}/alfresco-content-services-distribution-{{ acs.version }}.zip', u'transform_jar_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.releases }}/org/alfresco/alfresco-transform-core-aio-boot/{{ transform.version }}/alfresco-transform-core-aio-boot-{{ transform.version }}.jar.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'trouter_jar_url': u'{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-transform-router/{{ trouter.version }}/alfresco-transform-router-{{ trouter.version }}.jar', u'search_zip_url': u'{{ nexus_repository.releases }}/org/alfresco/alfresco-search-services/{{ search.version }}/alfresco-search-services-{{ search.version }}.zip', u'sfs_jar_url': u'{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-shared-file-store-controller/{{ sfs.version }}/alfresco-shared-file-store-controller-{{ sfs.version }}.jar', u'search_zip_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.releases }}/org/alfresco/alfresco-search-services/{{ search.version }}/alfresco-search-services-{{ search.version }}.zip.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'sync_zip_url': u'https://artifacts.alfresco.com/nexus/content/groups/private/org/alfresco/services/sync/sync-dist-6.x/{{ sync.version }}/sync-dist-6.x-{{ sync.version }}.zip', u'trouter_jar_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-transform-router/{{ trouter.version }}/alfresco-transform-router-{{ trouter.version }}.jar.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'sfs_jar_sha1_checksum': u\"{{ lookup('url', '{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-shared-file-store-controller/{{ sfs.version }}/alfresco-shared-file-store-controller-{{ sfs.version }}.jar.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'sync_zip_sha1_checksum': u\"{{ lookup('url', 'https://artifacts.alfresco.com/nexus/content/groups/private/org/alfresco/services/sync/sync-dist-6.x/{{ sync.version }}/sync-dist-6.x-{{ sync.version }}.zip.sha1', username=lookup('env', 'NEXUS_USERNAME'), password=lookup('env', 'NEXUS_PASSWORD')) }}\", u'transform_jar_url': u'{{ nexus_repository.releases }}/org/alfresco/alfresco-transform-core-aio-boot/{{ transform.version }}/alfresco-transform-core-aio-boot-{{ transform.version }}.jar', u'adw_zip_url': u'{{ nexus_repository.enterprise_releases }}/org/alfresco/alfresco-digital-workspace/{{ adw.version }}/alfresco-digital-workspace-{{ adw.version }}.zip'}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'url'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Received HTTP error for https://artifacts.alfresco.com/nexus/service/local/repositories/enterprise-releases/content/org/alfresco/alfresco-content-services-distribution/7.0.0/alfresco-content-services-distribution-7.0.0.zip.sha1 : HTTP Error 401: Unauthorized"} PLAY RECAP ************************************************************************************************************************************************************************** activemq_1 : ok=23 changed=3 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 database_1 : ok=19 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 transformers_1 : ok=19 changed=0 unreachable=0 failed=1 skipped=15 rescued=0 ignored=0
Seems like you are using enterprise version package of ansible to install community if i am not wrong. Check your xx-extra-vars.yml to make sure edition value is community and all the dowload urls are pointing to community repo.
Trying downloading the ansible package from here: https://download.alfresco.com/cloudfront/release/community/alfresco-ansible-deployment/alfresco-ansi...
For more detailed info refer:
https://docs.alfresco.com/content-services/community/install/ansible/
Notice in documentation for enterprise command is:
ansible-playbook playbooks/acs.yml -i inventory_local.yml
For community version command is:
ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml"
Thanks, that helps! Migrating from 5.x to 7 seams to be pretty difficult.
I mis the days of just copying over my alf_data dir...
PS. We're trying to get a Quote for the Enterprise edition + Support but I guess everyone is pretty busy at Alfresco...
Glad to hear that, good luck.
Thank you for accepting the solution - helpful to other users.
Cheers,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.