Skip to content
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

Confluence version 6.1 is not supported by the cookbook #182

Open
anbuela opened this issue Sep 10, 2019 · 1 comment
Open

Confluence version 6.1 is not supported by the cookbook #182

anbuela opened this issue Sep 10, 2019 · 1 comment

Comments

@anbuela
Copy link

anbuela commented Sep 10, 2019

Hi team,

While upgrading confluence from cookbook using custom jason.
we are getting this error.
[2019-09-10T07:03:57+00:00] INFO: Processing chef_gem[aws-sdk-core] action install (alb_support::attach_to_alb line 18)
[2019-09-10T07:03:57+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/data/confluence/confluence
[2019-09-10T07:03:57+00:00] ERROR: Failed to load data bag item: "confluence" "confluence"
[2019-09-10T07:03:57+00:00] INFO: No confluence data bag found

================================================================================
Recipe Compile Error in /var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/recipes/default.rb

RuntimeError

Confluence version 6.1 is not supported by the cookbook

Cookbook Trace:

/var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/libraries/helpers.rb:131:in confluence_artifact_checksum' /var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/recipes/linux_installer.rb:49:in block in from_file'
/var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/recipes/linux_installer.rb:47:in from_file' /var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/recipes/default.rb:23:in from_file'

Relevant File Content:

/var/chef/runs/44aeed95-ac3e-477e-a095-ccc1ce83b8d5/local-mode-cache/cache/cookbooks/confluence/libraries/helpers.rb:

124: # Returns SHA256 checksum of specific Confluence artifact
125: def confluence_artifact_checksum
126: return node['confluence']['checksum'] unless node['confluence']['checksum'].nil?
127:
128: version = node['confluence']['version']
129: sums = confluence_checksum_map[version]
130:
131>> raise "Confluence version #{version} is not supported by the cookbook" unless sums
132:
133: case node['confluence']['install_type']
134: when 'installer' then sums[confluence_arch]
135: when 'standalone' then sums['tar']
136: end
137: end
138:
139: def confluence_arch
140: (node['kernel']['machine'] == 'x86_64') ? 'x64' : 'x32'

Platform:

@github-actions
Copy link

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants