Closed praet0ri4n closed 1 year ago
Bit more investigation..
Running the
docker run --rm --name matrix-dimension --log-driver=none --user=1000:1000 --cap-drop=ALL --network=matrix -p 127.0.0.1:8184:8184 -v /matrix/dimension:/data:rw turt2live/matrix-dimension:latest
with
--interactive --tty --entrypoint /bin/sh
and running the
/docker-entrypoint.sh
manually
gave the same output
Starting matrix-dimension
Thu, 05 Jan 2023 20:02:12 GMT [INFO] [index] Starting dimension v1.0.0
Thu, 05 Jan 2023 20:02:12 GMT [INFO] [DimensionStore] Updating schema...
Thu, 05 Jan 2023 20:02:12 GMT [DEBUG] [DimensionStore [SQL]] Executing (default): CREATE TABLE IF NOT EXISTS `SequelizeMeta` (`name` VARCHAR(255) NOT NULL UNIQUE PRIMARY KEY);
Thu, 05 Jan 2023 20:02:12 GMT [DEBUG] [DimensionStore [SQL]] Executing (default): PRAGMA INDEX_LIST(`SequelizeMeta`)
Thu, 05 Jan 2023 20:02:12 GMT [DEBUG] [DimensionStore [SQL]] Executing (default): PRAGMA INDEX_INFO(`sqlite_autoindex_SequelizeMeta_1`)
Thu, 05 Jan 2023 20:02:12 GMT [DEBUG] [DimensionStore [SQL]] Executing (default): SELECT `name` FROM `SequelizeMeta` AS `SequelizeMeta` ORDER BY `SequelizeMeta`.`name` ASC;
Thu, 05 Jan 2023 20:02:12 GMT [INFO] [DimensionStore] Applied schemas: []
plus this one
Illegal instruction (core dumped)
Quick search for similar errors connected to docker link to problems with older CPUs and missing AVX or AVX2 instructions. My home server is running on
more /proc/cpuinfo | grep flags
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
I tried building custom images for matrix-dimension with older commits from 12th dec 2021, but issue is still the same. So the question stays open, if and which of the changes to the matrix-dimension started to use some newer instructions and fail on my cpu. But as the matrix-dimension is discontinued and last I have no real need for it, I turned it off for my matrix homeserver.
Describe the bug Matrix Dimension service fails to start after update today. I did
ansible-playbook -i inventory/hosts setup.yml --tags=stop
andansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start
after updating my vars.yml fileThe start results in
failed: [xxx.eu] (item=matrix-dimension) => {"ansible_loop_var": "item", "changed": false, "item": "matrix-dimension", "msg": "matrix-dimension was not detected to be running. It's possible that there's a configuration problem or another service on your server interferes with it (uses the same ports, etc.). Try running `systemctl status matrix-dimension` and `journalctl -fu matrix-dimension` on the server to investigate."}
systemctl status matrix-dimension
journalctl -fu matrix-dimension
To Reproduce My
vars.yml
file looks like this:Expected behavior
ansible-playbook -i inventory/hosts setup.yml --tags=start
should start dimension serviceMatrix Server:
Additional context Add any other context about the problem here.