Skip to content

[Bug]: Changing PUBLIC_URL does not change URLs in MongoDB #1568

Open
@DunklerPhoenix

Description

@DunklerPhoenix

Issue Description

Heho
If I change the PUBLIC_URL to a new value then my signatures and old documents point to the old address.
I think they are not updated in the database

Expected Behavior

Changing the PUBLIC_URL should reflect at all elements

Current Behavior

Documents and signatures become unavailable.

Steps to reproduce

  1. Set up OS with PUBLIC_URL=https://sign.domain.com
  2. create a signature and upload some documents
  3. change PUBLIC_URL to PUBLIC_URL=https://sign.docs.domain.com
  4. see many errors in the webinterface and old links in browserconsole error messages

Screenshots of the issue(optional)

edit signature screen:
Image

opening documents:

Image

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Linux / Docker

What browsers are you seeing the problem on?

Brave

What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]

2.6.0
opensign/opensign@sha256:f459366419a3c4d9b72c2961b49bf36ec935d894087d48309e4bae9d19e2d461
opensign/opensignserver@sha256:d8f474da54abb6f23dfe45f2c82e3ed69ce9a15affa19a00ec6a1d0bdb6fb4c4

What environment are you seeing the problem on?

Hosted (app.yourdomain.com)

Please check the boxes that apply to this issue report.

  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the existing issues & discussions to make sure that this is not a duplicate.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions