BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.21k stars 1.9k forks source link

[Support request] Migrate Ubuntu 20.04 install instance to new docker instance + new url #5109

Open HerbertSchulz4711 opened 3 months ago

HerbertSchulz4711 commented 3 months ago

Attempted Debugging

Searched GitHub Issues

Describe the Scenario

I have a Bookstack instance which has been installed via the Ubuntu 20.04 install script and now I would like to move the whole installation / instance to docker. Current Bookstak version running is [BookStack v22.11.1]

I've already made a backup of all files and the database according to a support document on bookstackapp.com but now I can't figure out how to migrate it to docker.

Additionally I need to update the url for all files and bookstack itself.

How would I be able to achieve migration and setting up the new url?

Thanks in advance.

Exact BookStack Version

BookStack v22.11.1

Log Content

No response

Hosting Environment

Current: Ubuntu 20.04 | PHP 7.4.3 New version (should be): Docker (via Synology)

ssddanbrown commented 3 months ago

Hi @HerbertSchulz4711, I have a video showing the steps of restoring files and a database backup here from about 17:30:

https://youtu.be/6A8hLuQTkKQ?t=1050

It's for a docker-compose setup, but hopefully you can adapt the guidance to suit your environment, the high-level steps and advice should be relevant.

You'll want to change the URL used in the content. This can be done using the "Update System URL" command detailed here: https://www.bookstackapp.com/docs/admin/commands/#update-system-url Earlier in my video linked above I show running commands.

HerbertSchulz4711 commented 3 months ago

@ssddanbrown Thank you. I'll have a look at it. :)