Downloading dataset files redirects to broken link in new ELN UI using openbis container set-up

Host system: linux Ubuntu 24.04
Openbis container versions tested separately:

  • 20.10.12 combined with postgres:15
  • 20.10.12.2 combined with postgres:15

Apache2 reverse proxy in front of server

Client browsers tested: Chrome, Brave and Firefox

What works:

  • It works perfectly to upload the dataset file

  • .png images can be preliminary viewed in the UI as thumbnail

What doesn’t work:

docker exec openbis-app find /data/openbis/store/1/66FC9791-C608-433B-90BB-FF90CB2ED99F -type f | grep "bHT.jpeg"
/data/openbis/store/1/66FC9791-C608-433B-90BB-FF90CB2ED99F/70/b2/ef/20251110151155726-212/original/bHT.jpeg


Using the old Core UI to retrieve the file works:

https://yourserver.ch/datastore_server/20251110151155726-212/original/bHT.jpeg?sessionID=admin-260115103334188x4C9CC7B8C9BBE7472FC889AF295F1C40

Compare it to the link the new UI generates and you can see the forward slash between ‘original’ dir and filename is changed with %2F.

https://yourserver.ch/datastore_server/20251110151155726-212/original%2FbHT.jpeg?sessionID=admin-260115103334188x4C9CC7B8C9BBE7472FC889AF295F1C40

I suspect this may be a bug and not a configuration issue, why I preliminary label it as such.

Have you encountered anything similar?

Best,
Filip

I have now solved the issue with the broken link.
It was simply a configuration problem on the Apache2 Web server vhosts.conf file that was missing the directive:
AllowEncodedSlashes on

However it seems like it still can’t write dataset path to pathinfo_db when uploading new datasets, and I worry it may cause problems down the line (internal checksums tasks etc).