Bug#570402: redmine: send_reminders seems not to work

2010-02-19 Thread Holger Rusch

Hi,

Am 18.02.2010 21:39, schrieb Jérémy Lal:

It works perfectly for me.
I tried by adding issues and setting different due dates, and i get the correct 
list.



Unfortunately there's no log in /var/log/redmine/default/production.log
You can try
* rake -vt ...


winvirtdebian:~# sudo -u www-data X_DEBIAN_SITEID=default /usr/bin/rake 
-vt -f /usr/share/redmine/Rakefile redmine:send_reminders days=10 
RAILS_ENV=production

(in /root)
** Invoke redmine:send_reminders (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:send_reminders
winvirtdebian:~#

= Everything seems fine.


* in config/environments/production.log, change to :
   config.action_mailer.raise_delivery_errors = true


There are no more infos in the log then. Running the send_reminders task 
just give no additional log entry.



* redmine 0.9.2 (which is in unstable), maybe it's a 0.9.1 bug.


Doesnt seem so, because the send_reminders feature got no bug attached 
at redmine.org since it exists.


But i will wait until 0.9.2 gets into testing and if its gone, i will 
tell. If not, i will also tell. :)


Thanks.

Other ways to debug more deeply? But be aware, I am a complete ruby and 
raids noob!


--
+ Contact? = http://site.rusch.name/ +



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570402: redmine: send_reminders seems not to work

2010-02-18 Thread bug
Package: redmine
Version: 0.9.1-1
Severity: normal

Hi Jérémy,

# cat /etc/cron.d/redmine
...
# Remind 3 days in front once a day
03 05* * * www-data   [ -f /usr/share/redmine/Rakefile ]  
X_DEBIAN_SITEID=default /usr/bin/rake -s -f /usr/share/redmine/Rakefile 
redmine:send_reminders days=3 RAILS_ENV=production
...

This should remind people assigned to an issue three days before the due-date 
is reached.

It should, but it doesnt for me.

Thx for help. 

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages redmine depends on:
ii  dbconfig-common  1.8.44  common framework for packaging dat
ii  debconf [debconf-2.0]1.5.28  Debian configuration management sy
ii  libjs-prototype  1.6.1-1 JavaScript Framework for dynamic w
ii  libjs-scriptaculous  1.8.3-1 JavaScript library for dynamic web
ii  rails2.2.3-2 MVC ruby based framework geared fo
ii  rake 0.8.7-1 a ruby build program
ii  redmine-mysql0.9.1-1 metapackage providing MySQL depend
ii  ruby 4.2 An interpreter of object-oriented 
ii  ruby1.8  1.8.7.249-1 Interpreter of object-oriented scr

