B
Blueprint•10mo ago
Torrent

Ptero/wings in docker, trouble with blueprint

So I have pterodactyl and wings in docker using Cloudflare zero trust. Works great. However my docker install scripts didn't come with blueprint. So I'm trying to figure out if https://github.com/BlueprintFramework/docker will be a good option. The readme.md is a little confusing for me. Is this meant to be used with a fresh install of ptero/wings? My base directory is /srv/pterodactyl, and I have all the containers running with no errors. I'm not even sure where to begin with this one. When I try to install extensions, blueprint can't find the extensions:
root@system:~/tools/docker# docker compose exec panel ls /blueprint_extensions
darkenate.blueprint
root@system:~/tools/docker# docker compose exec panel blueprint -i darkenate
15:25:09 INFO: Searching and validating framework dependencies..
15:25:09 INFO: Installing darkenate... (1/1)
15:25:09 FATAL: darkenate.blueprint could not be found or detected.
root@system:~/tools/docker# docker compose exec panel ls /blueprint_extensions
darkenate.blueprint
root@system:~/tools/docker# docker compose exec panel blueprint -i darkenate
15:25:09 INFO: Searching and validating framework dependencies..
15:25:09 INFO: Installing darkenate... (1/1)
15:25:09 FATAL: darkenate.blueprint could not be found or detected.
Help
13 Replies
Eternal
Eternal•10mo ago
@Loki
Torrent
TorrentOP•10mo ago
I should note that this pterodactyl/wings in docker works great, so ideally this doesn't brick my install lol
No description
Torrent
TorrentOP•10mo ago
not gonna lie that just bricked my panel install now i'm getting a bad gateway error ok I figured it out because i have 2 docker containers trying to control the same database it locked it which is why i am very confused about how this whole setup works
Loki
Loki•10mo ago
This is a different image for your panel container. It requires a few extra mounts and a volume.
Torrent
TorrentOP•10mo ago
I FIXED IT Ok I am sorry for being such an idiot I didn't realize that this wasn't supposed to be used ALONGSIDE an existing docker ptero/wings setup but you just change the panel image and add the mounts and volume declaration
Eternal
Eternal•10mo ago
loki to the clutch
Torrent
TorrentOP•10mo ago
Another issue 😦 seems the database import/export addon is scuffed with this setup When I create a database I get "an unexpected error has occured" but it does show up in my admin panel when i create it, just not in my client panel which means i can't use db import/export because it requires a db to exist
Loki
Loki•10mo ago
It should reach the database container at it's service name, database. I'd need to know more about the extension if there's some other factor there that's breaking it. I assume it's a Blueprint Addon? I'd just import and export using a client on your machine, e.g. DBeaver CE I've never understood the appeal of putting a client on a server.
Torrent
TorrentOP•10mo ago
It’s this https://www.sourcexchange.net/products/database-import-export and yeah, the database host creation is successful. It’s only trying to create the database, or get them to show up, in the client panel I understand the sentiment for sure but I need to migrate a bunch of databases from another provider so I thought this would be easier
Loki
Loki•10mo ago
Migrate or merge? If you're just copying the database over, you can do
docker compose -f /srv/pterodactyl/docker-compose.yml exec -T database mariadb-dump --single-transaction --all-databases --routines --triggers -u root -p"password" > "/srv/pterodactyl/MariaDB_Backups/$(date +%m-%d-%Y).sql"
docker compose -f /srv/pterodactyl/docker-compose.yml exec -T database mariadb-dump --single-transaction --all-databases --routines --triggers -u root -p"password" > "/srv/pterodactyl/MariaDB_Backups/$(date +%m-%d-%Y).sql"
And import the .sql file, i.e.
docker compose exec database mysql -u root -p"password" < /MariaDB_Backups/dump-date_you_want_to_restore.sql
docker compose exec database mysql -u root -p"password" < /MariaDB_Backups/dump-date_you_want_to_restore.sql
Loki
Loki•10mo ago
I'll post the setup I currently use for Database Backups in case you or anyone else searching "database backup" in this Discord wants it.
Torrent
TorrentOP•9mo ago
Oh forgot to respond to this basically I was wanting to copy the databases over, but in server 1 it's not in docker, server 2 is the one in docker behind cloudflare zero trust. I'm going to give this mariadb backup system a try though; this looks really interesting

Did you find this page helpful?