Self Hosted Client Setup

I have a server running

curl http://192.168.0.251:8888
{“homage”:“"Through the fathomless deeps of space swims the star turtle Great A’Tuin, bearing on its back the four giant elephants who carry on their shoulders the mass of the Discworld." – Sir Terry Pratchett”,“version”:“18.3.0”,“total_history”:-1}

I have the env var set to the server address.

env | grep ATUIN
ATUIN_SYNC_ADDRESS=http://192.168.0.251:8888

I can’t get the client to register with the server in question.

I’m more than happy to provide any more information I just don’t know what this needed at this point.

You have to set open_registration to true.

https://docs.atuin.sh/self-hosting/server-setup/#configuration

1 Like

I set it with an env var

vars:
atuin_open_registration: “true”

  • name: Deploy Atuin container in LXC
    community.docker.docker_container:
    name: “atuin”
    image: “{{ atuin_image }}”
    state: started
    restart_policy: always
    command: “server start”
    networks:
    - name: “atuin”
    volumes:
    - “{{ atuin_config_path }}:/config”
    ports:
    - “{{ atuin_port }}:8888”
    env:
    ATUIN_HOST: “{{ atuin_host }}”
    ATUIN_OPEN_REGISTRATION: “{{ atuin_open_registration }}”
    ATUIN_DB_URI: “{{ atuin_db_uri }}”
    RUST_LOG: “{{ atuin_log_level }}”
    delegate_to: “{{ lxc_ip }}”
    become: yes

Then it should be fine.

What is the actual error message? What does the server log say?