Alexander Coles wrote:
On Jun 30, 2008, at 9:02 AM, Ryan de Laplante wrote:
I upgraded to Roller 4.0 and am able to browse my blog entries. When
I try to log in it tells me that I have entered a wrong username and
password combination. I have triple checked against the rolleruser
table, and even tried copy/pasting the fields. Roller.log does not
show any errors while I attempt to log in. The last bit of log is:
INFO 2008-06-30 02:43:26,468 RendererManager:<clinit> - Renderer
Manager Initialized.
INFO 2008-06-30 02:43:26,473 RollerVelocity:<clinit> - Initializing
Velocity Rendering Engine
INFO 2008-06-30 02:43:26,490 ContinuousWorkerThread:run -
HitCountQueueProcessor Started.
INFO 2008-06-30 02:43:46,765 Blacklist:<clinit> - Initializing MT
Blacklist
WARN 2008-06-30 02:43:46,799 Blacklist:loadBlacklistFromFile -
Couldn't find downloaded blacklist, loaded blacklist.txt from
classpath instead
INFO 2008-06-30 02:43:46,806 Blacklist:loadBlacklistFromFile -
Number of blacklist string rules: 3102
INFO 2008-06-30 02:43:46,807 Blacklist:loadBlacklistFromFile -
Number of blacklist regex rules: 15
Before that it shows errors because my blog uses a theme that was not
upgraded to 4.0 format. I had to manually update the the database to
use a pre-packaged template for my blog.
What else is different? Before I was hosting on Windows XP and
Tomcat. Now I'm on OpenSolaris 2008.05 and GlassFish V2.
Thanks,
Ryan
I have had some similar issues - where login doesn't appear to work at
all, for no apparent reason. In my case, it wasn't when upgrading, but
when redeploying with a changed configuration. This may be worth
trying in your case:
Password encryption is switched on by default in Roller 4.0.
When you examine your database, do the passwords appear encrypted?
You may need to adjust your encryption settings in your
roller-custom.properties
passwds.encryption.enabled=true
passwds.encryption.algorithm=SHA
Alex
That was it, thank you! However it turns out I've been using plaintext
passwords in roller :( Luckily I'm the only user in the db. I'll have
to enable encryption and encode my password.
Thanks,
Ryan