Tags:
create new tag
view all tags

Question

I am upgrading from Sep04 to TWiki-4.0.3+4.0.4 patches. When I run the upgrade_emails.pl script in the tools directory it does not update the .htpasswd page with email addresses. Using -w the script does not error. It seems to be having problems at the part of the script where is runs regex, line 35. Anyone else experience this? I will send configure output if needed.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CalendarPlugin, ChartPlugin, CommentPlugin, DatabasePlugin, EditTablePlugin, HeadlinesPlugin, InterwikiPlugin, PollPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin, VotePlugin
Server OS: FC 4
Web server: apache 2.0.54-10.3
Perl version: 5.8.6
Client OS: FC 4
Web Browser:  
Categories: Installation, Htaccess

-- MaryVerge - 13 Jul 2006

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.

The .htpasswd page? Do you mean the .htpasswd file? This is likely to do with permissions. Check that the user running the upgrade_emaills script has write access to the .htpasswd file.

-- CrawfordCurrie - 06 Aug 2006

I'm struggling with this too. I try to run the script in the bin directory of the new installation using

sudo -u wwwrun perl ../../twiki-4.0.4/tools/upgrade_emails.pl

I get

...Secreting StiveBelloc/Main.StiveBelloc green_wood@usaPLEASENOSPAM.com No email address found for user TWikiContributor:TWikiContributor, using wielemak@sciencePLEASENOSPAM.uva.nl AccessControlException: Access to CHANGE TWikiContributor for TWikiContributor is denied. access not allowed on topicgollem (bin) 43 #

The permissions for the file are fine. I tried rcs -u and rcs -l using the wwwrun user to no avail. Then I moved the errornous files away during the email upgrade. Then it runs without errors, but data/.htpasswd still dow not contain any email addresses. What am I doing wrong?

-- JanWielemaker - 24 Oct 2006

I have a problem too with this script, trying to upgrade from Cairo to 4.1.2. I get "No email address found for user [xxx]" for each user in the TWikiUsers topic. Then it adds the default admin email everywhere in my .htpasswd ! Any suggestions ?

-- BrunoVincenti - 12 Mar 2007

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-03-12 - BrunoVincenti
 
  • 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.