<% license = Avo.license information_items = [ 'license_key', 'ruby_version', 'rails_version', 'environment', 'host', 'port', 'ip', 'app_name', ] hq_payload = Avo::Licensing::HQ.new(request).payload %>
<%= render Avo::PanelComponent.new(name: 'Avo Status', description: 'Use this page to debug your Avo instance.') do |c| %> <% c.with_tools do %> <% end %> <% c.with_bare_content do %>
License info
<%= a_button style: :outline, color: :blue, url: "#{root_path}avo_private/debug/refresh_license", method: :post, loading: true, size: :xs, icon: 'heroicons/outline/refresh' do %> Refresh license <% end %>
<%= render partial: "valid_indicator", locals: {valid: license.valid?} %> <%= license.name %> license
<% if license.response['reason'] %>
Error
<%= license.response['reason'] %>
<% end %> <% if license.response['error'] %>
Error
<%= license.response['error'] %>
Exception message
<%= license.response['exception_message'] %>
<% end %>
<% information_items.each do |item| %>
<%= item.humanize %>
<%= license.response[item] %>
<% end %>
Last fetched at
<%= license.response['fetched_at'] %>
<% if license.response['fetched_at'].present? %> (<%= time_ago_in_words license.response['fetched_at'] %> ago)
<% end %>
Cache store
<%= Avo.cache_store.class %>
Plugins
  • Avo <%= Avo::VERSION %>
  • <% Avo.plugin_manager.plugins.each do |plugin| %>
  • <%= plugin.name %> - <%= plugin.version %>
  • <% end %>
<% end %> <% end %>