redmine_timelog_timer
redmine_timelog_timer copied to clipboard
How to get it working with Redmine 5.0.5
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
This fork seems to work:
- https://github.com/e-dot/redmine_timelog_timer
The main problem is with the hook registration:
- https://github.com/e-dot/redmine_timelog_timer/blob/8762d3996ab173b7346412ad4e14239984337221/init.rb#L2-L6