-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Describe the Bug
Hi all,
i've maybe discovered a bug. I just migrated my self hosted installation at home (http://IP-Adress, no URL) to a VPS (https://url.example.com).
Everything gets restored, but the image paths are broken because the php artisan command restores the paths from:
http://192.168.2.224/uploads/images/gallery/2025-10/**RAMDOM-STRING**-example.png
to:
https://bookstack.example.comuploads/images/gallery/2025-10/**RAMDOM-STRING**-example.png
Note the missing "/" between the url and uploads.
Things i tried:
restored again, updated url again - no effect.
How can i fix this? Maybe someone has an idea?
Thank you very much :)
Edit:
If i enter the "/", e.g. https://bookstack.example.com**/**uploads/images/gallery/2025-10/**RAMDOM-STRING**-example.png, the image loads correctly.
Edit2:
Fixed it by updating the tables in bookstack database.
Steps to Reproduce
- create Bookstack install with ip adress as base url instead of a fqdn
- migrate to a new server with fqdn
- restore data
- paths are broken
Expected Behaviour
paths migrated correctly
Screenshots or Additional Context
No response
Browser Details
Brave latest, Macos latest (26)
Exact BookStack Version
BookStack v25.12, Ubuntu 24.04.03