# Cannot load manifest

**URL:** <https://cernvm-forum.cern.ch/t/cannot-load-manifest/468>\
**Category:** Publisher / Stratum 0\
**Created:** [August 1, 2024, 9:18am UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468 "2024-08-01T09:18:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcaballe](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jcaballe](https://cernvm-forum.cern.ch/u/jcaballe)\
**Post date:** [August 1, 2024, 9:18am UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/1 "2024-08-01T09:18:45Z")

</div>

Hi,

how do I troubleshoot/fix this error?

```
[root @ stratum-0] # cvmfs_server transaction my.cvmfs.repository
cannot load manifest

```

The file `/srv/cvmfs/my.cvmfs.repository/.cvmfspublished` seems to be OK.

Any suggestion is more than welcome.

Cheers,  
Jose

---

<div class="post-metadata">

**Author:** ![vavolkl](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/v/ebca7d/32.png) [@vavolkl](https://cernvm-forum.cern.ch/u/vavolkl)\
**Post date:** [August 1, 2024, 10:34am UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/2 "2024-08-01T10:34:17Z")

</div>

Hi Jose, as with any error with cvmfs\_server, please set CVMFS\_SERVER\_DEBUG=3. Next suggestion would be to check if you can curl `.cvmfspublished` from the CVMFS\_STRATUM0 url , something like [http://localhost/cvmfs/my.cvmfs.repository/.cvmfspublished](http://localhost/cvmfs/my.cvmfs.repository/.cvmfspublished) ( check /etc/cvmfs/repositories.d/…/server.conf for the url) and if the whitelist needs to be resigned.  
Hope this helps!  
Valentin

---

<div class="post-metadata">

**Author:** ![jcaballe](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jcaballe](https://cernvm-forum.cern.ch/u/jcaballe)\
**Post date:** [August 1, 2024, 1:01pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/3 "2024-08-01T13:01:38Z")

</div>

Hi Valentin,

Before asking here, I resigned the whitelist and I indeed verified that I can wget the file.  
I have just tried with DEBUG level, but no help:

```
[root@stratum-0 ~]# CVMFS_SERVER_DEBUG=3; cvmfs_server transaction my.cvmfs.repository
cannot load manifest

```

Cheers,  
Jose

---

<div class="post-metadata">

**Author:** ![jcaballe](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jcaballe](https://cernvm-forum.cern.ch/u/jcaballe)\
**Post date:** [August 1, 2024, 1:03pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/4 "2024-08-01T13:03:34Z")

</div>

Oh. This is new (to me):

```
cvmfs_server check
...
failed to fetch repository manifest (7 - bad signature, failed to verify repository manifest)
...

```

I don’t think I have seen `bad signature` before…

---

<div class="post-metadata">

**Author:** ![dwd](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dwd](https://cernvm-forum.cern.ch/u/dwd)\
**Post date:** [August 1, 2024, 1:22pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/5 "2024-08-01T13:22:50Z")

</div>

Sometimes it is useful to run `cvmfs_server` with `bash -x` to see exactly what command is failing and try running that independently.

However in this case since you know it is complaining about a bad signature and had just done a resign, I would suspect a mismatch between the private and public keys for the repository.

Dave

---

<div class="post-metadata">

**Author:** ![jcaballe](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jcaballe](https://cernvm-forum.cern.ch/u/jcaballe)\
**Post date:** [August 1, 2024, 1:47pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/6 "2024-08-01T13:47:20Z")

</div>

interesting. Let me check that

---

<div class="post-metadata">

**Author:** ![jcaballe](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jcaballe](https://cernvm-forum.cern.ch/u/jcaballe)\
**Post date:** [August 2, 2024, 6:49am UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/7 "2024-08-02T06:49:53Z")

</div>

I have to admit I am struggling a little bit to find out the exact command to check the keys.  
Googling it, I get many disparate suggestions, using ssh-keygen, multiple different openssl commands, etc.  
Tried all of that with a pair that it supposed to work, but none of the combinations match. So hard to tell the difference between a matching key and a broken one.

Which commands should I use?

---

<div class="post-metadata">

**Author:** ![dwd](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dwd](https://cernvm-forum.cern.ch/u/dwd)\
**Post date:** [August 5, 2024, 5:41pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/8 "2024-08-05T17:41:46Z")

</div>

The easiest way is to look at timestamps and be aware of any manipulation that might have been done to the repository’s keys. In this case it is saying the manifest has a problem so that’s the .cvmfspublished file and the .key and .crt files in /etc/cvmfs/keys.

Oh, another thing that might help is to do `cvmfs_server resign -p <repo>` because that re-creates the signature on the .cvmfspublished file using the current .key file.

---

<div class="post-metadata">

**Author:** ![system](https://cernvm-forum.cern.ch/uploads/default/original/1X/3e336816dfbfe00295701fad16d3bf5b3fca3a02.jpeg) [@system](https://cernvm-forum.cern.ch/u/system)\
**Post date:** [August 5, 2025, 5:41pm UTC](https://cernvm-forum.cern.ch/t/cannot-load-manifest/468/9 "2025-08-05T17:41:49Z")

</div>

Closed on August 5, 2025, 5:41pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
