Application stops working frequently

Hi, I installed the last version of Mattermost on an Ubuntu 14.04 server, but periodically the application falls down, and I have to stop and restart it again! (every 2/3 days). Any idea on why?

tnx
Maurizio

mattermost.log:

[2015/10/06 14:25:53 UTC] [INFO] Pinging sql replica-0 database at ‘mmuser:mostest@tcp(localhost:3306)/mattermost
_test?charset=utf8mb4,utf8’
[2015/10/06 14:25:53 UTC] [INFO] Starting Server…
[2015/10/06 14:25:53 UTC] [INFO] Server is listening on 80
[2015/10/06 14:25:53 UTC] [INFO] RateLimiter is enabled
[2015/10/06 15:36:47 UTC] [EROR] /api/v1/websocket: code=401 rid=iydf4hyh5jd6ijhbizkyaq9aky uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:36:51 UTC] [EROR] /api/v1/websocket: code=401 rid=neg3szhwgincunm3uak9rtfgoc uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:36:55 UTC] [EROR] /api/v1/websocket: code=401 rid=eydjmxhwo7ntubt84cnrhkm5nw uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:36:59 UTC] [EROR] /api/v1/websocket: code=401 rid=khqk68fx6jb9bd8x37b3pt4f8w uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:37:03 UTC] [EROR] /api/v1/websocket: code=401 rid=6aqkkf1ajfnjjpsp9sw8bh8yky uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:37:07 UTC] [EROR] /api/v1/websocket: code=401 rid=k3qfb3c9tjy7ujqdikbxom9h3o uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:37:11 UTC] [EROR] /api/v1/websocket: code=401 rid=w6xjss3pj3fsimzma7s9cxihkh uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:37:15 UTC] [EROR] /api/v1/websocket: code=401 rid=pfy3d8jzg3bzbjk5paercqcpme uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 15:39:04 UTC] [EROR] /api/v1/websocket: code=401 rid=dj4reeyqsj8j8njkbuy6aq9mew uid= ip=192.168.30.24
2 Invalid or expired session, please login again. [details: UserRequired]
[2015/10/06 22:01:00 UTC] [EROR] /api/v1/users/status:SqlUserStore.GetProfiles code=500 rid=mopzaguafjfwjczmdbndt
wbxth uid=tzyweidjetdmdgw8pqp5bqohfw ip=192.168.30.242 We encounted an error while finding user profiles [details
: dial tcp 127.0.0.1:3306: connection refused]
[2015/10/06 22:01:00 UTC] [EROR] Failed to updated LastPingAt for user_id=tzyweidjetdmdgw8pqp5bqohfw, err=SqlUser
Store.UpdateLastPingAt: We couldn’t update the last_ping_at, user_id=tzyweidjetdmdgw8pqp5bqohfw
[2015/10/06 22:01:29 UTC] [EROR] /api/v1/users/status:SqlUserStore.GetProfiles code=500 rid=zpfh8js1fig5xco6axazi
zn6ph uid=tzyweidjetdmdgw8pqp5bqohfw ip=192.168.30.242 We encounted an error while finding user profiles [details
: dial tcp 127.0.0.1:3306: connection refused]

Hi @smauz007,

It looks like an issue connecting to your database, which might be down or unreachable.

Can you tell us more about your configuration, are you running Docker on Ubuntu or did you follow the Ubuntu install process?

Hi it33,
I installed mattermost with Docker as described in “Local Machine Setup and Upgrade” for evaluation. May be this version is not the correct one?

thank you
Maurizio

How much memory does the docker instance have? For example the mattermost preview docker images does not run on Amazon’s micro instances (it does weird things when out of memory). You need at least a t2.small or 2GB.