this post was submitted on 21 Jun 2023
4 points (100.0% liked)

Selfhosted

39937 readers
376 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Has anybody managed to get a Pixelfed instance up and running using the zknt/pixelfed Docker images recently, or are you all building from source?

I’ve been trying for a couple of days now, everything pulls and starts fine but then the app and worker just keep restarting. Logs show pgsql trying and failing to connect to a local port which isn’t open (because I’m not using Postgres for my database), and I don’t know why. I’m using mariadb for the database image, the env file specifies mysql for the database connection, I’ve deleted every mention of postgres from the env file and it’s still doing the same thing.

Before I completely wipe the box I’m using for testing and start again with a clean server install is there anything obvious that I might be missing?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

Brief update to this, I changed the mariadb and redis images in the docker-compose to use the images from zknt as well (instead of whatever is in the one on the Pixelfed github), now it still doesn't work but it's throwing mysql errors instead of pgsql ones. So that's an improvement I suppose.

Going to wipe everything and start again, but I suspect I'll end up just building it all myself at this rate.

Related question: Does anyone know if it's still possible to build the apps inside Docker? There was a commit months ago which removed the build section fron the docker-compose.yml and replaced it with an image (which apparently doesn't exist), if I re-add that is the existing Dockerfile still going to work for building? Or has that been dropped now?