Following instructions from https://join-lemmy.org/docs/en/administration/install_ansible.html and running the command

ansible-playbook lemmy.yml --become

Gives the below error message for iptables

TASK [start docker-compose] ******************************************************************************************************************************************************************************
fatal: [root@<ip>]: FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "", "msg": "Error starting project 500 Server Error: Internal Server Error (\"Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-9df07e7bb41e -j DOCKER: iptables v1.8.7 (nf_tables): Chain 'DOCKER' does not exist\nTry `iptables -h' or 'iptables --help' for more information.\n (exit status 2)\")"}

My iptables were completely empty on the vps when I ran this command. Any suggestions?

  • @purplerabbitOP
    link
    13 years ago

    Any ideas on how to troubleshoot this?

    • @purplerabbitOP
      link
      13 years ago

      Running

      docker-compose logs -f lemmy
      

      gives the following logs

      lemmy_1     | thread 'main' panicked at 'Error connecting to postgres://lemmy:<password>@localhost:5432/lemmy', src/main.rs:45:25
      lemmy_1     | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace