this post was submitted on 26 Feb 2025
19 points (88.0% liked)

Selfhosted

60024 readers
766 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.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

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

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi y'all.

I've been trying to install #Friendica using the info provided by Marius on his website. At the moment I'm running my Friendica instance on Yunohost, but I'd like to move it to a different machine.

So far, I have tried the script on a DS920+, a Pi 4 and a Dell running Docker in a Proxmox Debian VM. On all three machines, the installation finishes just fine, but I get the very same error messages from the database container:

`2025-02-26 20:58:38 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.19.0.4' (This connection closed normally without authentication)

2025-02-26 20:59:07 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '172.19.0.5' (This connection closed normally without authentication)`

This keeps the Cron container from starting and Friendica itself from writing anything to the database.

What am I missing? I already contacted Marius about this, but he replied stating that my NAS was missing AVX support. Well, this may be true for the DS920+, but shouldn't the script work on a standard Intel machine?

I'm not sure whether this is a #Portainer or a #MariaDB issue.

Anyone got any ideas?

Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world 1 points 1 year ago (1 children)

Looks like you didn't configure credentials for the DB user.

[–] zeitverschreib@discuss.tchncs.de 1 points 1 year ago (1 children)

The credentials are already being set in the stack:

MYSQL_ROOT_PASSWORD: rootpass MYSQL_DATABASE: friendica MYSQL_USER: friendicauser MYSQL_PASSWORD: friendicapass

At first, I changed them to make the setup more secure, but got the same error. Just to make sure that there weren't any typos or pasted blanks, I went with the original values.

Just telling you what the error is saying.