jgraichen / redmine_dashboard

This redmine plugin adds an issue dashboard that supports drag and drop for issues and support various filters and groups.
Apache License 2.0
428 stars 107 forks source link

Empty Dashboard on fresh install #453

Closed Doctor-Who closed 10 months ago

Doctor-Who commented 10 months ago

Describe the bug When trying access to dashboard, everything is empty, see screenshot below : Capture d’écran du 2023-12-14 09-47-06

*To Reproduce

I've follow the configuration part. Activate dashboard on all project And go to users and roles and try to check all type to see if it fix the problem but still nothing.

Expected behavior Supposed to see card relative to ticket I've create or assigned to me ??

Redmine

Environment:
  Redmine version                5.0.4.stable
  Ruby version                   3.1.2-p20 (2022-04-12) [x86_64-linux-gnu]
  Rails version                  6.1.7.3
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Filesystem                     
Redmine plugins:
  redmine_dashboard              2.15.0

Add details about your server:

OS Debian 12, install Redmine and Passenger from Debian official repository.

Client information Add details about your browser and system here. This is important to debug client problems.

jgraichen commented 10 months ago

There appears to be no JavaScript and stylesheets loaded. Did you run all the installation steps for plugins?

Assets from plugins are copied to the public/ directory when Redmine boots. Can you please check your Redmine logs if it did that, or if there were any issues (e.g. permissions problems).

Also, with packaged Redmine installations, there might be extra or different steps, depending on the package.

Doctor-Who commented 10 months ago

Thanks for your quick response. Yes, I've unpacked the archive, and please ensure that the folder name is redmine_dashboard. Then execute bundle install --without development test and bundle exec rake db:migrate RAILS_ENV=production X_DEBIAN_SITEID=sig. The assets are successfully copied during startup (they appear in the redmine logs). I'm trying to investigate apache logs.

jgraichen commented 10 months ago

You can also check your browser console for errors and if requests for the assets fail. The screenshot looks exactly like the page would look without the required assets.

Doctor-Who commented 10 months ago

Finally found it! There was an issue with the declaration of the directory in the vhost. It's now resolved, and we're going to use this amazing plugin. Many thanks for your help!