Referencing #914
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
- New Domain
- 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
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/ ).
Is it possible that before you switched to HTTPS at some point? If so, you might have to re-run the command to also change the old http based URLs in the system.
Otherwise, please provide exact examples of URLs (ideally by inspecting the URLs, instead of taking the URL from the browser URL bar after clicking) and the exact command(s) you've ran.