Commit Graph

954 Commits

Author SHA1 Message Date
benkuly
77fd23149b added gammu hard reset for sms modem 2020-06-06 08:28:08 +02:00
benkuly
f68e47d3c4 renamed role matrix-sms-bridge to matrix-bridge-sms 2020-06-05 12:25:41 +02:00
benkuly
85c6befc04 removed unused delivery report 2020-06-03 20:02:37 +02:00
benkuly
b60a4ac643 mount as slave 2020-06-03 14:25:23 +02:00
benkuly
3a3b95abfc added dev volume to find serial by id 2020-06-03 13:13:25 +02:00
benkuly
41b1925b2a remove dev mount 2020-06-03 13:07:36 +02:00
benkuly
0967bc3cd9 added missing z flag 2020-06-03 12:03:44 +02:00
benkuly
26846a5f6c try privileged way 2020-06-02 22:04:52 +02:00
benkuly
2fd8216fbc try to fix device reconnect issues 2020-06-02 18:27:33 +02:00
benkuly
cd17928805 revert remove of frequency 2020-06-02 14:56:22 +02:00
benkuly
f383b152da removed gammu reset frequency
because the tty port will change
2020-06-02 14:49:55 +02:00
benkuly
0b7d6744bf added more docs and timeout value 2020-06-02 08:39:30 +02:00
benkuly
e4f128a1ba fixed wrong gammu path 2020-05-26 18:19:22 +02:00
benkuly
3d63ee6d13 add group dialout to container 2020-05-26 18:12:26 +02:00
benkuly
a7fd27c43c removed jinja command 2020-05-25 19:36:19 +02:00
benkuly
ecf3116c4a fixed wrong gammu config dest 2020-05-25 19:34:40 +02:00
benkuly
f8663512de fixed wrong paths 2020-05-25 19:31:03 +02:00
benkuly
805708e089 fix wrong used paath for gammu config file 2020-05-25 19:21:07 +02:00
benkuly
73b71a34c8 try to fix gammu-smsdrc is not a file 2020-05-25 19:19:30 +02:00
benkuly
1f570b3251 revert last change 2020-05-25 19:09:08 +02:00
benkuly
469554b836 try to use other mount option
to prevent docker from using dir instead of file
2020-05-25 19:04:56 +02:00
benkuly
eb8e3572fd fixed wrong behaviour of gammu 2020-05-25 15:37:46 +02:00
benkuly
f0ff8112c7 database admin username must be neo4j 2020-05-23 20:51:07 +02:00
benkuly
fe54690ea1 fixed missing registration var 2020-05-23 15:32:16 +02:00
benkuly
63705f94f1 removed templates 2020-05-23 15:30:31 +02:00
benkuly
c802009b5c fixed wrong var name 2020-05-23 15:12:56 +02:00
benkuly
be101a3114 added missing service to service list 2020-05-23 14:16:44 +02:00
benkuly
9ed80e754b added missing variable 2020-05-23 13:54:07 +02:00
benkuly
1ffa4a326c matrix-sms-bridge:
added docs, added seperate service for database, pr comments
2020-05-23 13:14:24 +02:00
benkuly
4913ca4bb2 matri-sms-bridge:
better path handling, fixed some mistakes
2020-05-22 13:59:38 +02:00
benkuly
2d75fca257 added matrix-sms-bridge 2020-05-22 13:50:59 +02:00
Slavi Pantaleev
8fb3ce6f6d Upgrade Synapse (v1.12.4 -> v1.13.0) 2020-05-19 21:35:32 +03:00
Slavi Pantaleev
a3259bbd77
Add |to_json to some variables 2020-05-19 21:15:23 +03:00
louis
a03e95b7eb enable by default v2 api prefix for ma1sd 2020-05-19 17:06:11 +02:00
Slavi Pantaleev
7a2dbdc2d7 Update components 2020-05-19 15:06:35 +03:00
Slavi Pantaleev
ba23779b05 Fix incorrect Jitsi container image tags
Related to #508 (Github Pull Request).
2020-05-17 21:23:18 +03:00
teutat3s
47001258b5
Ensure prosody plugin path created / permissions 2020-05-17 14:19:58 +02:00
teutat3s
fbd8f3ec9b
Jitsi prosody: add volume /prosody-plugins-custom 2020-05-16 15:12:51 +02:00
teutat3s
c2df3d7bbf
Update jitsi containers to 4548-1 2020-05-16 15:00:44 +02:00
Marcel Partap
93f4111654 Prevent 404s when Riot tries to retrieve domain-specific config.json
Riot unconditionally asks for a config.${document.domain}.json, c.f.
https://github.com/vector-im/riot-web/blame/develop/src/vector/getconfig.ts#L24
2020-05-13 18:34:14 +02:00
Dan Arnfield
787f12e70d Fix typo in validation 2020-05-08 13:56:31 -05:00
Slavi Pantaleev
dd527d5968 Ensure correct dimension.db file ownership
This is mostly here to guard against problems happening
due to server migration and doing `chown -R matrix:matrix /matrix`.

Normally, the file is owned by `1000:1000`, as expected.

If ownership changes, Dimension could still start, but it will fail the
first time it tries to write to the database. Explicitly chowning
before startup guards against this.

Related to #485 and #486 (Github Pull Requests).
Also related to ccc7aaf0ce.
2020-05-06 11:28:09 +03:00
Slavi Pantaleev
ae1b1be3f4 Do not use matrix:matrix for Dimension configuration
Dimension runs as the `node` user in the container (`1000:1000`).
It doesn't seem like we have a way around it. Thus, its configuration
must also be readable by that user (or group, in this case).
2020-05-06 11:20:14 +03:00
Slavi Pantaleev
c1c8b8e62c Warn about matrix_user_uid/matrix_user_gid
We don't really need to fail in such a spectactular way,
but it's probably good to do. It will only happen for people
who are defining their own user/group id, which is rare.

It seems like a good idea to tell them that this doesn't work
as they expect anymore and to ask them to remove these variables,
which otherwise give them a fake sense of hope.

Related to #486 (Github Pull Request).
2020-05-06 10:17:19 +03:00
Slavi Pantaleev
36c61b5b4e Introduce a separate group variable (matrix_user_groupname)
Related to #485 (Github Pull Request).
2020-05-06 10:02:47 +03:00
Slavi Pantaleev
ccc7aaf0ce Fix "Migrating to a new server" flow due to dynamic user/group creation 2020-05-06 09:55:40 +03:00
Slavi Pantaleev
6032affc20
Merge pull request #486 from FanchTheSystem/avoid_fixed_uid_and_gid
Remove default UID/GID
2020-05-06 09:46:49 +03:00
Slavi Pantaleev
8fea6f5130 Make sure matrix_user_uid and matrix_user_gid are always set
If one runs the playbook with `--tags=setup-all`, it would have been
fine.

But running with a specific tag (e.g. `--tags=setup-riot-web`) would
have made that initialization be skipped, and the `matrix-riot-web` role
would fail, due to missing variables.
2020-05-06 09:43:30 +03:00
Slavi Pantaleev
4359571d38 Upgrade riot-web to v1.6.0 2020-05-05 14:02:14 +03:00
Fanch
a1c5a197a9 remove default UID/GID 2020-05-04 21:43:54 +02:00