I have been struggling with getting a docker setup of lemmy running on amr64 server and I almost got it going.

docker compose up -d

  • Then i go to my domain.com/setup and try to make my first admin user.
  • When I click Sign Up, I get an error:

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

Server:

VPS, 2 cpu cores, 12 GB ram Ubuntu OS Caddy as reverse proxy, but I left nginx in the docker-compose file

Logs

docker-compose.yml https://pastebin.com/XHUbMKJL

docker compose logs https://pastebin.com/TzZyK1kN

Caddyfile https://pastebin.com/CjJWthSe

You are viewing a single thread.
View all comments View context
2 points

Thanks! I was going to post something on the documentation github about my hack. Iā€™m not sure why it worked but adding that worked.

Maybe it is something to do with Caddy and Nginx not working well together?

We really need an ARM build of this though.

permalink
report
parent
reply

Lemmy Support

!lemmy_support@lemmy.ml

Create post

Support / questions about Lemmy.

Matrix Space: #lemmy-space

Community stats

  • 159

    Monthly active users

  • 855

    Posts

  • 4.1K

    Comments

Community moderators