Tags:
create new tag
view all tags

Question

So I have my TWiki installed on a NFS for backup purposes and now there is a problem with registering a new user.

After submitting the user form, instead of bringing me to a page saying the registration was successful, I get brought to a login page. After entering in the new username/pw, the TWiki tells me that the user is already registered and can't be registered twice.

When I go back to the homepage, the new user is already logged in. However, he doesn't have his user information saved. Any help on fixing this problem would be greatly appreciated.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 10u5
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Registration

-- TWikiGuest - 16 Sep 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You do not indicate if:

  • This ever worked before
  • What has recently changed in your environment

-- SteveRJones - 17 Sep 2008

Sorry, let me give you a better description of my scenario.

I installed the TWiki on a NFS and everything was working fine. It's permissions were set to webservd and all was happy. However, after I imported pages from my group's old TWiki and had those permissions set to webservd, that's when the registration stopped working properly. Thanks for your help.

-- TWikiGuest - 21 Sep 2008


Check that the .htpasswd file is writable by apache and contains the registered user you expect. Also check that twiki's login manager ( ex TemplateLogin or ApacheLogin ) and apache's configuration are set accordingly : you can check this out using the ApacheConfigGenerator.
The web server's user must have the appropriate read/write/execute rights to the twiki directories on NFS share : usually same uid/gid are needed on NFS client and NFS server. You might need to edit /etc/exports on the NFS server to allow preserving theses ownerships. Hope this helps. BTW if you use two or more apache as NFS clients, and a NFS server for storing twiki directories I would be very interressed to have some feedback.

-- OlivierThompson - 26 Sep 2008

Does TWikiRegistrationAgent still have change access to TWikiUsers?

-- SeanCMorgan - 27 Sep 2008

I would assume that I have everything setup correctly. The users do get added to TWikiUsers and their passwords are saved into .htpasswd. It's just the registration process isn't correct and their profiles aren't saved under their TWikiName. Instead there is just a blank palette. Thanks

-- TWikiGuest - 09 Oct 2008

"importing pages from (your) group's old TWiki " : is it also a 4.2.0 or is it an older TWiki installation ?

-- OlivierThompson - 26 Oct 2008

It was an older version of TWiki. I believe it was something like 4.0.1 or something like that. It was based off of the Cairo format if I remember corrctly.

-- TWikiGuest - 31 Oct 2008

Sorry, closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 10 Dec 2008

Change status to:
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2008-12-10 - 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.