Tags:
create new tag
view all tags
I am trying to get WebNotify to work and it simply does not seem to do anything... There are no notices on the maillog.

Is there anything silly i'm not doing that is causing it to not work? My Websettings are here and my notification list is here.

Cheers for your help.

Simon

Question

  • TWiki version: Sep 2001
  • Web server:
  • Server OS: Apache
  • Web browser: IE6
  • Client OS: Win2K

-- SimonJudge - 15 Jan 2002

Answer

This is just a stab in the dark, but have you set up the necessary cron job? (IIRC, a cron job is required, somewhere (on TWiki) I've seen it described, I'm not sure it was in the installation documentation. You might try a Google search something like [site:TWiki.org WebNotify cron].

Yes, it is covered in TWikiDocumentation, MonitoringSiteActivity, and TWikiSiteTools (and some other places).

Hope this helps!

-- RandyKramer - 15 Jan 2002

Even before setting up a cron job, I would try invoking mailnotify. Without the -q (quiet) option, it should give you helpful information.

-- JonReid - 15 Jan 2002

We have the same troubles with WebNotify. If I invoke ./mailnotify manually it reports that the mail notification list is empty for several WikiWebs (which isn't true). For the Main Web it would report: "topic not changed since 29 Nov 2001 - 7:25", which isn't true, either.

-- KlausGuenther.

mailnotify relies on two hidden files in each TWiki/data/[web] directory: .changes and .mailnotify. Make sure both are writable by your web server process. .changes contains a list of changes; go ahead and make this empty. .mailnotify contains a timestamp of the last time notification was done; set it to some time in the past, like 1000000000.

Then try modifying a topic in a given web, and invoke mailnotify by hand. If it is successful for that web, copy the .changes and .mailnotify files to each web directory.

The problem has been solved in the meantime: The respective "WebNotify.txt" files didn't have read permission for others. Now they have, and it works. Thank you. (It is unclear, however, how it could happen that read permission for "others" got lost.) -- KlausGuenther - 28 Jan 2002

-- JonReid - 25 Jan 2002

I am experiencing the same problem. Permisions, owners etc of files in the web are ok, files .changes and .mailnotify have what seems to be the right thing and yet, if I run ./mailnotify by hand I get - Note: Notification list is empty. Notifying works all right in other webs I have created ... Thank you for your attention. -- RenatoCarmo - 31 May 2002

I recently made the mistake of writing "MAINWEB" (as in "MAINWEB.BjornGraabek", of course with % sign around MAINWEB) instead of simply "Main" in front of the wiki names. Once I converted back to "Main" it worked again.

-- BjornGraabek - 01 Jun 2002

That was it. Thanks a lot!

-- RenatoCarmo - 03 Jun 2002

I just moved a twiki installation to a new server and at the same upgrading to 4.04. All works fine except mailnotify. When running it fro a commandline it generates an "Internal Server Error". The errorlog shows: "malformed header from script. Bad header=Processing Abctest: /home/soundwit/public_html/cgi-bin/tbin/mailnotify". Where abcterst is a test wiki. I set permissions of all files and folder ok, but it keeps giving same results...

- IstvanLeelossy - 07 Aug 2006

Please open up a new support question.

-- PeterThoeny - 07 Aug 2006

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2006-08-07 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.