behigh / redmine_timelog_timer

A simple javascript timer for timelog form
Other
30 stars 21 forks source link

How to get it working with Redmine 5.0.5 #18

Open saraf opened 1 year ago

saraf commented 1 year ago

Redmine does not start up - the following error is there in /var/log/apache2/error.log [ E 2023-07-13 18:08:55.2012 14204/Tf age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /srv/redmine-5.0.5: The application encountered the following error: cannot load such file -- timelog_timer_hook_listener (LoadError) This is the environment I am using:

Environment:
  Redmine version                5.0.5.stable
  Ruby version                   3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
  Rails version                  6.1.7.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
Redmine settings:
  Redmine theme                  Default
SCM:
  Git                            2.34.1
  Filesystem                     
Redmine plugins:
  redmine_local_avatars          1.0.5.3.0
Gappa commented 1 year ago

This fork seems to work:

The main problem is with the hook registration: