Monoserve issues on Debian Buster container

Issues during installation and related to database
Post Reply
User avatar
prppedro
Posts: 1
Joined: Sat Mar 28, 2020 3:39 pm
Location: São Paulo - SP
Contact:

Monoserve issues on Debian Buster container

Post by prppedro » Sat Mar 28, 2020 5:06 pm

Cheers,

I created a LXC container in order to test OnlyOffice Community Edition. It wasn't exactly a straightforward process, so I'll sumarize:
  • Created a Debian 10 container on a Debian 10 host;
  • Ran Puppet on it for our standard server environment;
  • Used opensource-install.sh -ims no;
  • As it's already inside a container, I've choosen standard DEB installation;
  • DocumentServer installed with no issues;
  • CommunityServer had an issue with a zero date, which I've worked arround, and added the rest of the structure (onlyoffice.sql) manually;
  • apt install did sucesfully install it, after the workarround;
  • I've also had to tweak some things for Elasticsearch to work. It's now up and running, listening on 9200 and 9300 ports.
The problem is: CommunityServer won't work. All daemons are up, but Monoserve seems to woe a bit. With the default config, I was getting randomly 502 or 404 errors at Nginx for the http root. I tweaked the HyperFastCGI config a bit, trying both Managed and Native modes, either via TCP or Unix socket. Using Unix socket it tends to crash (logs at the end of the post). Using TCP socket, it won't crash, but it won't work either, causing Nginx to consistently return error 404. The problem is: I can't make any sense of monoserve.log as it's only errors seems to be DLL related. web.sql.log, for each try, seems to do a query to which there are no results (I tried running it manually).

Now, to the logs:
When I systemctl start monoserver (using Native Unix socket, which is the default configuration), it does that:
<code>
Mono: Config attempting to parse: '/etc/mono/config'.
Mono: Config attempting to parse: '/var/www/onlyoffice/.mono/config'.
Mono: Assembly Loader probing location: '/usr/lib/mono/4.5/mscorlib.dll'.
Mono: Image addref mscorlib[0x55f7e4d91730] (asmctx DEFAULT) -> /usr/lib/mono/4.5/mscorlib.dll[0x55f7e4d90330]: 2
Mono: Prepared to set up assembly 'mscorlib' (/usr/lib/mono/4.5/mscorlib.dll)
Mono: AOT: image '/usr/lib/mono/4.5/mscorlib.dll.so' not found: /usr/lib/mono/4.5/mscorlib.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader probing location: '/usr/lib/mono/4.5/mscorlib.dll'.
Mono: AOT: image '(null)' found.
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/4.5/mscorlib.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/4.5/mscorlib.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono: Assembly mscorlib[0x55f7e4d91730] added to domain HyperFastCgi.exe, ref_count=1
Mono: Assembly Loader probing location: '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe'.
Mono: Image addref HyperFastCgi[0x55f7e4decb70] (asmctx DEFAULT) -> /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe[0x55f7e4d8edd0]: 3
Mono: Prepared to set up assembly 'HyperFastCgi' (/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe)
Mono: Assembly HyperFastCgi[0x55f7e4decb70] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.so' not found: /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/HyperFastCgi.exe.so' not found: /usr/lib/mono/aot-cache/amd64/HyperFastCgi.exe.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe'.
Mono: Config attempting to parse: '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/HyperFastCgi/HyperFastCgi.config'.
Mono: Assembly Loader probing location: '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe'.
Mono: AOT: image '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.so' not found: /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/HyperFastCgi.exe.so' not found: /usr/lib/mono/aot-cache/amd64/HyperFastCgi.exe.so: cannot open shared object file: No such file or directory
Mono: Loading reference 0 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> mscorlib[0x55f7e4d91730]: 2
Mono: Loading reference 3 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Config attempting to parse: '/usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe.config'.
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll'.
Mono: Image addref System.Xml[0x55f7e4df4b10] (asmctx DEFAULT) -> /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll[0x55f7e4df3b20]: 2
Mono: Prepared to set up assembly 'System.Xml' (/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll)
Mono: Assembly System.Xml[0x55f7e4df4b10] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll.so' not found: /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/System.Xml.dll.so' not found: /usr/lib/mono/aot-cache/amd64/System.Xml.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/System.Xml/System.Xml.config'.
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> System.Xml[0x55f7e4df4b10]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Xml[0x55f7e4df4b10] -> mscorlib[0x55f7e4d91730]: 3
Mono: Loading reference 5 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll'.
Mono: Image addref Mono.Posix[0x55f7e4e02ad0] (asmctx DEFAULT) -> /usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll[0x55f7e4e01ac0]: 2
Mono: Prepared to set up assembly 'Mono.Posix' (/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll)
Mono: Assembly Mono.Posix[0x55f7e4e02ad0] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll.so' not found: /usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/Mono.Posix.dll.so' not found: /usr/lib/mono/aot-cache/amd64/Mono.Posix.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/Mono.Posix/Mono.Posix.config'.
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> Mono.Posix[0x55f7e4e02ad0]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref Mono.Posix[0x55f7e4e02ad0] -> mscorlib[0x55f7e4d91730]: 4
Mono: Loading reference 2 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll'.
Mono: Image addref System[0x55f7e4e1a5a0] (asmctx DEFAULT) -> /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll[0x55f7e4e19250]: 2
Mono: Prepared to set up assembly 'System' (/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll)
Mono: Assembly System[0x55f7e4e1a5a0] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll.so' not found: /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/System.dll.so' not found: /usr/lib/mono/aot-cache/amd64/System.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/System/System.config'.
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> System[0x55f7e4e1a5a0]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System[0x55f7e4e1a5a0] -> mscorlib[0x55f7e4d91730]: 5
Mono: Loading reference 2 of /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Xml[0x55f7e4df4b10] -> System[0x55f7e4e1a5a0]: 3
Mono: Loading reference 4 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll'.
Mono: Image addref System.Configuration[0x55f7e4f4a200] (asmctx DEFAULT) -> /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll[0x55f7e4f61510]: 2
Mono: Prepared to set up assembly 'System.Configuration' (/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll)
Mono: Assembly System.Configuration[0x55f7e4f4a200] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.so' not found: /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/System.Configuration.dll.so' not found: /usr/lib/mono/aot-cache/amd64/System.Configuration.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/System.Configuration/System.Configuration.config'.
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> System.Configuration[0x55f7e4f4a200]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Configuration[0x55f7e4f4a200] -> mscorlib[0x55f7e4d91730]: 6
Mono: Loading reference 2 of /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Configuration[0x55f7e4f4a200] -> System[0x55f7e4e1a5a0]: 4
Mono: DllImport attempting to load: '/usr/lib/../lib/libmono-native.so'.
Mono: DllImport loaded library '/usr/lib/../lib/libmono-native.so'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_Stat2'.
Mono: Probing 'SystemNative_Stat2'.
Mono: Found as 'SystemNative_Stat2'.
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll'.
Mono: Image addref Mono.Security[0x55f7e4f9b190] (asmctx DEFAULT) -> /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll[0x55f7e4f93bd0]: 2
Mono: Prepared to set up assembly 'Mono.Security' (/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll)
Mono: Assembly Mono.Security[0x55f7e4f9b190] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll.so' not found: /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/Mono.Security.dll.so' not found: /usr/lib/mono/aot-cache/amd64/Mono.Security.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/Mono.Security/Mono.Security.config'.
Mono: Loading reference 0 of /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref Mono.Security[0x55f7e4f9b190] -> mscorlib[0x55f7e4d91730]: 7
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_LStat2'.
Mono: Probing 'SystemNative_LStat2'.
Mono: Found as 'SystemNative_LStat2'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_ConvertErrorPlatformToPal'.
Mono: Probing 'SystemNative_ConvertErrorPlatformToPal'.
Mono: Found as 'SystemNative_ConvertErrorPlatformToPal'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_ReadLink'.
Mono: Probing 'SystemNative_ReadLink'.
Mono: Found as 'SystemNative_ReadLink'.
[2020-03-28 16:18:06Z] Error Error opening log file: Access to the path "/var/log/onlyoffice/monoserve.log" is denied.
[2020-03-28 16:18:06Z] Error Events will not be logged.
[2020-03-28 16:18:06Z] Debug HyperFastCgi
Mono: Loading reference 1 of /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Configuration[0x55f7e4f4a200] -> System.Xml[0x55f7e4df4b10]: 3
Mono: Loading reference 2 of /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll asmctx DEFAULT, looking for System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Mono: Assembly Ref addref System[0x55f7e4e1a5a0] -> System.Configuration[0x55f7e4f4a200]: 3
Mono: Loading reference 3 of /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System[0x55f7e4e1a5a0] -> System.Xml[0x55f7e4df4b10]: 4
Mono: Loading reference 1 of /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll asmctx DEFAULT, looking for System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Mono: Assembly Ref addref System.Xml[0x55f7e4df4b10] -> System.Configuration[0x55f7e4f4a200]: 4
Mono: Loading reference 1 of /usr/lib/hyperfastcgi/4.0/HyperFastCgi.exe asmctx DEFAULT, looking for System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll'.
Mono: Image addref System.Web[0x55f7e5363110] (asmctx DEFAULT) -> /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll[0x55f7e529e450]: 2
Mono: Prepared to set up assembly 'System.Web' (/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll)
Mono: Assembly System.Web[0x55f7e5363110] added to domain HyperFastCgi.exe, ref_count=1
Mono: AOT: image '/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.so' not found: /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.so: cannot open shared object file: No such file or directory
Mono: AOT: image '/usr/lib/mono/aot-cache/amd64/System.Web.dll.so' not found: /usr/lib/mono/aot-cache/amd64/System.Web.dll.so: cannot open shared object file: No such file or directory
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/System.Web/System.Web.config'.
Mono: Assembly Ref addref HyperFastCgi[0x55f7e4decb70] -> System.Web[0x55f7e5363110]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Web[0x55f7e5363110] -> mscorlib[0x55f7e4d91730]: 8
Mono: Loading reference 3 of /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll asmctx DEFAULT, looking for System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Web[0x55f7e5363110] -> System[0x55f7e4e1a5a0]: 5
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_OpenDir'.
Mono: Probing 'SystemNative_OpenDir'.
Mono: Found as 'SystemNative_OpenDir'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_GetReadDirRBufferSize'.
Mono: Probing 'SystemNative_GetReadDirRBufferSize'.
Mono: Found as 'SystemNative_GetReadDirRBufferSize'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_ReadDirR'.
Mono: Probing 'SystemNative_ReadDirR'.
Mono: Found as 'SystemNative_ReadDirR'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_CloseDir'.
Mono: Probing 'SystemNative_CloseDir'.
Mono: Found as 'SystemNative_CloseDir'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_MkDir'.
Mono: Probing 'SystemNative_MkDir'.
Mono: Found as 'SystemNative_MkDir'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_GetEUid'.
Mono: Probing 'SystemNative_GetEUid'.
Mono: Found as 'SystemNative_GetEUid'.
Mono: DllImport searching in: '/usr/lib/../lib/libmono-native.so' ('/usr/lib/../lib/libmono-native.so').
Mono: Searching for 'SystemNative_RmDir'.
Mono: Probing 'SystemNative_RmDir'.
Mono: Found as 'SystemNative_RmDir'.
Mono: Assembly mscorlib[0x55f7e4d91730] added to domain 733c99ce, ref_count=9
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll'.
Mono: Assembly Mono.Security[0x55f7e4f9b190] added to domain 733c99ce, ref_count=2
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll'.
Mono: Assembly System.Web[0x55f7e5363110] added to domain 733c99ce, ref_count=3
Mono: Assembly System[0x55f7e4e1a5a0] added to domain 733c99ce, ref_count=6
Mono: Assembly System.Configuration[0x55f7e4f4a200] added to domain 733c99ce, ref_count=5
Mono: Assembly System.Xml[0x55f7e4df4b10] added to domain 733c99ce, ref_count=5
Mono: Loading reference 1 of /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll asmctx DEFAULT, looking for System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Mono: Assembly Ref addref System.Web[0x55f7e5363110] -> System.Configuration[0x55f7e4f4a200]: 6
Mono: Loading reference 7 of /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll asmctx DEFAULT, looking for System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Config attempting to parse: '/var/www/onlyoffice/WebStudio/Web.config'.
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll'.
Mono: Image addref System.Core[0x55f7e5503c20] (asmctx DEFAULT) -> /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll[0x55f7e54ff7c0]: 2
Mono: Prepared to set up assembly 'System.Core' (/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll)
Mono: Assembly System.Core[0x55f7e5503c20] added to domain 733c99ce, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/System.Core/System.Core.config'.
Mono: Assembly Ref addref System.Web[0x55f7e5363110] -> System.Core[0x55f7e5503c20]: 2
Mono: Loading reference 0 of /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Core[0x55f7e5503c20] -> mscorlib[0x55f7e4d91730]: 10
WebConfigurationManager's LRUcache Size overriden to: 2000 (via MONO_ASPNET_WEBCONFIG_CACHESIZE)
Mono: Loading reference 2 of /usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref System.Web[0x55f7e5363110] -> System.Xml[0x55f7e4df4b10]: 6
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.dll'.
Mono: Assembly Loader probing location: '/usr/lib/HyperFastCgi.dll'.
Mono: Assembly Loader probing location: '/usr/lib/mono/4.5//Facades/HyperFastCgi.dll'.
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe'.
Mono: Image addref HyperFastCgi[0x55f7e5574b00] (asmctx DEFAULT) -> /usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe[0x55f7e5540d50]: 2
Mono: Prepared to set up assembly 'HyperFastCgi' (/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe)
Mono: Assembly HyperFastCgi[0x55f7e5574b00] added to domain 733c99ce, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe'.
Mono: Config attempting to parse: '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe.config'.
Mono: Config attempting to parse: '/etc/mono/assemblies/HyperFastCgi/HyperFastCgi.config'.
Mono: Loading reference 0 of /usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe asmctx DEFAULT, looking for mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref HyperFastCgi[0x55f7e5574b00] -> mscorlib[0x55f7e4d91730]: 11
Mono: Loading reference 3 of /usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/HyperFastCgi.exe asmctx DEFAULT, looking for System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Mono: Assembly Ref addref HyperFastCgi[0x55f7e5574b00] -> System.Xml[0x55f7e4df4b10]: 7
Mono: DllImport attempting to load: 'libhfc-native'.
Mono: DllImport error loading library '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native': '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native: cannot open shared object file: No such file or directory'.
Mono: DllImport error loading library '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native.so': '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native.so: cannot open shared object file: No such file or directory'.
Mono: DllImport error loading library '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native.so': '/usr/lib/mono/gac/HyperFastCgi/0.4.4.0__0738eb9f132ed756/libhfc-native.so: cannot open shared object file: No such file or directory'.
Mono: DllImport loaded library '/usr/lib/libhfc-native'.
Mono: DllImport searching in: 'libhfc-native' ('/usr/lib/libhfc-native').
Mono: Searching for 'bridge_register_icall'.
Mono: Probing 'bridge_register_icall'.
Mono: Found as 'bridge_register_icall'.
host-list.c:38: register_host(): (null):0:/:/var/www/onlyoffice/WebStudio host=0x7f280451d7b8 pinned_host=0x7f280451d7b8 domain=0x55f7e53763b0
Mono: DllImport attempting to load: 'libhfc-native'.
Mono: DllImport error loading library '/usr/lib/hyperfastcgi/4.0/libhfc-native': '/usr/lib/hyperfastcgi/4.0/libhfc-native: cannot open shared object file: No such file or directory'.
Mono: DllImport error loading library '/usr/lib/hyperfastcgi/4.0/libhfc-native.so': '/usr/lib/hyperfastcgi/4.0/libhfc-native.so: cannot open shared object file: No such file or directory'.
Mono: DllImport error loading library '/usr/lib/hyperfastcgi/4.0/libhfc-native.so': '/usr/lib/hyperfastcgi/4.0/libhfc-native.so: cannot open shared object file: No such file or directory'.
Mono: DllImport loaded library '/usr/lib/libhfc-native'.
Mono: DllImport searching in: 'libhfc-native' ('/usr/lib/libhfc-native').
Mono: Searching for 'Listen'.
Mono: Probing 'Listen'.
Mono: Found as 'Listen'.
libev.c:476: Listen(): libevent version: 2.1.8-stable
libev.c:490: Listen(): libevent is using epoll for events.
Mono: DllImport searching in: 'libhfc-native' ('/usr/lib/libhfc-native').
Mono: Searching for 'ProcessLoop'.
Mono: Probing 'ProcessLoop'.
Mono: Found as 'ProcessLoop'.
Mono: DllImport attempting to load: '/usr/lib/../lib/libMonoPosixHelper.so'.
Mono: DllImport loaded library '/usr/lib/../lib/libMonoPosixHelper.so'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Unix_VersionString'.
Mono: Probing 'Mono_Unix_VersionString'.
Mono: Found as 'Mono_Unix_VersionString'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_SIG_DFL'.
Mono: Probing 'Mono_Posix_Stdlib_SIG_DFL'.
Mono: Found as 'Mono_Posix_Stdlib_SIG_DFL'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_SIG_ERR'.
Mono: Probing 'Mono_Posix_Stdlib_SIG_ERR'.
Mono: Found as 'Mono_Posix_Stdlib_SIG_ERR'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_SIG_IGN'.
Mono: Probing 'Mono_Posix_Stdlib_SIG_IGN'.
Mono: Found as 'Mono_Posix_Stdlib_SIG_IGN'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib__IOFBF'.
Mono: Probing 'Mono_Posix_Stdlib__IOFBF'.
Mono: Found as 'Mono_Posix_Stdlib__IOFBF'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib__IOLBF'.
Mono: Probing 'Mono_Posix_Stdlib__IOLBF'.
Mono: Found as 'Mono_Posix_Stdlib__IOLBF'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib__IONBF'.
Mono: Probing 'Mono_Posix_Stdlib__IONBF'.
Mono: Found as 'Mono_Posix_Stdlib__IONBF'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_BUFSIZ'.
Mono: Probing 'Mono_Posix_Stdlib_BUFSIZ'.
Mono: Found as 'Mono_Posix_Stdlib_BUFSIZ'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_EOF'.
Mono: Probing 'Mono_Posix_Stdlib_EOF'.
Mono: Found as 'Mono_Posix_Stdlib_EOF'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_FOPEN_MAX'.
Mono: Probing 'Mono_Posix_Stdlib_FOPEN_MAX'.
Mono: Found as 'Mono_Posix_Stdlib_FOPEN_MAX'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_FILENAME_MAX'.
Mono: Probing 'Mono_Posix_Stdlib_FILENAME_MAX'.
Mono: Found as 'Mono_Posix_Stdlib_FILENAME_MAX'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_L_tmpnam'.
Mono: Probing 'Mono_Posix_Stdlib_L_tmpnam'.
Mono: Found as 'Mono_Posix_Stdlib_L_tmpnam'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_stderr'.
Mono: Probing 'Mono_Posix_Stdlib_stderr'.
Mono: Found as 'Mono_Posix_Stdlib_stderr'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_stdin'.
Mono: Probing 'Mono_Posix_Stdlib_stdin'.
Mono: Found as 'Mono_Posix_Stdlib_stdin'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_stdout'.
Mono: Probing 'Mono_Posix_Stdlib_stdout'.
Mono: Found as 'Mono_Posix_Stdlib_stdout'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_TMP_MAX'.
Mono: Probing 'Mono_Posix_Stdlib_TMP_MAX'.
Mono: Found as 'Mono_Posix_Stdlib_TMP_MAX'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_EXIT_FAILURE'.
Mono: Probing 'Mono_Posix_Stdlib_EXIT_FAILURE'.
Mono: Found as 'Mono_Posix_Stdlib_EXIT_FAILURE'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_EXIT_SUCCESS'.
Mono: Probing 'Mono_Posix_Stdlib_EXIT_SUCCESS'.
Mono: Found as 'Mono_Posix_Stdlib_EXIT_SUCCESS'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_MB_CUR_MAX'.
Mono: Probing 'Mono_Posix_Stdlib_MB_CUR_MAX'.
Mono: Found as 'Mono_Posix_Stdlib_MB_CUR_MAX'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_Stdlib_RAND_MAX'.
Mono: Probing 'Mono_Posix_Stdlib_RAND_MAX'.
Mono: Found as 'Mono_Posix_Stdlib_RAND_MAX'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Unix_UnixSignal_install'.
Mono: Probing 'Mono_Unix_UnixSignal_install'.
Mono: Found as 'Mono_Unix_UnixSignal_install'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Posix_FromSignum'.
Mono: Probing 'Mono_Posix_FromSignum'.
Mono: Found as 'Mono_Posix_FromSignum'.
Mono: DllImport searching in: '/usr/lib/../lib/libMonoPosixHelper.so' ('/usr/lib/../lib/libMonoPosixHelper.so').
Mono: Searching for 'Mono_Unix_UnixSignal_WaitAny'.
Mono: Probing 'Mono_Unix_UnixSignal_WaitAny'.
Mono: Found as 'Mono_Unix_UnixSignal_WaitAny'.
</code>
Then, when I try to access either per via Curl or browser, it does this:
https://pastebin.com/EvfEDguc (it's a HUGE log)

