API exception on clean install of latest docspace on clean install on ubuntu22

I have installed the latest docspace on ubuntu 22 using packages (not docker) on an otherwise emtpy (no old onlyoffice) server

uname -a
Linux docspace.xxxx.com 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

The install threw no errors except the usual mons about running pip as root.

However, when I try to connect to the service I see this exception on the browser

Any help appreciated.

## Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 2220232379

The API log shows this

2024-08-29 09:08:15,583|ERROR|[24]|ASC.Web.Api.Models.EmployeeDtoHelper - |System.Exception: Could not resolve current tenant :-(.
at ASC.Core.TenantManager.GetCurrentTenant(Boolean throwIfNotFound) in /home/jenkins/workspace/appserver.deb/install/deb/debian/build/server/common/ASC.Core.Common/Context/Impl/TenantManager.cs:line 278
at ASC.Core.UserManager.get_Tenant() in /home/jenkins/workspace/appserver.deb/install/deb/debian/build/server/common/ASC.Core.Common/Context/Impl/UserManager.cs:line 73
at ASC.Core.UserManager.GetUsersAsync(Guid id) in /home/jenkins/workspace/appserver.deb/install/deb/debian/build/server/common/ASC.Core.Common/Context/Impl/UserManager.cs:line 126
at ASC.Web.Api.Models.EmployeeDtoHelper.GetAsync(Guid userId) in /home/jenkins/workspace/appserver.deb/install/deb/debian/build/server/common/ASC.Api.Core/Model/EmployeeDto.cs:line 125

My packages look like

docspace 2.6.0.432
docspace-api 2.6.0.432
docspace-api-system 2.6.0.432
docspace-backup 2.6.0.432
docspace-backup-background 2.6.0.432
docspace-clear-events 2.6.0.432
docspace-common 2.6.0.432
docspace-doceditor 2.6.0.432
docspace-files 2.6.0.432
docspace-files-services 2.6.0.432
docspace-healthchecks 2.6.0.432
docspace-login 2.6.0.432
docspace-migration-runner 2.6.0.432
docspace-notify 2.6.0.432
docspace-people-server 2.6.0.432
docspace-proxy 2.6.0.432
docspace-radicale 2.6.0.432
docspace-socket 2.6.0.432
docspace-ssoauth 2.6.0.432
docspace-studio 2.6.0.432
docspace-studio-notify 2.6.0.432
onlyoffice-documentserver 8.1.1-26
redis-server 6:7.4.0-1rl1~jammy1
redis-tools 6:7.4.0-1rl1~jammy1
librabbitmq4:amd64 0.10.0-1ubuntu2
rabbitmq-server 3.9.13-1ubuntu0.22.04.2
cups-core-drivers 2.4.1op1-1ubuntu4.10
cups-filters-core-drivers 1.28.15-0ubuntu1.2
erlang-asn1 1:24.2.1+dfsg-1ubuntu0.1
erlang-base 1:24.2.1+dfsg-1ubuntu0.1
erlang-crypto 1:24.2.1+dfsg-1ubuntu0.1
erlang-eldap 1:24.2.1+dfsg-1ubuntu0.1
erlang-ftp 1:24.2.1+dfsg-1ubuntu0.1
erlang-inets 1:24.2.1+dfsg-1ubuntu0.1
erlang-mnesia 1:24.2.1+dfsg-1ubuntu0.1
erlang-os-mon 1:24.2.1+dfsg-1ubuntu0.1
erlang-parsetools 1:24.2.1+dfsg-1ubuntu0.1
erlang-public-key 1:24.2.1+dfsg-1ubuntu0.1
erlang-runtime-tools 1:24.2.1+dfsg-1ubuntu0.1
erlang-snmp 1:24.2.1+dfsg-1ubuntu0.1
erlang-ssl 1:24.2.1+dfsg-1ubuntu0.1
erlang-syntax-tools 1:24.2.1+dfsg-1ubuntu0.1
erlang-tftp 1:24.2.1+dfsg-1ubuntu0.1
erlang-tools 1:24.2.1+dfsg-1ubuntu0.1
erlang-xmerl 1:24.2.1+dfsg-1ubuntu0.1
libalgorithm-diff-perl 1.201-1
openresty-pcre 8.45-2~jammy1
rabbitmq-server 3.9.13-1ubuntu0.22.04.2
postgresql 14+238
postgresql-14 14.13-0ubuntu0.22.04.1
postgresql-client-14 14.13-0ubuntu0.22.04.1
postgresql-client-common 238
postgresql-common

tcpdump

10:04:39.114812 IP _gateway.55173 > docspace.https: Flags [F.], seq 3550374750, ack 325905071, win 510, length 0
10:04:39.114868 IP docspace.https > _gateway.55173: Flags [.], ack 1, win 501, length 0
10:04:42.769364 IP _gateway.55209 > docspace.https: Flags [S], seq 2481520041, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
10:04:42.769403 IP docspace.https > _gateway.55209: Flags [S.], seq 2924248021, ack 2481520042, win 64240, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
10:04:42.770730 IP _gateway.55174 > docspace.https: Flags [P.], seq 1351557877:1351558675, ack 4092688540, win 513, length 798
10:04:42.770808 IP docspace.https > _gateway.55174: Flags [.], ack 798, win 501, length 0
10:04:42.771674 IP _gateway.55209 > docspace.https: Flags [.], ack 1, win 513, length 0
10:04:42.773257 IP _gateway.55209 > docspace.https: Flags [P.], seq 1:2109, ack 1, win 513, length 2108
10:04:42.773311 IP docspace.https > _gateway.55209: Flags [.], ack 2109, win 497, length 0
10:04:42.774274 IP docspace.https > _gateway.55209: Flags [P.], seq 1:261, ack 2109, win 501, length 260
10:04:42.777404 IP _gateway.55209 > docspace.https: Flags [P.], seq 2109:2189, ack 261, win 512, length 80
10:04:42.777683 IP docspace.https > _gateway.55209: Flags [P.], seq 261:548, ack 2189, win 501, length 287
10:04:42.823308 IP _gateway.55209 > docspace.https: Flags [.], ack 548, win 511, length 0
10:04:42.823383 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [S], seq 2960379205, win 64240, options [mss 1460,sackOK,TS val 1479373275 ecr 0,nop,wscale 7], length 0
10:04:42.823557 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [S], seq 3533051031, win 64240, options [mss 1460,sackOK,TS val 1479373276 ecr 0,nop,wscale 7], length 0
10:04:42.850823 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [S.], seq 1335247473, ack 2960379206, win 43440, options [mss 1460,sackOK,TS val 3722505126 ecr 1479373275,nop,wscale 9], length 0
10:04:42.850914 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1, win 502, options [nop,nop,TS val 1479373303 ecr 3722505126], length 0
10:04:42.851140 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [S.], seq 123602084, ack 3533051032, win 43440, options [mss 1460,sackOK,TS val 3722505151 ecr 1479373276,nop,wscale 9], length 0
10:04:42.851168 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1, win 502, options [nop,nop,TS val 1479373303 ecr 3722505151], length 0
10:04:42.852051 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [P.], seq 1:724, ack 1, win 502, options [nop,nop,TS val 1479373304 ecr 3722505126], length 723
10:04:42.853098 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [P.], seq 1:724, ack 1, win 502, options [nop,nop,TS val 1479373305 ecr 3722505151], length 723
10:04:42.853224 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [.], ack 724, win 84, options [nop,nop,TS val 3722505153 ecr 1479373304], length 0
10:04:42.854085 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [.], ack 724, win 84, options [nop,nop,TS val 3722505154 ecr 1479373305], length 0
10:04:42.854404 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [P.], seq 1:261, ack 724, win 84, options [nop,nop,TS val 3722505155 ecr 1479373304], length 260
10:04:42.854435 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 261, win 501, options [nop,nop,TS val 1479373307 ecr 3722505155], length 0
10:04:42.854945 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [P.], seq 1:261, ack 724, win 84, options [nop,nop,TS val 3722505155 ecr 1479373305], length 260
10:04:42.854959 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 261, win 501, options [nop,nop,TS val 1479373307 ecr 3722505155], length 0
10:04:42.855711 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [P.], seq 724:1786, ack 261, win 501, options [nop,nop,TS val 1479373308 ecr 3722505155], length 1062
10:04:42.856897 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [P.], seq 724:1779, ack 261, win 501, options [nop,nop,TS val 1479373309 ecr 3722505155], length 1055
10:04:42.857062 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [P.], seq 261:580, ack 1786, win 83, options [nop,nop,TS val 3722505157 ecr 1479373308], length 319
10:04:42.857526 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [P.], seq 580:1060, ack 1786, win 83, options [nop,nop,TS val 3722505158 ecr 1479373308], length 480
10:04:42.857527 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [P.], seq 1060:1084, ack 1786, win 83, options [nop,nop,TS val 3722505158 ecr 1479373308], length 24
10:04:42.857528 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [F.], seq 1084, ack 1786, win 83, options [nop,nop,TS val 3722505158 ecr 1479373308], length 0
10:04:42.857570 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1060, win 501, options [nop,nop,TS val 1479373310 ecr 3722505157], length 0
10:04:42.858171 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [P.], seq 261:580, ack 1779, win 83, options [nop,nop,TS val 3722505158 ecr 1479373309], length 319
10:04:42.858658 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [P.], seq 580:1060, ack 1779, win 83, options [nop,nop,TS val 3722505159 ecr 1479373309], length 480
10:04:42.858660 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [P.], seq 1060:1084, ack 1779, win 83, options [nop,nop,TS val 3722505159 ecr 1479373309], length 24
10:04:42.858661 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [F.], seq 1084, ack 1779, win 83, options [nop,nop,TS val 3722505159 ecr 1479373309], length 0
10:04:42.858690 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1060, win 501, options [nop,nop,TS val 1479373311 ecr 3722505158], length 0
10:04:42.858741 IP docspace.35836 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [F.], seq 1786, ack 1085, win 501, options [nop,nop,TS val 1479373311 ecr 3722505158], length 0
10:04:42.859641 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35836: Flags [.], ack 1787, win 83, options [nop,nop,TS val 3722505160 ecr 1479373311], length 0
10:04:42.868146 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [F.], seq 1779, ack 1085, win 501, options [nop,nop,TS val 1479373320 ecr 3722505159], length 0
10:04:42.868369 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [F.], seq 1084, ack 1779, win 83, options [nop,nop,TS val 3722505169 ecr 1479373311], length 0
10:04:42.868392 IP docspace.35852 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1085, win 501, options [nop,nop,TS val 1479373320 ecr 3722505169,nop,nop,sack 1 {1084:1085}], length 0
10:04:42.869194 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35852: Flags [.], ack 1780, win 83, options [nop,nop,TS val 3722505169 ecr 1479373320], length 0
10:04:42.894572 IP docspace.35862 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [S], seq 206443362, win 64240, options [mss 1460,sackOK,TS val 1479373347 ecr 0,nop,wscale 7], length 0
10:04:42.899581 IP a-b-c-d.lightspeed.mtryca.sbcglobal.net.https > docspace.35862: Flags [S.], seq 2332998253, ack 206443363, win 43440, options [mss 1460,sackOK,TS val 3722505200 ecr 1479373347,nop,wscale 9], length 0
10:04:42.899639 IP docspace.35862 > a-b-c-d.lightspeed.mtryca.sbcglobal.net.https: Flags [.], ack 1, win 502, options [nop,nop,TS val 1479373352 ecr 3722505200], length 0
10:04

Please close this ticket. I have moved to a full docker install and see the SAME issue. See new ticket