▲ 6 r/BookStack+1 crossposts

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?

reddit.com
u/Drachen808 — 1 month ago

On our way!

Ok, we are officially leaving from San Antonio now. We're driving overnight and will hopefully get out of Texas before morning so we avoid all of the traffic in Austin and Dallas. Anyway see y'all in a few days!

reddit.com
u/Drachen808 — 2 months ago
▲ 5 r/esp32

Looking for help with a Servo Project

Tldr: My servos aren't performing as expected and it might be related to voltage. I have little experience with this type of project, but have read a bunch and watched videos over the last 6 to 8 months.

I'll start with this. I hate to take up y'all's time with this. I don't often ask for help on forums like this because I feel like it's my ignorance that has me missing a really easy solution so I should just learn more rather than bother anyone else, but my back is against the wall a bit.

First:

* I suck at soldering - but feel like I made a minor breakthrough with this recently

* I've never programmed an ESP32 (or Arduino)

* I've never really designed anything for 3d printing - I've barely modified the STLs of others

* No electrical experience

My wife and I are leaving tomorrow for a music festival and, though I had never done anything other than create a bluetooth repeater through ESPHome, I told my wife that I could probably make moving antenna for an Andorian Costume for her. I had months to figure it out! - No problem, right?

Unfortunately, I underestimated my density and I kept scaling down scope (I wanted to figure out how to make them pinch up and down, and rotate) until I simply settled on getting them to wave back and forth. I was able to achieve this on a breadboard and decided I needed to start figuring out how I was going to mount everything and that I could come back to programming in better movements if I had the time. We decided on her wearing a necklace/pendant which would house the ESP32 and battery, then the wires would travel up the necklace string to the back of her head where they would go under her wig and connect to the servo motors mounted on a headband.

I started to build a wiring harness and finally completed it last night. I plugged everything in and one servo started waving, albeit slowly and a bit jerky, the other waived a bit then quickly snapped back into place. I thought it might have been leftover code when I was trying to come up with multiple movement loops so I looked at my VS code, made sure it was the right code, and reflashed the ESP32 with it. Same problem, but one of the servos stopped moving altogether and the other one kept moving a bit and snapping back. I made sure my 9v was charged, it was, but I kept getting the same result. I even flashed a new esp32 and then nothing was really happening.

I tested the voltage, I was getting 9v at the battery, 3.38v on the LM2596 (on the side going to the ESP32), but the male dupont connectors that plug into the servos are only showing 0.9v - so I guess this might be the problem, but I have no idea why this is happening or how to fix it.

I've drawn the most rudimentary diagram to hopefully show what I am doing - This is all being done with 22 gauge speaker wire, except the dupont connectors (which I think are also 22 gauge). The purple circles are where there are solder connections.

Does anyone have any ideas? or am I stuck with her just having antenna on a headband?

u/Drachen808 — 2 months ago

Help with a decision (NAS)

Btw, though the title uses the word help, I tagged it with discussion because I assume that's probably a bit more accurate.

I wrote this as a response to someone who was trying to figure out how to power and get the SATA ports for a NAS if going the route of using a TinyMiniMicro system. I told him about the m.2 to 6-port sata device (or 2-port for e-key) and somehow I ended up with the post below. It's been something I've been meaning to post here, but when I finished, I realized it looked like I was trauma-dumping in his thread and it was only barely related to his subject (I connected it with "I'm making a similar decision..." Anyway, I cut most of that post out (and simply answered his question) but thought that since I had written it, I should cut/paste into my own post and see what y'all think. Without further ado:

I had a 2-drive Terramaster last year and filled up my drives so I bought two 18 TB drives and decided that I was going to build myself a NAS. I went crazy during the black Friday. I was originally going to use a jonsbo n4 with an n150 motherboard, decided that I might want to try some AI stuff and thought I should build a NAS that has more power and upgradability so I sent back the n150 motherboard and n4 and bought a Core Ultra 245k and a MSI B850M-WI-FI. I built it out then decided that's too much power for my NAS so I virtualized truenas on proxmox. Then I decided that I wanted my NAS to just be a NAS and that I wanted to build a router with OPNsense since my Asus mesh system didn't support vlans - so I bought two n150 motherboards. I built my router, it's doing fine, but I haven't touched my NAS yet (I've got other projects that I keep giving myself so my time sucks). My dad just gave me my niece's old computer because she didn't use it anymore (an optiplex 3040 with an i5-6500 and 32gb DDR3) so now I'm thinking about using that for my truenas box but it reminded me that early last year, I thought about repurposing an old elitedesk g2 mini with a 6500t and 32gb of ddr4 into a NAS.

So now I've got a choice:

*Optiplex 3040

*Elitedesk G2 Mini

*N150 motherboard that is not only still new in box but still has the shipping cover on it - though this only has one Sodimm slot so it will only have 16GB of ddr5

*Keep the big system

I'm still very much a novice, but that's due to time constraints more than ability. Plus the "other projects that I've given myself" include learning enough esp32 for my first project (making automatically moving Andorian Antenna for a costume for my wife for a music festival next month) and since I had "heard a bit about something called meshtastic" (I know it's a known thing around here) I volunteered to put together something to help my group of 6 keep track of each other if cell networks are congested at the festival.

Nothing is within any return windows which is good because I am probably going to ultimately shelve this decision until I've finished the antenna and understanding meshtastic better (or maybe meshcore) to make sure that I can explain it to my group.

The funny thing is that my outward efforts have motivated my youngest son (12) to want to build his first computer and he's decided to put Linux on it so ... Bonus!

That said, what do y'all think?

reddit.com
u/Drachen808 — 3 months ago