You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up a Gmail account for the first time should work
Actual behavior
When setting up a new Gmail account, I get this error:
Type: TypeError
Code: 0
Message: Argument 5 passed to OCA\Mail\Service\AutoConfig\ImapConnector::connect() must be of the type integer, string given, called in /server/apps/mail/lib/Service/AutoConfig/IspDbConfigurationDetector.php on line 166
File: /server/apps/mail/lib/Service/AutoConfig/ImapConnector.php
Line: 63
The server expects the $port argument to be sent as an int but the client sends it as a string.
If you change the type of the $port variable to take a string instead of an int, the app is set up successfully.
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Client configuration
Browser: Chrome 68.0.3440.106
Operating system: MacOs
Logs
Web server error log
Type: TypeError
Code: 0
Message: Argument 5 passed to OCA\Mail\Service\AutoConfig\ImapConnector::connect() must be of the type integer, string given, called in /server/apps/mail/lib/Service/AutoConfig/IspDbConfigurationDetector.php on line 166
File: /server/apps/mail/lib/Service/AutoConfig/ImapConnector.php
Line: 63
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions.
lockbot
locked and limited conversation to collaborators
Nov 20, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior
Setting up a Gmail account for the first time should work
Actual behavior
When setting up a new Gmail account, I get this error:
The server expects the
$port
argument to be sent as an int but the client sends it as a string.If you change the type of the
$port
variable to take a string instead of an int, the app is set up successfully.Mail app
Mail app version: 0.10.0
Mailserver or service: Gmail,
Number of accounts: 1
Server configuration
Operating system: MacOS
Web server: (e.g. Apache, Nginx,...)
Database: (e.g. MariaDB, SQLite, PostgreSQL,...)
PHP version: 7.2.8
Nextcloud Version: (see admin page, e.g. 13.0.2)
Updated from an older version or fresh install:
List of activated apps:
The content of config/config.php:
Client configuration
Browser: Chrome 68.0.3440.106
Operating system: MacOs
Logs
Web server error log
Trace:
The text was updated successfully, but these errors were encountered: