Moving gitlab omnibus docker container to other hosts changes file owner and fails to start

There is working gitlab-ce docker container. I’m trying to move it to new machine and get following file permission errors due to incorrect file owner changes. (there are number of incorrect owner changes)

For example,

web_1 | ==> /var/log/gitlab/prometheus/current <==
web_1 | 2021-02-02_22:21:03.16140 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:315 msg=“No time or size retention was set so using the default time retention” duration=15d
web_1 | 2021-02-02_22:21:03.16145 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:353 msg=“Starting Prometheus” version="(version=2.22.2, branch=master, revision=)"
web_1 | 2021-02-02_22:21:03.16146 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:358 build_context="(go=go1.14.7, user=GitLab-Omnibus, date=)"
web_1 | 2021-02-02_22:21:03.16148 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:359 host_details="(Linux 5.9.15-200.fc33.x86_64 #1 SMP Wed Dec 16 19:14:35 UTC 2020 x86_64 gitlab (none))"
web_1 | 2021-02-02_22:21:03.16150 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:360 fd_limits="(soft=50000, hard=50000)"
web_1 | 2021-02-02_22:21:03.16151 level=info ts=2021-02-02T22:21:03.161Z caller=main.go:361 vm_limits="(soft=unlimited, hard=unlimited)"
web_1 | 2021-02-02_22:21:03.16163 level=error ts=2021-02-02T22:21:03.161Z caller=query_logger.go:87 component=activeQueryTracker msg=“Error opening query log file" file=/var/opt/gitlab/prometheus/data/queries.active err="open /var/opt/gitlab/prometheus/data/queries.active: permission denied”
web_1 | 2021-02-02_22:21:03.16374 panic: Unable to create mmap-ed active query log
web_1 | 2021-02-02_22:21:03.16375
web_1 | 2021-02-02_22:21:03.16376 goroutine 1 [running]:
web_1 | 2021-02-02_22:21:03.16377 github.com/prometheus/prometheus/promql.NewActiveQueryTracker(0x7fffef0c8eb6, 0x1f, 0x14, 0x30fb640, 0xc000707500, 0x30fb640)
web_1 | 2021-02-02_22:21:03.16378 /var/cache/omnibus/src/prometheus/src/github.com/prometheus/prometheus/promql/query_logger.go:117 +0x4cd
web_1 | 2021-02-02_22:21:03.16412 main.main()
web_1 | 2021-02-02_22:21:03.16413 /var/cache/omnibus/src/prometheus/src/github.com/prometheus/prometheus/cmd/prometheus/main.go:388 +0x5152

The directory and files are owned by mattermost while it should be gitlab-prometheus

root@gitlab:/# ls -la /var/opt/gitlab/prometheus/data | head
total 4429
drwx------. 292 mattermost 989 298 Feb 2 19:00 .
drwxr-x—. 4 gitlab-prometheus 989 5 Feb 2 22:36 …
drwx------. 2 mattermost 989 37 Sep 3 2019 00
drwx------. 2 mattermost 989 38 Sep 3 2019 01
drwx------. 3 mattermost 989 6 Jan 18 21:00 01EWBMR9VVBZQFH35AGBKCRYVX
drwx------. 3 mattermost 989 6 Jan 19 15:00 01EWDJJ80MQD0GY4G72RPYA1V3
drwx------. 3 mattermost 989 6 Jan 20 09:00 01EWFGBECM96HQ0B2T0Y9D9B30
drwx------. 3 mattermost 989 6 Jan 21 03:00 01EWHE582T0EN400FDVZ5J4KPA
drwx------. 3 mattermost 989 6 Jan 21 21:00 01EWKBYERE0TQW9379ZNJGGN1W

I verified rsync copied file’s permission correctly and container startup script changes them.
“update-permissions” script doesn’t help.

Since container is working on source machine, I suppose there is a workaround for this issue.

Thank you.