Versions of packages redmine recommends:
ii  libapache2-mod-fcgid  1:2.3.4-2  an alternative module compat with 
ii  libfcgi-ruby1.8 [libfcgi-ruby 0.8.7-4.1  FastCGI library for Ruby
ii  libfcgi-ruby1.9 [libfcgi-ruby 0.8.7-4.1  FastCGI library for Ruby

Versions of packages redmine suggests:
ii  apache2-mpm-prefork [httpd-cg 2.2.14-5   Apache HTTP Server - traditional n
pn  libopenid-rubynone (no description available)
pn  librmagick-ruby   none (no description available)
pn  libsvn-ruby   none (no description available)

-- debconf information:
  redmine/instances/default/passwords-do-not-match:
  redmine/instances/default/remote/newhost:
  redmine/instances/default/db/basepath:
  redmine/instances/default/pgsql/changeconf: false
  redmine/instances/default/missing-db-package-error: abort
  redmine/default-language: ${defaultLocale}
  redmine/instances/default/pgsql/no-empty-passwords:
  redmine/instances/default/pgsql/method: unix socket
* redmine/instances/default/database-type: mysql
  redmine/instances/default/pgsql/manualconf:
  redmine/instances/default/pgsql/authmethod-admin: ident
  redmine/instances/default/pgsql/admin-user: postgres
  redmine/instances/default/pgsql/authmethod-user: password
  redmine/instances/default/dbconfig-reinstall: false
  redmine/instances/default/db/app-user: redmine
* redmine/instances/default/default-language: de
  redmine/notify-migration:
  redmine/old-instances:
  redmine/instances/default/upgrade-error: abort
  redmine/instances/default/db/dbname: redmine_default
  redmine/instances/default/purge: false
* redmine/current-instances: default
  redmine/instances/default/remote/host:
  redmine/instances/default/dbconfig-upgrade: true
  redmine/instances/default/internal/reconfiguring: false
  redmine/instances/default/upgrade-backup: true
  redmine/instances/default/install-error: abort
  redmine/instances/default/mysql/admin-user: root
  redmine/instances/default/mysql/method: unix socket
  redmine/instances/default/internal/skip-preseed: false
  redmine/instances/default/remove-error: abort
  redmine/instances/default/dbconfig-remove:
  redmine/instances/default/remote/port:
* redmine/instances/default/dbconfig-install: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570402: redmine: send_reminders seems not to work

2010-02-18 Thread Jérémy Lal
On 18/02/2010 16:57, b...@elovis.de wrote:
 Package: redmine
 Version: 0.9.1-1
 Severity: normal
 
 Hi Jérémy,
 
 # cat /etc/cron.d/redmine
 ...
 # Remind 3 days in front once a day
 03 05* * * www-data   [ -f /usr/share/redmine/Rakefile ]  
 X_DEBIAN_SITEID=default /usr/bin/rake -s -f /usr/share/redmine/Rakefile 
 redmine:send_reminders days=3 RAILS_ENV=production
 ...
 
 This should remind people assigned to an issue three days before the due-date 
 is reached.
 
 It should, but it doesnt for me.
 
 Thx for help. 

Just to be sure, could verify redmine can send emails ?
Administration-Settings-Email notifications-Send a test email (at the bottom 
right)

Also this simple email.yml config might be handy for tests :
production:
  delivery_method: :sendmail

Be sure to set a localhost email like r...@localhost to the redmine admin user 
you're logged on
when sending the test email.

Jérémy.



signature.asc
Description: OpenPGP digital signature


Bug#570402: redmine: send_reminders seems not to work

2010-02-18 Thread Holger Rusch

Hi Jeremy,

sending emails from redmine works flawless.

Mails when somebody enters an issue oder changes it work.

I tested some issues assigned to me with due dates. And I never got any
reminders. Not when the date is aproached in thee days and not if the
issue is overdue.

What shall i try?


Just to be sure, could verify redmine can send emails ?
Administration-Settings-Email notifications-Send a test email (at
the bottom right)


--
Geschäftsführung: Armin Wagner, Bernd Engelsdorf
Handelsregister AG Mannheim; HRB-Nr.: 107461; USt-IdNr.: DE193399431

Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den
bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme,
Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser
E-Mail durch unberechtigte Dritte ist unzulässig. Wir bitten Sie, sich
mit dem Absender der E-Mail in Verbindung zu setzen, falls Sie nicht der
Adressat dieser E-Mail sind und das Material von Ihrem Computer zu löschen.

This e-mail and any attachments are confidential and intended solely for
the addressee. The perusal, publication, copying or dissemination of the
contents of this e-mail by unauthorised third parties is prohibited. If
you are not the intended recipient of this e-mail, please delete it and
immediately notify the sender.
attachment: rusch.vcf

Bug#570402: redmine: send_reminders seems not to work

2010-02-18 Thread Holger Rusch

Hi,

Am 18.02.2010 17:45, schrieb Jérémy Lal:

Please run manually (don't forget sudo -u www-data) the rake task
you use in your crontab, and tell me if you see anything wrong.


winvirtdebian:~# su - www-data
$ X_DEBIAN_SITEID=default /usr/bin/rake -s -f
/usr/share/redmine/Rakefile redmine:send_reminders days=3
RAILS_ENV=production
$

= Nothing fails.

Same for:
winvirtdebian:~# sudo -u www-data X_DEBIAN_SITEID=default /usr/bin/rake 
-s -f /usr/share/redmine/Rakefile redmine:send_reminders days=3 
RAILS_ENV=production


= Nothing fails

Does the feature work for you? Does it send emails for overdue issues also?

--
+ Contact? = http://site.rusch.name/ +



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org