After update Notify was broken

Adding a first (new) user / portal activity notifications / email / chat
Post Reply
KevinMitnik
Posts: 3
Joined: Sat Jul 25, 2020 6:39 am

After update Notify was broken

Post by KevinMitnik » Sat Jul 25, 2020 6:55 am

Hi there!
After updating (at 24.07.2020) to the latest version, everything works except for notifications. There are such lines in the logs.

Code: Select all

2020-07-25 08:46:46,216 ERROR [9] ASC - System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.

Code: Select all

2020-07-25 09:36:50,775 ERROR [1] ASC.TeamLabSvc - Can not start service NotifyServiceLauncher: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
Restart does not help.

Please Help fix this!
FullLog

Code: Select all

[root@admin onlyoffice]# cat ./svcNotify.log             
2020-07-25 08:46:46,216 ERROR [9] ASC - System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.DataRow providerRow) [0x00097] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName, System.Boolean throwOnError) [0x00027] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName) [0x00000] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.String providerInvariantName, System.String connectionString) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.Configuration.ConnectionStringSettings connectionString) [0x0000e] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.Configure () [0x000ba] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.CreateDbConnection (System.String databaseId) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.GetConnection () [0x000c9] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.OpenConnection () [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.get_Command () [0x00016] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.get_InTransaction () [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.BeginTransaction (System.Data.IsolationLevel il) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Notify.DbWorker.SaveMessage (ASC.Notify.Messages.NotifyMessage m) [0x00007] in <9d138aa740794846a522594a8e340fb3>:0 
  at ASC.Notify.NotifyService.SendNotifyMessage (ASC.Notify.Messages.NotifyMessage notifyMessage) [0x00000] in <9d138aa740794846a522594a8e340fb3>:0  System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.DataRow providerRow) [0x00097] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName, System.Boolean throwOnError) [0x00027] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName) [0x00000] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.String providerInvariantName, System.String connectionString) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.Configuration.ConnectionStringSettings connectionString) [0x0000e] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.Configure () [0x000ba] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.CreateDbConnection (System.String databaseId) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.GetConnection () [0x000c9] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.OpenConnection () [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.get_Command () [0x00016] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.get_InTransaction () [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.BeginTransaction (System.Data.IsolationLevel il) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Notify.DbWorker.SaveMessage (ASC.Notify.Messages.NotifyMessage m) [0x00007] in <9d138aa740794846a522594a8e340fb3>:0 
  at ASC.Notify.NotifyService.SendNotifyMessage (ASC.Notify.Messages.NotifyMessage notifyMessage) [0x00000] in <9d138aa740794846a522594a8e340fb3>:0 
2020-07-25 09:36:50,775 ERROR [1] ASC.TeamLabSvc - Can not start service NotifyServiceLauncher: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.DataRow providerRow) [0x00097] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName, System.Boolean throwOnError) [0x00027] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName) [0x00000] in <bf4de1c11e1242068a90e82c428c41bf>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.String providerInvariantName, System.String connectionString) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.Configuration.ConnectionStringSettings connectionString) [0x0000e] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.Configure () [0x000ba] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbRegistry.CreateDbConnection (System.String databaseId) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.GetConnection () [0x000c9] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.OpenConnection () [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.get_Command () [0x00016] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Common.Data.DbManager.ExecuteNonQuery (ASC.Common.Data.Sql.ISqlInstruction sql) [0x00001] in <ca9dbf279db748519eccddfae4b8067d>:0 
  at ASC.Notify.DbWorker.ResetStates () [0x00032] in <9d138aa740794846a522594a8e340fb3>:0 
  at ASC.Notify.NotifySender.StartSending () [0x00000] in <9d138aa740794846a522594a8e340fb3>:0 
  at ASC.Notify.NotifyServiceLauncher.Start () [0x00030] in <9d138aa740794846a522594a8e340fb3>:0 
  at ASC.TeamLabSvc.Program.OnStart (System.String[] args) [0x00141] in <2db40a54a8f84564a83d2f57665e7a50>:0 

KevinMitnik
Posts: 3
Joined: Sat Jul 25, 2020 6:39 am

Re: After update Notify was broken

Post by KevinMitnik » Sat Aug 08, 2020 8:49 am

Please help, any ideas!

tkdimm
Posts: 4
Joined: Mon Jun 08, 2020 6:09 am

Re: After update Notify was broken

Post by tkdimm » Thu Aug 13, 2020 9:07 am


Carl
Posts: 442
Joined: Thu Apr 12, 2018 10:00 am

Re: After update Notify was broken

Post by Carl » Thu Aug 13, 2020 11:19 am

Hello KevinMitnik,

Sorry for the delayed reply.

Please specify how you installed the update. Did you use the installation script with an additional parameter (-u true)?

KevinMitnik
Posts: 3
Joined: Sat Jul 25, 2020 6:39 am

Re: After update Notify was broken

Post by KevinMitnik » Mon Sep 07, 2020 6:00 pm

package mono from version 6.10 breaks the notification service

after returning to mono version 6.5 everything worked.

I didn't change anything else in the configuration, I just downgraded mono

Centos 7 64bit.

mkamois
Posts: 1
Joined: Wed Sep 30, 2020 5:36 am

Re: After update Notify was broken

Post by mkamois » Wed Sep 30, 2020 5:51 am

I can confirm this bug with fresh install on Debian 9, when using latest mono 6.12, notify service cannot start with next error:

Code: Select all

2020-09-30 00:26:11,440 ERROR [1] ASC.TeamLabSvc - Can not start service NotifyServiceLauncher: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.DataRow providerRow) [0x00097] in <3871036a5bcc4ed39d03a6f0b6104e0b>:0
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName, System.Boolean throwOnError) [0x00027] in <3871036a5bcc4ed39d03a6f0b6104e0b>:0
  at System.Data.Common.DbProviderFactories.GetFactory (System.String providerInvariantName) [0x00000] in <3871036a5bcc4ed39d03a6f0b6104e0b>:0
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.String providerInvariantName, System.String connectionString) [0x00001] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbRegistry.RegisterDatabase (System.String databaseId, System.Configuration.ConnectionStringSettings connectionString) [0x0000e] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbRegistry.Configure () [0x000ba] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbRegistry.CreateDbConnection (System.String databaseId) [0x00001] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbManager.GetConnection () [0x000c9] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbManager.OpenConnection () [0x00001] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbManager.get_Command () [0x00016] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Common.Data.DbManager.ExecuteNonQuery (ASC.Common.Data.Sql.ISqlInstruction sql) [0x00001] in <54766d38d5424300b2dbb3fd4f88a72c>:0
  at ASC.Notify.DbWorker.ResetStates () [0x00032] in <4921a5eff13a4b8c9e09303a7d0b03d0>:0
  at ASC.Notify.NotifySender.StartSending () [0x00000] in <4921a5eff13a4b8c9e09303a7d0b03d0>:0
  at ASC.Notify.NotifyServiceLauncher.Start () [0x00030] in <4921a5eff13a4b8c9e09303a7d0b03d0>:0
  at ASC.TeamLabSvc.Program.OnStart (System.String[] args) [0x00141] in <87fb500444ad42c49cba5f62d2df49fd>:0
After I downgraded mono to version 6.8 notify service started normally

Alexandre
Posts: 158
Joined: Thu Dec 12, 2019 11:08 am

Re: After update Notify was broken

Post by Alexandre » Thu Oct 01, 2020 3:22 pm

Hello KevinMitnik and mkamois.
We know about this issue. Please note, Community Server supports Mono v.6.8. If you installed ONLYOFFICE via official guides, you shouldn't face this problem (Mono v6.8 will be installed). We are planning to add support of Mono v.6.10 in the next version of Community Server. The release is planned for the near future.
Sorry for the inconvenience.

Post Reply