Administrator missing shared metadata key

Hello,

I’m running passbolt CE 5.1.0 and noticed that I can’t share ressources with other users since “I don’t know when” because I seem to lack the shared metadata key.

However, I’m the sole admin of this instance, so I can’t have another admin share it with me. According to healthcheck, the Metadata part is ok

Also, in the User settings, I can see that I have all metadata keys

But trying to do something around the metadata keys in admin leads to errors such as

I also updated passbolt-ce-server to 5.9.0-1 but the error persists.

On a side note, on a browser with client (browser plugin) still in 5.1.0 I was able to share ressources, so it might only be a faulty client-side check ? Sadly, the plugin auto-updated while I was investigating…

Also, from the Android application I can share ressources without any error.

So the error might be in the firefox plugin v5.8.0 and upwards ?

Checklist
I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

God damn the image number restriction. here are the other screenshots I meant to post

Health check :

Admin has all the metadata keys

Metadata section in admin page also shows an error about me not having the metadata key

Update : I ran through all previous versions until I found one that allows me to share ressources.

Passbolt plugin for Firefox version 5.3.2 works, but from 5.4.0 onwards I have the shared metadata key error

Thank you for your report.

Based on the different screenshots, the behaviour looks inconsistent. Because multiple versions were involved during testing (and because the metadata key state is involved), the safest approach is to proceed by elimination.

1- Confirm versions (server + extension)

Browser extensions are generally backward compatible with older server versions, but the reverse is not always true and can lead to unexpected issues.

Could you confirm you are running 5.9 for both the API & the browser extension.

You can check it by hovering over the small heart icon at the bottom right of the web UI.

2- Confirm there is only one extension enabled

Could you also confirm you don’t have multiple Passbolt extensions installed/enabled in parallel on the same firefox profile?

In Firefox, please open about:addons and confirm you see only one Passbolt extension enabled.

3- Reproduce after upgrading + relogin

If either component was not on 5.9, please upgrade everything to the latest versions, then:

  • sign out
  • sign back in
  • confirm whether the issue still persists

4- Validate the API state (rule out a UI-only issue)

If the issue persists, could you open the endpoint below (while logged in) and confirm that missing_metadata_key_ids is exactly []:

https://<YOUR_PASSBOLT_URL>/users/me.json?api-version=v2&contain%5Bprofile%5D=1&contain%5Brole%5D=1&contain%5Bmissing_metadata_key_ids%5D=1

5- Confirm the admin UI state + share console logs

If missing_metadata_key_ids is different from[], could you confirm whether the form at Admin → Resource types → Metadata key is still disabled (as shown in your screenshot)?

If it is still disabled, please share the browser console output:

  • Open Tools → Browser Tools → Web Developer Tools
  • Go to Console
  • Reproduce the issue and paste the relevant errors/warnings

Thanks for the help,

  1. Server and plugin are effectively both in 5.9.0.
  2. There is only one extension enabled
  3. It was done on Monday during my testing and I was having the issue. Now it works ? This baffles me a bit. I’m quite sure I logged out and in again several times during my testing, as the server was reinstalled then upgraded anyway, but …

Well, now I look kinda stupid :person_shrugging:

Anyway, now it works :tm: so case closed I guess, sorry for the unnecessary noise and have a great day.

1 Like

Great! I’m glad it’s working again.