from ludicolo@lemmy.ml to selfhosted@lemmy.world on 20 Dec 18:26
https://lemmy.ml/post/23813179
Ladies and gents it is the final frontier.
I am trying to conquer the matrix docker ansible playbook. So far, because of all the knowledge I have gained setting this damn thing up around 4 times now (conduit, dendrite, synapse with sqlite3, conduwuit) things are going swimmingly.
I would say that except for now when I am running the playbook I keep getting this error:
" fatal: [matrix.example.com]: FAILED! => changed=false
msg: |-
The matrix_homeserver_generic_secret_key
variable must be defined and have a non-null and non-empty value.
If you're observing this error on a new installation, you should ensure that the `matrix_homeserver_generic_secret_key` is defined. If you think you've defined it, but are still getting this error, then it's likely that you have a typo in your domain name in `inventory/hosts` or in one of the directories leading up to your `inventory/host_vars/matrix.example.com/vars.yml` file. If you're observing this error on an existing homeserver installation, you can fix it easily and in a backward-compatible way by adding `matrix_homeserver_generic_secret_key: "{{ matrix_synapse_macaroon_secret_key }}"` to your `vars.yml` file. Using another secret value for the new variable is also possible and shouldn't cause any trouble. "
The thing is I do have a secret key and from what I can also tell is the folder structure is also correct.
I mean hell i even changed it back to “matrix.example.com” just for shits and giggles and still nothing.
I have tried putting the playbook in my home directory I even tried the instructions for an existing homeserver and it still pops up.
I am losing my mind!
This is the guide I am following:
github.com/spantaleev/…/quick-start.md
My server is running ubuntu 20.04 and my machine I am running ansible on is running arch.
As always any help is massively appreciated!
#selfhosted
threaded - newest
You need to post your vars or playbook calls for us to see what you’re trying to run against this linked one.
Yea, if you can post the dir structure or something like that we could debug it. Also, everytime I ran this my pc would be bricked like a few days later.
That’s painful to look at. You can do markdown code blocks with triple-backticks `
My bad it is now fixed
I set it up multiple different times in different locations:
/home/inventory/host_vars/matrix.bishbash.com
/home/inventory/hosts
/home/matrix-docker-ansible-deploy/inventory/host_vars/
/Home/matrix-docker-ansible-deploy/inventory/hosts
/desktop/ansible playbook/matrix-docker-ansible-deploy/inventory/host_vars
/desktop/ansible playbook/matrix-docker-ansible-deploy/inventory/hosts
Stop spamming
Please explain how I am spamming when my last post in this community was 3 days ago?
I find this resource very helpful, I am trying to learn.
You keep dumping a of text into the comment section which makes it really hard to help you. You should delete those comments and edit the main post to have more details.