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.

  • netburnr@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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.

    • pascal@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      1 year 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.