Gitlab CE fails to reconfigure because of postgresql
I have gitalb running on a Pi4 8GB and after installing and mounting an external harddrive and reconfiguring it doesnt work and gives me these erros:
`Error executing action run on resource 'execute[create gitlab postgresql user]'`
`Error executing action create on resource 'postgresql_user[gitlab]'`
`Error executing action `create` on resource 'database_objects[postgresql]'`
and finally
```
There was an error running gitlab-ctl reconfigure:
database_objects[postgresql] (postgresql::standalone line 32) had an error: RuntimeError: postgresql_user[gitlab] (po line 13) had an error: RuntimeError: PostgreSQL did not respond before service checks were exhausted
```
Then it stops.
I saw somewhere to run ` sudo gitlab-ctl tail postgresql ` to find where the error came from but i still dont understand it because im new to gitlab.
```
2023-10-28_16:13:37.95435 LOG: aborting startup due to startup process failure
2023-10-28_16:13:37.99427 LOG: database system is shut down
2023-10-28_16:13:39.35421 LOG: starting PostgreSQL 13.11 on aarch64-unknown-linux-gnu, compiled by gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110, 32-bit
2023-10-28_16:13:39.39393 LOG: listening on Unix socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"
2023-10-28_16:13:39.53086 LOG: database system was shut down at 2023-10-27 18:31:17 GMT
2023-10-28_16:13:39.53108 LOG: invalid primary checkpoint record
2023-10-28_16:13:39.53111 PANIC: could not locate a valid checkpoint record
2023-10-28_16:13:39.53211 LOG: startup process (PID 27865) was terminated by signal 6: Aborted
2023-10-28_16:13:39.53221 LOG: aborting startup due to startup process failure
2023-10-28_16:13:39.56843 LOG: database system is shut down
2023-10-28_16:13:40.86441 LOG: starting PostgreSQL 13.11 on aarch64-unknown-linux-gnu, compiled by gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110, 32-bit
2023-10-28_16:13:40.90400 LOG: listening on Unix socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"
2023-10-28_16:13:41.03076 LOG: database system was shut down at 2023-10-27 18:31:17 GMT
2023-10-28_16:13:41.03105 LOG: invalid primary checkpoint record
2023-10-28_16:13:41.03109 PANIC: could not locate a valid checkpoint record
2023-10-28_16:13:41.03833 LOG: startup process (PID 27908) was terminated by signal 6: Aborted
```
This loops again and again till i press ^C.
issue