[EROR] Misconfigured feedback email setting: feedback@localhost

Hi,

Today i wanted to try out your platform, I have decided to run all in Docker. Just like in the manual I installed all stuff that i need and then i started the container, after 5 minutes of waiting and trying to refresh the page, I decide to show into the docker container logs - and there i saw a weird error message:

[09/03/15 09:43:27] [INFO] Loading config file at /config_docker.json
[09/03/15 09:43:27] [EROR] Misconfigured feedback email setting: feedback@localhost

at this point the container is frozen, and i can’t open the site. What can I do to fix it?

Cheers,
Damian

That message is cause because it’s missing the field "FeedbackEmail" in the configuration, but no idea why it hangs the container as it should also put a default instead of an empty field. Maybe it could be logged as Warning instead of Error.

That log msg should be a warning and can safely be ignored.

Do you see the log messages below? which would mean the server is running.
[09/03/15 09:27:52] [INFO] Starting Server…
[09/03/15 09:27:52] [INFO] Server is listening on 8065
[09/03/15 09:27:52] [INFO] RateLimiter is enabled

This is my whole log when i start the container:

user@ci0:~$ docker logs --tail="all" mattermost-dev
 * Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces
 * Reconfiguring network interfaces...
   ...done.
configuring mysql
Running mysql_install_db
2015-09-03 10:13:22 0 [Note] /usr/sbin/mysqld (mysqld 5.6.26) starting as process 64 ...
2015-09-03 10:13:22 64 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-03 10:13:22 64 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-03 10:13:22 64 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-09-03 10:13:22 64 [Note] InnoDB: Memory barrier is not used
2015-09-03 10:13:22 64 [Note] InnoDB: Compressed tables use zlib 1.2.7
2015-09-03 10:13:22 64 [Note] InnoDB: Using Linux native AIO
2015-09-03 10:13:22 64 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-03 10:13:22 64 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-09-03 10:13:22 64 [Note] InnoDB: Completed initialization of buffer pool
2015-09-03 10:13:22 64 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2015-09-03 10:13:22 64 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2015-09-03 10:13:22 64 [Note] InnoDB: Database physically writes the file full: wait...
2015-09-03 10:13:22 64 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2015-09-03 10:13:23 64 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2015-09-03 10:13:23 64 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2015-09-03 10:13:23 64 [Warning] InnoDB: New log files created, LSN=45781
2015-09-03 10:13:23 64 [Note] InnoDB: Doublewrite buffer not found: creating new
2015-09-03 10:13:24 64 [Note] InnoDB: Doublewrite buffer created
2015-09-03 10:13:24 64 [Note] InnoDB: 128 rollback segment(s) are active.
2015-09-03 10:13:24 64 [Warning] InnoDB: Creating foreign key constraint system tables.
2015-09-03 10:13:24 64 [Note] InnoDB: Foreign key constraint system tables created
2015-09-03 10:13:24 64 [Note] InnoDB: Creating tablespace and datafile system tables.
2015-09-03 10:13:24 64 [Note] InnoDB: Tablespace and datafile system tables created.
2015-09-03 10:13:24 64 [Note] InnoDB: Waiting for purge to start
2015-09-03 10:13:24 64 [Note] InnoDB: 5.6.26 started; log sequence number 0
2015-09-03 10:13:29 64 [Note] Binlog end
2015-09-03 10:13:29 64 [Note] InnoDB: FTS optimize thread exiting.
2015-09-03 10:13:29 64 [Note] InnoDB: Starting shutdown...
2015-09-03 10:13:31 64 [Note] InnoDB: Shutdown completed; log sequence number 1625977


2015-09-03 10:13:31 0 [Note] /usr/sbin/mysqld (mysqld 5.6.26) starting as process 91 ...
2015-09-03 10:13:31 91 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-03 10:13:31 91 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-03 10:13:31 91 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-09-03 10:13:31 91 [Note] InnoDB: Memory barrier is not used
2015-09-03 10:13:31 91 [Note] InnoDB: Compressed tables use zlib 1.2.7
2015-09-03 10:13:31 91 [Note] InnoDB: Using Linux native AIO
2015-09-03 10:13:31 91 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-03 10:13:31 91 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-09-03 10:13:31 91 [Note] InnoDB: Completed initialization of buffer pool
2015-09-03 10:13:31 91 [Note] InnoDB: Highest supported file format is Barracuda.
2015-09-03 10:13:31 91 [Note] InnoDB: 128 rollback segment(s) are active.
2015-09-03 10:13:31 91 [Note] InnoDB: Waiting for purge to start
2015-09-03 10:13:31 91 [Note] InnoDB: 5.6.26 started; log sequence number 1625977
2015-09-03 10:13:31 91 [Note] Binlog end
2015-09-03 10:13:31 91 [Note] InnoDB: FTS optimize thread exiting.
2015-09-03 10:13:31 91 [Note] InnoDB: Starting shutdown...
2015-09-03 10:13:33 91 [Note] InnoDB: Shutdown completed; log sequence number 1625987




PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

  /usr/bin/mysqladmin -u root password 'new-password'
  /usr/bin/mysqladmin -u root -h 93a34736d477 password 'new-password'

Alternatively you can run:

  /usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems at http://bugs.mysql.com/

The latest information about MySQL is available on the web at

  http://www.mysql.com

Support MySQL by buying support/licenses at http://shop.mysql.com

Note: new default config file not created.
Please make sure your config file is current

