I'm not sure where I found it, but you need to run:
php artisan bookstack:update-url old_url new_url
It needs to be run within the bookstack dir. Ideally it probably should be run as the ww-data user. So like this:
su www-data -s /bin/bash -c "php artisan bookstack:update-url old_url new_url"
Buildcode I've produced includes a convenience 'turnkey-artisan' script. Using that the command would be:
turnkey-artisan bookstack:update-url old_url new_url
After you've run that, clear the caches:
turnkey-artisan cache:clear
Having said that, if you use the buildcode, then that will set the domain for you (and update it everywhere). The only catch is, is if you manually change it in the .env file, then it won't work properly.
More information about text formats
FYI it's done via an 'artisan' command
I'm not sure where I found it, but you need to run:
It needs to be run within the bookstack dir. Ideally it probably should be run as the ww-data user. So like this:
Buildcode I've produced includes a convenience 'turnkey-artisan' script. Using that the command would be:
After you've run that, clear the caches:
Having said that, if you use the buildcode, then that will set the domain for you (and update it everywhere). The only catch is, is if you manually change it in the .env file, then it won't work properly.