and then hangs...

While, at web.sql.log says this:

Code: Select all

2020-03-28 16:21:01,474|5|1.4501|Command.ExecuteReader(Default)|select t.id, t.alias, t.mappeddomain, t.version, t.version_changed, t.name, t.language, t.timezone, t.owner_id, t.trusteddomains, t.trusteddomainsenabled, t.creationdatetime, t.status, t.statuschanged, t.payment_id, t.last_modified, p.partner_id, p.affiliate_id, p.campaign, t.industry, t.spam, t.calls from tenants_tenants t left outer join tenants_partners p on t.id = p.tenant_id where alias = @p0 or mappeddomain = @p1|@p0=localhost, @p1=localhost
2020-03-28 16:21:01,474|5|0.9018|Command.ExecuteReader(Default)|select t.id, t.alias, t.mappeddomain, t.version, t.version_changed, t.name, t.language, t.timezone, t.owner_id, t.trusteddomains, t.trusteddomainsenabled, t.creationdatetime, t.status, t.statuschanged, t.payment_id, t.last_modified, p.partner_id, p.affiliate_id, p.campaign, t.industry, t.spam, t.calls from tenants_tenants t left outer join tenants_partners p on t.id = p.tenant_id where alias = @p0 or mappeddomain = @p1|@p0=localhost, @p1=localhost
2020-03-28 16:21:01,474|5|0.8242|Command.ExecuteReader(Default)|select t.id, t.alias, t.mappeddomain, t.version, t.version_changed, t.name, t.language, t.timezone, t.owner_id, t.trusteddomains, t.trusteddomainsenabled, t.creationdatetime, t.status, t.statuschanged, t.payment_id, t.last_modified, p.partner_id, p.affiliate_id, p.campaign, t.industry, t.spam, t.calls from tenants_tenants t left outer join tenants_partners p on t.id = p.tenant_id|
If I try using a TCP socket, Monoserve won't crash, but, as I said, all Nginx returns is 404 errors. Here's the log for Monoserve using TCP sockets:
https://www.linux.ime.usp.br/~prppedro/monotcp.txt

There's also a TGZ comprising the files I think are most relevant for the issue: https://www.linux.ime.usp.br/~prppedro/oocsbuster.tgz

Note: There are some problems with our DNS secondary server, so the address might not be resolved or take a long time to do so, just try again, it'll work.

Well, I've spent my entire night trying to get it to work. And, no, I didn't try docker because, as I said, it's alreayd inside a container. Furthermore, I dispise Docker a bit, so I'm trying to avoid to the maximum extent.

Any help would be appreciated...

Thanks,
-trp

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

Re: Monoserve issues on Debian Buster container

Post by Alexandre » Wed Apr 01, 2020 11:29 am

Hello prppedro.
Please note, we didn’t test ONLYOFFICE installation in LXC container, so we don’t have ready-to-go solution for you.
As it's already inside a container, I've choosen standard DEB installation
Please note, LXC container and Docker container are not the same thing.
We recommend you to follow official instructions from our site. If you “despise” Docker installation, you can choose Deb\rpm:https://helpcenter.onlyoffice.com/serve ... ation.aspx
Please note, we strongly recommend you to make ‘clean’ installation of ONLYOFFICE Community Edition on a separate server without any other applications.

Post Reply