Try the fastest and simplest way to install ONLYOFFICE

Invitation Mail Issue for New Users

Adding a first (new) user / portal activity notifications / email / chat

Invitation Mail Issue for New Users

Postby lebienaime » Fri Jun 26, 2015 2:01 am

Dear moderator, please feel free to edit my post as you see fit since it contains both error/bug report and question. It could be useful for the other members if what I did is correct.

Recently, I had a problem with registering new users.
The registered user didn't get the invitation to their mailbox.

My installation is OnlyOffice 8.5 on CentOS 7 with kernel version 3.10.0-229.4.2
The prerequisites have been met. No issue with the administrator registration, which is why I assumed that at a later date, user registration will be successful.

However, when I tried to invite new users to the portal, the email didn't reach the user's mailbox.

I browsed through the /var/log/onlyoffice and tried to find any entries relevant to that date and I found an interesting error in svcNotify.mm-dd.log

2015-06-26 08:28:36,300 ERROR [1] ASC.TeamLabSvc - Can not start service NotifyServiceLauncher: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts.
at MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.Driver.Open () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x00000] in <filename unknown>:0
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x00000] in <filename unknown>:0

I figured that it must have something to do with the mysql connections and I tried my credentials on the mysql server . It worked properly.

What I did to fix this issue is to reconfigure by running the configure.sh to enter the mysql connection parameters to onlyoffice.

Is it the correct way to fix this issue? Also, is there an alternative method to resolve this issue?

Cheers,
lebienaime
 
Posts: 4
Joined: Thu Jun 04, 2015 4:18 am

Re: Invitation Mail Issue for New Users

Postby Dean » Fri Jun 26, 2015 9:37 am

Try restarting onlyofficeNotify service, this may help. If it doesn't - running the configure.sh once again is the only method.
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am


Return to Notification issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron