Documenter build fails

I am getting an error when I try to run a CI Job on GitLab using Documenter:

ERROR: LoadError: ArgumentError: Package OpenSSL_jll [458c3c95-2e84-50aa-8efc-19380b2a3a95] is required but does not seem to be installed:

(It is the same error as here https://discourse.julialang.org/t/documenter-build-fails-on-ci-with-openssl-jll-not-installed-error/133505, but as far as I can tell my project and docs manifest refer to Julia 1.11 so the cause should be something else)

The difference between the old (working) (full log: pages (#2206220) · Jobs · Magnus Borstad Lilledahl / AggregatorX · GitLab )

Setting up xauth (1:1.1.2-1.1) ...
Setting up liberror-perl (0.17030-1) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for libc-bin (2.41-12) ...
$ julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));Pkg.instantiate()'
  Installing known registries into `~/.julia`
       Added `General` registry to ~/.julia/registries
   Resolving package versions...
   Installed IrrationalConstants ───── v0.2.4
   Installed RegistryInstances ─────── v0.1.0
   Installed DiffRules ─────────────── v1.15.1
   Installed MarkdownAST ───────────── v0.1.2

new (failing) (full log: pages (#2141902) · Jobs · Magnus Borstad Lilledahl / AggregatorX · GitLab)

Setting up xauth (1:1.1.2-1.1) ...
Setting up liberror-perl (0.17030-1) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for libc-bin (2.41-12) ...
$ julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));Pkg.instantiate()'
Precompiling packages...
              ✗ LibSSH2_jll
              ✗ LibGit2_jll
              ✗ LibCURL_jll
              ✗ LibGit2
              ✗ LibCURL
              ✗ Downloads
Info Given Pkg was explicitly requested, output will be shown live 
ERROR: LoadError: ArgumentError: Package OpenSSL_jll [458c3c95-2e84-50aa-8efc-19380b2a3a95] is required but does not seem to be installed:

Any suggesion for what is wrong. I have a feeling that the error started occuring when I started pushing the local git repo to two different gitlab repos (here Magnus Borstad Lilledahl / AggregatorX · GitLab and here SecurEL / SecurEL WP2 / AggregatorX · GitLab). Could this have anything to do with it?

Any help greatly appreciated