Roundcube Community Forum

 

load-balanced multi-server setup

Started by rjwill, September 30, 2013, 12:15:54 PM

Previous topic - Next topic

rjwill

Hello All,

I have a RC instance set up per:

http://trac.roundcube.net/wiki/Howto_Config/Loadbalancing

single write db, localhost db for reads, etc.

When the write db goes down, all logins fail. The error logs say:

roundcube: PHP Error: Failed to create a user record. Maybe aborted by a plugin?

however, these users already exist.

I attempted to disable this temporarily to get my install back up, and received this error:

roundcube: PHP Error: Access denied for new user xxxxx. 'auto_create_user' is disabled.

I checked the db, and the user did exist, so it seems like my install is incorrectly attempting
to do an auto create on all users regardless if they exist or not.

Can someone help me figure out whats going on? Thanks.



rjwill

so I'm guessing the write db is required. I thought (if not using mysql sessions) rc would still operate
if the writedb went down (no lastlogin update, can't add/edit addressbook, but logins work for existing
users) but this does not seem to be the case after further testing. Is this intentional?