WARNING: Default config file /etc/mysql/my.cnf exists on the system
This file will be read by default by the MySQL server
If you do not want to use this, either remove it, or use the
--defaults-file argument to mysqld_safe when starting the server

Finished mysql_install_db
MySQL init process in progress...
2015-09-03 10:13:34 0 [Note] mysqld (mysqld 5.6.26) starting as process 114 ...
2015-09-03 10:13:34 114 [Note] Plugin 'FEDERATED' is disabled.
2015-09-03 10:13:34 114 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-03 10:13:34 114 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-03 10:13:34 114 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-09-03 10:13:34 114 [Note] InnoDB: Memory barrier is not used
2015-09-03 10:13:34 114 [Note] InnoDB: Compressed tables use zlib 1.2.7
2015-09-03 10:13:34 114 [Note] InnoDB: Using Linux native AIO
2015-09-03 10:13:34 114 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-03 10:13:34 114 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-09-03 10:13:34 114 [Note] InnoDB: Completed initialization of buffer pool
2015-09-03 10:13:34 114 [Note] InnoDB: Highest supported file format is Barracuda.
2015-09-03 10:13:34 114 [Note] InnoDB: 128 rollback segment(s) are active.
2015-09-03 10:13:34 114 [Note] InnoDB: Waiting for purge to start
2015-09-03 10:13:34 114 [Note] InnoDB: 5.6.26 started; log sequence number 1625987
2015-09-03 10:13:34 114 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 6f44132e-5224-11e5-a529-0242ac110810.
2015-09-03 10:13:34 114 [Note] Event Scheduler: Loaded 0 events
2015-09-03 10:13:34 114 [Note] mysqld: ready for connections.
Version: '5.6.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
2015-09-03 10:13:34 114 [Note] mysqld: Normal shutdown

2015-09-03 10:13:34 114 [Note] Giving 0 client threads a chance to die gracefully
2015-09-03 10:13:34 114 [Note] Event Scheduler: Purging the queue. 0 events
2015-09-03 10:13:34 114 [Note] Shutting down slave threads
2015-09-03 10:13:34 114 [Note] Forcefully disconnecting 0 remaining clients
MySQL init process in progress...
2015-09-03 10:13:34 114 [Note] Binlog end
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'partition'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_METRICS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_CMP'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'INNODB_TRX'
2015-09-03 10:13:34 114 [Note] Shutting down plugin 'InnoDB'
2015-09-03 10:13:34 114 [Note] InnoDB: FTS optimize thread exiting.
2015-09-03 10:13:34 114 [Note] InnoDB: Starting shutdown...
MySQL init process in progress...
2015-09-03 10:13:36 114 [Note] InnoDB: Shutdown completed; log sequence number 1625997
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'BLACKHOLE'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'ARCHIVE'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'MRG_MYISAM'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'CSV'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'MEMORY'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'MyISAM'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'sha256_password'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'mysql_old_password'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'mysql_native_password'
2015-09-03 10:13:36 114 [Note] Shutting down plugin 'binlog'
2015-09-03 10:13:36 114 [Note] mysqld: Shutdown complete

MySQL init process done. Ready for start up.
2015-09-03 10:13:37 0 [Note] mysqld (mysqld 5.6.26) starting as process 149 ...
2015-09-03 10:13:37 149 [Note] Plugin 'FEDERATED' is disabled.
2015-09-03 10:13:37 149 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-09-03 10:13:37 149 [Note] InnoDB: The InnoDB memory heap is disabled
2015-09-03 10:13:37 149 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-09-03 10:13:37 149 [Note] InnoDB: Memory barrier is not used
2015-09-03 10:13:37 149 [Note] InnoDB: Compressed tables use zlib 1.2.7
2015-09-03 10:13:37 149 [Note] InnoDB: Using Linux native AIO
2015-09-03 10:13:37 149 [Note] InnoDB: Not using CPU crc32 instructions
2015-09-03 10:13:37 149 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-09-03 10:13:37 149 [Note] InnoDB: Completed initialization of buffer pool
2015-09-03 10:13:37 149 [Note] InnoDB: Highest supported file format is Barracuda.
2015-09-03 10:13:37 149 [Note] InnoDB: 128 rollback segment(s) are active.
2015-09-03 10:13:37 149 [Note] InnoDB: Waiting for purge to start
2015-09-03 10:13:37 149 [Note] InnoDB: 5.6.26 started; log sequence number 1625997
2015-09-03 10:13:37 149 [Note] Server hostname (bind-address): '*'; port: 3306
2015-09-03 10:13:37 149 [Note] IPv6 is available.
2015-09-03 10:13:37 149 [Note]   - '::' resolves to '::';
2015-09-03 10:13:37 149 [Note] Server socket created on IP: '::'.
2015-09-03 10:13:37 149 [Note] Event Scheduler: Loaded 0 events
2015-09-03 10:13:37 149 [Note] mysqld: ready for connections.
Version: '5.6.26'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
starting platform
Current working directory is set to /mattermost/bin
[09/03/15 10:13:41] [INFO] Loading config file at /config_docker.json
[09/03/15 10:13:41] [EROR] Misconfigured feedback email setting: feedback@localhost

and this is my Docker version:

user@ci0:~$ docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef

any idea how to solve this?

This looks like the log for container console output not mattermost (we do print some initial msgs to the console before file logging is enabled). Can you shell into the container and look at the mattermost logs? Should be something like

docker exec -ti mattermost-dev /bin/bash
cd mattermost/ogs
cat mattermost.og