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
--
MaryVerge - 13 Jul 2006
Answer
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