Referencing #914 #4517

Closed
opened 2026-02-05 09:03:14 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @canlann on GitHub (Mar 21, 2024).

Describe the Bug

The Issue would have to be reopened.
I did followed the Documentation and changed the URL to my new domain. It did only function half way.
Some reference links were being updated, some were not. The linux log shows successfull changes of approx. more than a thousand entries. No errors in the logs connected with the php artisan command of changing url, clearing server cache and reindexing sql database.

Result:
Moved to new domain, changed url references in sql database with php artisan. In the end the webpage updated a few routes
on the primary page ( http://url.domain/ and https://url.domain/ ), but did not update the links on pages beyond the root domain route ( e.g. http://url.domain/login has still reference links that route me to http://oldurl.domain/ ).

I am unsure where the solution could be, but I am suggesting that either the php artisan script has to updated to the mysql version or sql database has been updated succefully but there are source code errors in html files and so forth.

Unfortunately this way made me lose my curated bookstack server.

Hint for people with exactly the same problem:
Try to reobtain your oldurl and go to an older server image, sqldump, etc. pp.

Steps to Reproduce

  1. New Domain
  2. php artisan change domain with bookstack documentation

Expected Behaviour

Updated routes

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

unknown - v23 and above, installed in ~ 2022

Originally created by @canlann on GitHub (Mar 21, 2024). ### Describe the Bug The Issue would have to be reopened. I did followed the Documentation and changed the URL to my new domain. It did only function half way. Some reference links were being updated, some were not. The linux log shows successfull changes of approx. more than a thousand entries. No errors in the logs connected with the php artisan command of changing url, clearing server cache and reindexing sql database. Result: Moved to new domain, changed url references in sql database with php artisan. In the end the webpage updated a few routes on the primary page ( http://url.domain/ and https://url.domain/ ), but did not update the links on pages beyond the root domain route ( e.g. http://url.domain/login has still reference links that route me to http://oldurl.domain/ ). I am unsure where the solution could be, but I am suggesting that either the php artisan script has to updated to the mysql version or sql database has been updated succefully but there are source code errors in html files and so forth. Unfortunately this way made me lose my curated bookstack server. Hint for people with exactly the same problem: Try to reobtain your oldurl and go to an older server image, sqldump, etc. pp. ### Steps to Reproduce 1. New Domain 2. php artisan change domain with bookstack documentation ### Expected Behaviour Updated routes ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version unknown - v23 and above, installed in ~ 2022
OVERLORD added the 🐛 Bug label 2026-02-05 09:03:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4517