Roundcube Community Forum

Release Support => Release Discussion => Topic started by: C4rter on December 09, 2024, 02:33:42 PM

Title: TrueNAS : Error to first login page
Post by: C4rter on December 09, 2024, 02:33:42 PM
Hello there,

i just installed Roundcube application on my NAS TrueNAS. All seems ok but when i try to login to my RC WebUI i 've systematicly an issue "error login to storage server"

I made a standard installation without change anything exept informations about my mail servers IMAP & SMTP
Can uu help me please ?
Title: Re: TrueNAS : Error to first login page
Post by: JohnDoh on December 10, 2024, 03:51:49 PM
"error login to storage server" suggests your IMAP server refused your login. That could have nothing to do with your Roundcube installation. Try enabling `imap_debug` in your Roundcube config, repeating the error and then checking the log file to see the communication between Roundcube and your IMAP server or check your IMAP server logs to see why authentication failed.
Title: Re: TrueNAS : Error to first login page
Post by: C4rter on December 11, 2024, 11:19:36 AM
I JonhDoh,

Thanks for your advices i followed, so here what i found in the docker's log each time i try to log in my webmail :

2024-12-11 16:13:52.045827+00:00192.168.1.5 - - [11/Dec/2024:16:13:51 +0000] "POST /?_task=login HTTP/1.1" 401 3079 "http://192.168.1.48:31007/?_task=login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0"
2024-12-11 16:13:52.445710+00:00127.0.0.1 - - [11/Dec/2024:16:13:52 +0000] "GET /?ping=ping HTTP/1.1" 200 5878 "-" "curl/7.88.1"

and when i try to log in with a bad password :

2024-12-11 16:20:48.833760+00:00errors: <8178f821> IMAP Error: Login failed for c4rter@****** against imap.ionos.fr  from 192.168.1.5. Could not connect to imap.ionos.fr :993: php_network_getaddresses: getaddrinfo for imap.ionos.fr  failed: Name or service not known in /var/www/html/program/lib/Roundcube/rcube_imap.php on line 211 (POST /?_task=login&_action=login)
Title: Re: TrueNAS : Error to first login page
Post by: JohnDoh on December 12, 2024, 03:32:29 AM
Quotephp_network_getaddresses: getaddrinfo for imap.ionos.fr  failed: Name or service not known

This is the problem, PHP could not resolve your imap server address. You appear to have a DNS issue.