hello again
I'm still having login problems on different sites on my webserver. On several sites, I upgraded from version 1.2.4 to 1.3.7 and since then, a login attempt says « _/*!*\_ Login failed ». Users at sites running RoundCube 1.2.4 have no problems.
A.L.E.C. said, I should fix the database. How can I do this? I couldn't find any instructions online...
Thank you and best regards _~_ '¿') `-´ Meaulnes Legler Zurich, Switzerland +41\0 44 260 16 60
Have you run the <RCEMAILDIR>/bin/updatedb.sh script, yet?
On 2018-10-05 10:17, Meaulnes Legler @ roundcube wrote:
hello again
I'm still having login problems on different sites on my webserver. On several sites, I upgraded from version 1.2.4 to 1.3.7 and since then, a login attempt says « /!\ Login failed ». Users at sites running RoundCube 1.2.4 have no problems.
A.L.E.C. said, I should fix the database. How can I do this? I couldn't find any instructions online... Thank you and best regards
hey Mike, thanks for the reply!
On 05.10.18 17:19, Mike Burger wrote:
Have you run the <RCEMAILDIR>/bin/updatedb.sh script, yet?
no, I didn't, but I tried now and it says:
483# bin/updatedb.sh Error 500: Database schema directory not specified (--dir). 484#
what params do I have to enter?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
On 2018-10-05 10:17, Meaulnes Legler @ roundcube wrote:
hello again
I'm still having login problems on different sites on my webserver. On several sites, I upgraded from version 1.2.4 to 1.3.7 and since then, a login attempt says « /!\ Login failed ». Users at sites running RoundCube 1.2.4 have no problems.
A.L.E.C. said, I should fix the database. How can I do this? I couldn't find any instructions online... Thank you and best regards
hey Mike, thanks for the reply!
On 05.10.18 17:19, Mike Burger wrote:
Have you run the <RCEMAILDIR>/bin/updatedb.sh script, yet?
no, I didn't, but I tried now and it says:
483# bin/updatedb.sh Error 500: Database schema directory not specified (--dir). 484#
what params do I have to enter?
_2nd question:_ how can I get more specific error messages as just a lapidary « /!\ Login failed » ?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
On 2018-10-05 10:17, Meaulnes Legler @ roundcube wrote:
hello again
I'm still having login problems on different sites on my webserver. On several sites, I upgraded from version 1.2.4 to 1.3.7 and since then, a login attempt says « /!\ Login failed ». Users at sites running RoundCube 1.2.4 have no problems.
A.L.E.C. said, I should fix the database. How can I do this? I couldn't find any instructions online... Thank you and best regards
dear RoundCubers
it's me again, I still cannot login after an update to version 1.3.7...
After googling the necessary bin/updatedb.sh params, I got:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know. ? WARNING: Mimetype to file extension mapping doesn't work properly! Please check the 'mime_types' config option and run this script again. Executing database schema update. Updating database schema (2013011000)... [OK] Updating database schema (2013042700)... [OK] Updating database schema (2013052500)... [OK] Updating database schema (2013061000)... [OK] Updating database schema (2014042900)... [OK] Updating database schema (2015030800)... [OK] Updating database schema (2015111100)... [OK] Updating database schema (2016081200)... [OK] Updating database schema (2016100900)... [OK] Updating database schema (2016112200)... [OK] This instance of Roundcube is up-to-date. Have fun! 498#
I was all exited thinking it would work now, but it I didn't :-( Still get the « _/!\_ Login failed » error with the correct credentials.
I uninstalled and reinstalled RC and went thru the same procedures — no success.
_2nd question:_ how can I get more specific error messages as just a lapidary « _/!\_ Login failed » ?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
To your second question, you may want to look into Roundcube logging, f.e.
$config['per_user_logging'] = true; $config['log_session'] = true; $config['log_logins'] = true; $config['debug_level'] = 4; $config['sql_debug'] = true; $config['imap_debug'] = true; $config['imap_log_session'] = true; $config['ldap_debug'] = true; $config['smtp_log'] = true; $config['smtp_debug'] = true;
This may help you retrieve more specific error codes
Kr, Vincent
On 2018-10-08 14:06, Meaulnes Legler @ roundcube wrote:
dear RoundCubers
it's me again, I still cannot login after an update to version 1.3.7... After googling the necessary bin/updatedb.sh params, I got:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know. ? WARNING: Mimetype to file extension mapping doesn't work properly! Please check the 'mime_types' config option and run this script again. Executing database schema update. Updating database schema (2013011000)... [OK] Updating database schema (2013042700)... [OK] Updating database schema (2013052500)... [OK] Updating database schema (2013061000)... [OK] Updating database schema (2014042900)... [OK] Updating database schema (2015030800)... [OK] Updating database schema (2015111100)... [OK] Updating database schema (2016081200)... [OK] Updating database schema (2016100900)... [OK] Updating database schema (2016112200)... [OK] This instance of Roundcube is up-to-date. Have fun! 498#
I was all exited thinking it would work now, but it I didn't :-( Still get the « /!\ Login failed » error with the correct credentials.
I uninstalled and reinstalled RC and went thru the same procedures -- no success.
2nd question: how can I get more specific error messages as just a lapidary « /!\ Login failed » ?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Vincent Van Houtte
Meaulnes Legler @ roundcube skrev den 2018-10-08 14:06:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know.
try running bin/update.sh
eq no args
check config.inc.php, is this configured like it was in last version before update install ?
and i think you miss some needed updates in php deependice that are missed by the maintainers on your os
thanks Vincent for your answer
On 08.10.18 14:37, Vincent Van Houtte wrote:
To your second question, you may want to look into Roundcube logging, f.e.
I got the following, but it doesn't help me on...
506# tail roundcube/logs/errors
...
[08-Oct-2018 14:32:12 +0200]: <345va73k> PHP Error: Failed to create new user in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_user.php on line 688 (POST /roundcube/?_task=login&_action=login)
[08-Oct-2018 14:32:12 +0200]: <345va73k> PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /home/.sites/106/site3/web/roundcube/program/include/rcmail.php on line 652 (POST /roundcube/?_task=login&_action=login)
[08-Oct-2018 15:37:11 +0200]: <345va73k> DB Error: [1364] Field 'alias' doesn't have a default value (SQL Query: INSERT INTO users
(created
, last_login
, username
, mail_host
, language
) VALUES (now(), now(), 'arcgraph', 'www.arcgraphics.ch', 'en_US')) in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_db.php on line 543 (POST /roundcube/?_task=login&_action=login)[08-Oct-2018 15:37:11 +0200]: <345va73k> PHP Error: Failed to create new user in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_user.php on line 688 (POST /roundcube/?_task=login&_action=login)
[08-Oct-2018 15:37:11 +0200]: <345va73k> PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /home/.sites/106/site3/web/roundcube/program/include/rcmail.php on line 652 (POST /roundcube/?_task=login&_action=login)
logs/errors lines 1-18/18 (END)
507#
I don't know why this 'alias' field shows up here, I uninstalled and reinstalled RG, the database seems okay after bin/updatedb.sh --package roundcube --dir=./SQL and after bin/update.sh --package roundcube --dir=./SQL, it wished me Have fun! :-(
Any clue?
Thank you and best regards
_~_ '¿') `-´ Meaulnes Legler Zurich, Switzerland +41\0 44 260 16 60
$config['per_user_logging'] = true; $config['log_session'] = true; $config['log_logins'] = true; $config['debug_level'] = 4; $config['sql_debug'] = true; $config['imap_debug'] = true; $config['imap_log_session'] = true; $config['ldap_debug'] = true; $config['smtp_log'] = true; $config['smtp_debug'] = true;
This may help you retrieve more specific error codes
Kr, Vincent
On 2018-10-08 14:06, Meaulnes Legler @ roundcube wrote:
dear RoundCubers
it's me again, I still cannot login after an update to version 1.3.7... After googling the necessary bin/updatedb.sh params, I got:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know. ? WARNING: Mimetype to file extension mapping doesn't work properly! Please check the 'mime_types' config option and run this script again. Executing database schema update. Updating database schema (2013011000)... [OK] Updating database schema (2013042700)... [OK] Updating database schema (2013052500)... [OK] Updating database schema (2013061000)... [OK] Updating database schema (2014042900)... [OK] Updating database schema (2015030800)... [OK] Updating database schema (2015111100)... [OK] Updating database schema (2016081200)... [OK] Updating database schema (2016100900)... [OK] Updating database schema (2016112200)... [OK] This instance of Roundcube is up-to-date. Have fun! 498#
I was all exited thinking it would work now, but it I didn't :-( Still get the « /!\ Login failed » error with the correct credentials.
I uninstalled and reinstalled RC and went thru the same procedures -- no success.
2nd question: how can I get more specific error messages as just a lapidary « /!\ Login failed » ?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Vincent Van Houtte
I think you need to set the option AUTH lo login or plain.
Il giorno 8 ott 2018, alle ore 06:01, Benny Pedersen me@junc.eu ha scritto:
Meaulnes Legler @ roundcube skrev den 2018-10-08 14:06:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know.
try running bin/update.sh
eq no args
check config.inc.php, is this configured like it was in last version before update install ?
and i think you miss some needed updates in php deependice that are missed by the maintainers on your os _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On 2018-10-08 16:01, Meaulnes Legler @ roundcube wrote:
thanks Vincent for your answer
On 08.10.18 14:37, Vincent Van Houtte wrote:
To your second question, you may want to look into Roundcube logging, f.e.
I got the following, but it doesn't help me on...
506# tail roundcube/logs/errors ... [08-Oct-2018 14:32:12 +0200]: <345va73k> PHP Error: Failed to create new user in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_user.php on line 688 (POST /roundcube/?_task=login&_action=login) [08-Oct-2018 14:32:12 +0200]: <345va73k> PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /home/.sites/106/site3/web/roundcube/program/include/rcmail.php on line 652 (POST /roundcube/?_task=login&_action=login) [08-Oct-2018 15:37:11 +0200]: <345va73k> DB Error: [1364] Field 'alias' doesn't have a default value (SQL Query: INSERT INTO
users
(created
,last_login
,username
,mail_host
,language
) VALUES (now(), now(), 'arcgraph', 'www.arcgraphics.ch', 'en_US')) in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_db.php on line 543 (POST /roundcube/?_task=login&_action=login)[08-Oct-2018 15:37:11 +0200]: <345va73k> PHP Error: Failed to create new user in /home/.sites/106/site3/web/roundcube/program/lib/Roundcube/rcube_user.php on line 688 (POST /roundcube/?_task=login&_action=login) [08-Oct-2018 15:37:11 +0200]: <345va73k> PHP Error: Failed to create a user record. Maybe aborted by a plugin? in /home/.sites/106/site3/web/roundcube/program/include/rcmail.php on line 652 (POST /roundcube/?_task=login&_action=login) logs/errors lines 1-18/18 (END) 507#I don't know why this 'alias' field shows up here, I uninstalled and reinstalled RG, the database seems okay after bin/updatedb.sh --package roundcube --dir=./SQL and after bin/update.sh --package roundcube --dir=./SQL, it wished me Have fun! :-(
Any clue?
These errors clearly say that the user 'arcgraph' does not exist, that RC wants to create the user by logging in (I don't believe this is default - an unknown user should just be rejected imho), and that the subsequent attempt to create that user fails.
There is also the mention of a plugin that may interfere here. Can you disable all plugins for the sake of testing?
HTH, Vincent
Thank you and best regards
_~_ '¿') `-´ Meaulnes Legler
Zurich, Switzerland
+41\0 44 260 16 60
$config['per_user_logging'] = true; $config['log_session'] = true; $config['log_logins'] = true; $config['debug_level'] = 4; $config['sql_debug'] = true; $config['imap_debug'] = true; $config['imap_log_session'] = true; $config['ldap_debug'] = true; $config['smtp_log'] = true; $config['smtp_debug'] = true;
This may help you retrieve more specific error codes
Kr, Vincent
On 2018-10-08 14:06, Meaulnes Legler @ roundcube wrote:
dear RoundCubers
it's me again, I still cannot login after an update to version 1.3.7... After googling the necessary bin/updatedb.sh params, I got:
497# bin/update.sh --package roundcube --dir=./SQL What version are you upgrading from? Type '?' if you don't know. ? WARNING: Mimetype to file extension mapping doesn't work properly! Please check the 'mime_types' config option and run this script again. Executing database schema update. Updating database schema (2013011000)... [OK] Updating database schema (2013042700)... [OK] Updating database schema (2013052500)... [OK] Updating database schema (2013061000)... [OK] Updating database schema (2014042900)... [OK] Updating database schema (2015030800)... [OK] Updating database schema (2015111100)... [OK] Updating database schema (2016081200)... [OK] Updating database schema (2016100900)... [OK] Updating database schema (2016112200)... [OK] This instance of Roundcube is up-to-date. Have fun! 498#
I was all exited thinking it would work now, but it I didn't :-( Still get the « /!\ Login failed » error with the correct credentials.
I uninstalled and reinstalled RC and went thru the same procedures -- no success.
2nd question: how can I get more specific error messages as just a lapidary « /!\ Login failed » ?
Thank you and best regards
Meaulnes Legler Zurich, Switzerland
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Vincent Van Houtte
Vincent Van Houtte