PuppetDB plugin: Missing template

Problem:
Hi,
I can’t access the PuppetDB Dashboard on a newly installed Foreman:

Oops, we're sorry but something went wrong
Missing template puppetdb_foreman/puppetdb/index, application/index with {:locale=>[:"en-GB", :en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}.
Searched in: 
* "/usr/share/foreman/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_virt_who_configure-0.1.1/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/puppetdb_foreman-4.0.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.9.3/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_expire_hosts-5.1.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-11.0.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-11.0.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-2.0.1/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.4.5/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.6.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.11.2/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/bastion-6.1.8/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-4.0.0/app/views" 
* "/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.6/app/views" 

Expected outcome:
No error.

Foreman and Proxy versions:
CentOS 7.5.1804
Foreman 1.17.1
Foreman-Proxy 1.17.1
Katello 3.6.0

Foreman and Proxy plugin versions:
tfm-rubygem-puppetdb_foreman-4.0.0

Other relevant data:
Full_trace.txt.gz (1.8 KB)

That looks like a known issue: https://github.com/theforeman/puppetdb_foreman/issues/51