Docker-CommunityServer icon indicating copy to clipboard operation
Docker-CommunityServer copied to clipboard

unable to start community server

Open kk0205 opened this issue 4 years ago • 6 comments

Get errors below

ERROR [5] ASC - Start Warmup System.NullReferenceException: Object reference not set to an instance of an object at ASC.Web.Studio.Core.WarmUp.Start () [0x00033] in <92e42f68b5a7453f81f4ac8c66bb234d>:0 at ASC.Web.Studio.Startup.Configure () [0x000f4] in <92e42f68b5a7453f81f4ac8c66bb234d>:0

kk0205 avatar May 13 '22 09:05 kk0205

Hello @kk0205 Please describe your problem in more details. How do you install Onlyoffice? What host OS are you using? What do you get in the browser when you access the site? Are there any errors in docker logs onlyoffice-community-server?

Carazyda avatar May 13 '22 10:05 Carazyda

Same problem here.

In my case im following this tutorial https://ubuntu.com/tutorials/install-onlyoffice-on-ubuntu1804#2-installation runing on Ubuntu 18.04 LTS

The results for docker logs onlyoffice-community-server are image

When accessing the site i get ERR_INVALID_RESPONSE

And i get the same

ERROR [5] ASC - Start Warmup System.NullReferenceException: Object reference not set to an instance of an object at ASC.Web.Studio.Core.WarmUp.Start () [0x00033] in <92e42f68b5a7453f81f4ac8c66bb234d>:0 at ASC.Web.Studio.Startup.Configure () [0x000f4] in <92e42f68b5a7453f81f4ac8c66bb234d>:0

in /var/log/onlyoffice/web.log from the onlyoffice-community-server container

williamneto avatar May 14 '22 12:05 williamneto

Hey @williamneto. The issue seems to be in MySQL v8.0.29 - https://github.com/ONLYOFFICE/CommunityServer/issues/370.

We will fix this in the next release coming soon. Or you can install from MySQL v8.0.28.

Carazyda avatar May 14 '22 12:05 Carazyda

Thanks @Carazyda !

williamneto avatar May 14 '22 12:05 williamneto

Hi @Carazyda

I tried following strictly the instructions from the repository (using mysql 5.7) and also tried pulling the specific 8.0.28 for mysql and still got the error.

All instances are runing, but at port 80 keeps loading forever image

And the following in /var/log/onlyoffice/web.log from the onlyoffice-community-server container

2022-05-15 14:18:51,116 ERROR [5] ASC.Web - Warmup error MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'onlyoffice.tenants_tenants' doesn't exist at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x000aa] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.NativeDriver.GetResult (System.Int32& affectedRow, System.Int64& insertedId) [0x00056] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.Driver.GetResult (System.Int32 statementId, System.Int32& affectedRows, System.Int64& insertedId) [0x00000] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00023] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00251] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0030c] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader (System.Data.CommandBehavior behavior) [0x00000] in <8235ed0ad41343b3a11f3dc973b415b6>:0 at System.Data.Common.DbCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00000] in <2d547ce14b5c4254936ffeb73ed1353b>:0 at (wrapper remoting-invoke-with-check) System.Data.Common.DbCommand.ExecuteReader(System.Data.CommandBehavior) at ASC.Common.Data.AdoProxy.DbCommandProxy.ExecuteDbDataReader (System.Data.CommandBehavior behavior) [0x00026] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at System.Data.Common.DbCommand.ExecuteReader () [0x00000] in <2d547ce14b5c4254936ffeb73ed1353b>:0 at (wrapper remoting-invoke-with-check) System.Data.Common.DbCommand.ExecuteReader() at ASC.Common.Data.DataExtensions.ExecuteListReader (System.Data.Common.DbCommand command) [0x00000] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command, System.String sql, System.Object[] parameters) [0x00008] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command) [0x00007] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Common.Data.DataExtensions.ExecuteList (System.Data.Common.DbCommand command, ASC.Common.Data.Sql.ISqlInstruction sql, ASC.Common.Data.Sql.ISqlDialect dialect) [0x00008] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Common.Data.DbManager.ExecuteList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x0000d] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Common.Data.DbManagerProxy.ExecuteList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x00006] in <96a81f2b5ce744ef90c32874e89bb46b>:0 at ASC.Core.Data.DbBaseService+<>c__DisplayClass8_0.b__0 (ASC.Common.Data.IDbManager db) [0x00000] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.Data.DbBaseService.Execute[T] (System.Func`2[T,TResult] action) [0x00007] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.Data.DbBaseService.ExecList (ASC.Common.Data.Sql.ISqlInstruction sql) [0x0000d] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.Data.DbTenantService.GetTenants (ASC.Common.Data.Sql.Expressions.Exp where) [0x00007] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.Data.DbTenantService.GetTenants (System.DateTime from, System.Boolean active) [0x00048] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.Caching.CachedTenantService.GetTenants (System.DateTime from, System.Boolean active) [0x00000] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Core.TenantManager.GetTenants (System.Boolean active) [0x00000] in <29abe7af31c84de4b7a176f4d96b10be>:0 at ASC.Web.Studio.Core.WarmUp..ctor () [0x0006b] in <92e42f68b5a7453f81f4ac8c66bb234d>:0 2022-05-15 14:18:51,116 ERROR [5] ASC - Start Warmup System.NullReferenceException: Object reference not set to an instance of an object at ASC.Web.Studio.Core.WarmUp.Start () [0x00033] in <92e42f68b5a7453f81f4ac8c66bb234d>:0 at ASC.Web.Studio.Startup.Configure () [0x000f4] in <92e42f68b5a7453f81f4ac8c66bb234d>:0

williamneto avatar May 15 '22 14:05 williamneto

Did you run containers manually or use our script ? Please verify version of MySQL - docker exec -it onlyoffice-mysql-server mysql -V ?

Carazyda avatar May 15 '22 17:05 Carazyda