Open james-wenz opened 10 months ago
I'm getting the same error during the same part of the setup, did you ever figure out a solution?
Sadly, I did not. There were some people working on it on the Discord, but I went out of the country for a vacation and haven't picked it up since. Good luck!
------- Original Message ------- On Monday, September 4th, 2023 at 3:20 AM, Kyle Mohr @.***> wrote:
I'm getting the same error during the same part of the setup, did you ever figure out a solution?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I'm running into same issue. Any luck? I found this page indicating a possible Ansible version issue.
What discord channel are you monitoring? Thanks
Hi There,
I haven’t done really anything else to try to fix the issue, and am not currently monitoring any Discord channels. Sorry I can’t be of help, and good luck!
James
On Sun, Oct 8, 2023 at 5:59 PM, boomboom21 @.***(mailto:On Sun, Oct 8, 2023 at 5:59 PM, boomboom21 < wrote:
I'm running into same issue. Any luck? I found this page indicating a possible Ansible version issue.
What discord channel are you monitoring? Thanks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
using this to run the playbook worked for me instead of what the Beeper self-hosting page indicates worked for me. I'm running the container on the Matrix server itself.
docker run -it --rm \
--privileged \
--pid=host \
-w /work \
-v pwd
:/work \
--entrypoint=/bin/sh \
docker.io/devture/ansible:2.13.6-r0-3
Hello, and thank you in advance for taking the time to help me with my problem. I am very much a novice in all of this, but have proceeded through most of the setup process via Beeper's self-hosting guide. I have successfully executed the steps on that guide up until step 14.iii, which is the same command listed here for installing Matrix on a new server (see below). Any thoughts? Thanks again!
Playbook Configuration My
vars.yml
file looks like this:Matrix Server:
Ansible:
Problem description
My problem occurs when attempting to install Matrix on a new server without importing new data. You'll see below the command as I enter it in the terminal shell along with the output I receive. I have tried various permutations of the tags (i.e. omitting 'ensure-all-matrix-users-created' or 'start,' etc.) but receive the same result. Based on the error message below, my best guess is that the issue has to do with permissions in writing to the Matrix server, but I am very far from being an expert on this. I have also tried modifying the inventory/hosts file by replacing
ansible_ssh_user=root
withansible_ssh_user=username become=true become_user=root
(again with the same result). Thank you for your time and help!Command /work # ansible-playbook -i inventory/hosts setup.yml --tags=install-all,ensure-matrix-users-created,start -vvv
Output ansible-playbook [core 2.13.6] config file = /work/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.10/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-playbook python version = 3.10.9 (main, Dec 12 2022, 17:52:15) [GCC 12.2.1 20220924] jinja version = 3.1.2 libyaml = True Using /work/ansible.cfg as config file host_list declined parsing /work/inventory/hosts as it did not pass its verify_file() method auto declined parsing /work/inventory/hosts as it did not pass its verify_file() method Parsed /work/inventory/hosts inventory source with ini plugin statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/validate_config.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/ssl/main.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/ssl/setup_ssl_lets_encrypt.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/ssl/purge_ssl_lets_encrypt_orphaned_configs.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/ssl/setup_ssl_self_signed.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/ssl/setup_ssl_manually_managed.yml statically imported: /work/roles/custom/matrix-nginx-proxy/tasks/setup_nginx_proxy.yml statically imported: /work/roles/galaxy/com.devture.ansible.role.playbook_state_preserver/tasks/preserve_vars.yml statically imported: /work/roles/galaxy/com.devture.ansible.role.playbook_state_preserver/tasks/preserve_commit_hash.yml redirecting (type: callback) ansible.builtin.yaml to community.general.yaml redirecting (type: callback) ansible.builtin.yaml to community.general.yaml Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback.
PLAYBOOK: setup.yml *** 1 plays in setup.yml
PLAY [Set up a Matrix server] *****
TASK [Gathering Facts] **** task path: /work/setup.yml:2