10
submitted 8 months ago by [email protected] to c/[email protected]

Today, I tried (again) to install lemmy on my linux server. I tried in the past but the documentation was so lacking that I only encountered errors after errors just following exactly every command.

Today I tried again, using the Docker method, I correctly downloaded all the files, but as soon as I run "docker compose up" I get the error "/lemmy/docker-compose.yml: yaml: line 32: found character that cannot start any token"

That's usually a common error if the yaml file contains TABs instead of spaces, but it's not the case here.

So, again I'm lost and I'm looking for someone here that can bring me some light on the issue, it would be very appreciated.

top 5 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 8 months ago

What's on and around line 32 in the config?

I did the ansible install, other than mail setup, the instructions were easy to follow.

[-] [email protected] 0 points 8 months ago* (last edited 8 months ago)

What’s on and around line 32 in the config?

{% if lemmy_env_vars is defined and lemmy_env_vars|length > 0 %}

I did the ansible install, other than mail setup, the instructions were easy to follow.

you're not the first suggesting this. Some guides I've found online suggest to use the Ansible files "because they're less broken".

At this point I'm wondering if the documentation is bad "on purpose" to prevent too many script kiddies to install their own instance.

[-] [email protected] 1 points 8 months ago* (last edited 8 months ago)

So did you found what the problem was?

- Just a lemmyer who had lots of problems setting up its instance.

[-] [email protected] 1 points 8 months ago

Nope, the documentation suggests 3 ways for installation: from scratch, docker and ansible.

I tried both from scratch and docker and I'm stuck. Eventually I'll try the ansible way, but first I have to learn ansible...

I'm far from not disappointed.

[-] [email protected] 1 points 8 months ago

Gotta merit that instance!

I had a lot of trouble (docker install) but it was mostly because I thought I needed to install a database (no, it's in the docker files), nginx being difficult to configure(had to learn how it works) and the config stuff, like should I keep those brackets, the http part etc etc. Got a lot of help too.

But then it started and is running since.

Good luck!

this post was submitted on 02 Nov 2023
10 points (100.0% liked)

Lemmy Support

4597 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS