r/BookStack 2d ago

Saving my Bookstack data

tl;dr: I need some help restoring access to a bookstack's webgui or to learn how to take the information from the shell and move it to an instance of bookstack that I do have access to.

Good Afternoon. I have been working on rebuilding my homelab from scratch because I was all over the place when I first started. I also wanted to ensure that I documented my progress and decisions so one of the first things that I did was to use the PVE helper script for Bookstack to get it up quickly. I haven't gotten incredibly far, but I do have some good notes on my homelab, but also on some ESP32 projects that I was working on. As a part of all of this, I was working on an OPNsense box and I changed the default IP address to what I'm ultimately going to keep it at.

I changed the static IP address in Proxmox to match up with it, rebooted everything and I can get into proxmox and some other LXCs and VMs, but bookstack specifically won't load. Proxmox shows that it's running and I can get into the console and navigate the file system, but the bookstack gui won't load.

Thinking that it was a problem with how the hypervisor was connecting, I decided to try to make a clean break, I backed up all of my VMs and LXCs, reinstalled proxmox clean, restored everything, and it was the same story.

I went into the container file system, found the .env, changed the APP_URL, tried to run docker compose up -d, but apparently, despite there being a .env and docker-compose.yml file, there is no docker in the LXC. I tried rebooting with the .env file changed and nothing happened. I even tried changing the OPNsense IP addresses back and I can't access it.

The last thing I tried was running the helper script again to install a second, clean instance of bookstack (which I can access), but I am not sure how to get the data from one to the other.

I do know I should have just done this in docker from the get go but I had some (probably ignorant, but in my head logical) reasons not to do so and I planned on moving to such a setup later.

Does anyone have any advice on how I can access and restore, my original data?

5 Upvotes

4 comments sorted by

7

u/root-node 2d ago

6

u/Drachen808 2d ago

I'm so sorry, I feel like an idiot. I'm not sure how I missed this page last night as I was going through the docs. I think I was focusing on different installation strategies and missed have skinned right over this.

Thank you. I'll give this a shot later and report back.

3

u/root-node 2d ago

No worries, it happens :)

1

u/Drachen808 6h ago

Just wanted to say that I was able to get the backup files done and tried to restore but hit a snag. Should be something I can navigate myself, but I got super busy over the last two days so I haven't been able to focus on it.

No point to this reply other than I wanted to close the loop and say thank you again.