StephanSainleger
62a3948f5d
Merge pull request 'maj master' ( #1 ) from 0k/0k-charms:master into master
Reviewed-on: https://git.myceliandre.fr/StephanSainleger/0k-charms/pulls/1
3 years ago
Valentin Lab
7981ed7dec
new: add doc to ``sftp`` charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
0591d3cc1c
fix: [docker-host] support fixing root SSL certificate for older hosts
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
8fd483810a
fix: [docker-host] fix root cert list if necessary to remove expired "DST_Root_CA-X3" cert.
Otherwise all SSL usage (``apt-get update``, ``curl https...``)
towards servers using certificate that is endorsed by this root
certificate, will fail. This includes Let's encrypt 4 Billions
certificates.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
62f0ec3bff
chg: [rocketchat] update to version ``3.18.1``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
04ef4342f3
chg: doc: [rocketchat] instruction for test and prepare new release
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
9de24e94d0
new: [odoo-tecnativa] add ``install`` action to install module into database
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
f2dd680a3c
fix: [etherpad] keep API key
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
81cab990b8
new: [etherpad] new charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
a0d10b5b10
new: [bitwarden] upgrade to ``1.22.2``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
39ff6f9c3b
new: [peertube] update to v3.3.0
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
6633996f5f
new: [cyclos] new database with more standardized payment types and bug fixes
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
ca33d0fed9
new: [monujo] add charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
50932c408c
fix: [mariabd] bad typo would prevent dump to be made
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
28ed2440cb
fix: [mariadb] dump was broken due to ``shlib`` missing
We don't have ``shlib`` in docker image, and we don't need it
for this script. So the dependency was removed.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
c024e36cc0
chg: [gitea] update to 1.14.2
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
4496230914
chg: [onlyoffice] add backup to onlyoffice, relunctantly
This should not be necessary according to current documentation, but
we had dataloss due to modifications being stuck on onlyoffice side
and not sent back to nextcloud. With some tinkering, we were able to
get the document out of cache data, so, for now, the best is to save
this data in case.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
6d3e7ce648
new: [host] several small adjustments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
f43ff7d5f0
new: [host] add ``logrotate``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
64cf4a75c8
new: [host] add ``ntp``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
071cbeb18a
new: [rsync-backup-target] allow backup account to request a recovery key
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
b2725f4eed
new: [rsync-backup] add ``compose.yml`` to backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
77bf4c4c41
new: [rsync-backup-target] allow ``-d|--dirs`` rsync mode
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
d84472a277
new: [rsync-backup-target] add ``ssh-key get-type IDENT`` to get backup type info
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
dfb2a6a7b5
new: [rsync-backup] use key commentary to store backup type
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
2f028f54b2
chg: [mariadb] move schema dump in alphabetical front of data dumps
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
ebd2dd78e0
fix: [rsync-backup] prevent strict host checking
This security measure is inappropriate here as it will make all client
refuse to backup whenever a new docker image is rebuild.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
be42bd9076
new: [rsync-backup-target] add recover key mechanism
This allows to get a one-time credential to have read access on
specified backup slot.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
85eb2f0fa5
fix: dev: typo !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
5b5051004b
fix: [rsync-backup-target] service would not be restarted upon admin key change
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
57fd9d0abb
fix: [rsync-backup-target] disallow using same key for different ident in any admin account
As key will map authorization to a specified directory, we can't allow
having 2 keys pointing to 2 different directories. This must be enforced.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
65dbe2766a
new: [rsync-backup-target] accept restore commands
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
598ba25f64
new: [rocketchat] update to version ``3.14.0`` ( fixes #14 )
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
2a7ede1138
chg: [cyclos] updated dump with translation and nfc
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1ee8e434cb
fix: [cyclos] fails in case of nonexistent directory
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2bac396242
new: [rsync-backup-target] backup groups allow key management delegation
Each backup endpoint is now part of a backup group. Each backup group
can be managed by ad-hoc and separate account.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a0a5679117
new: [rsync-backup-target] allow dynamic management of backup keys
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9322e187b9
new: [cyclos] NFC enabled init
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
357673f98f
new: [docker-host] compatibility with debian 9
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e8c9e387eb
new: [cyclos] loading a default database for preconfiguration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0c6e2e6496
fix: dev: [host] was failing if ``$NO_DOCKER_RESTART`` was not set
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f6babaf98c
new: [host] allow long bash history conservation and saving of all commands, added fzf
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d116de79e8
fix: dev: [host] on debian 9, ``setuptools`` was not installed and required
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3fdd628f66
fix: dev: [host] we don't always have ``kal-shlib`` when executing this
We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d3f9028aee
new: dev: [host] added ``$NO_DOCKER_RESTART`` variable to disable restarting docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ed8035520
fix: dev: removed ``--force-yes`` everywhere as it is deprecated
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f2d61037b0
fix: [docker-host] don't touch an already installed version of docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1e0bbda43b
chg: [mariadb] prefer a symbolic link than a copy
This is to be consistent with ``mirror-dir`` executable installation, and
to avoid one step when updating VPS: you need only up-to-date ``0k-charms``
and no need to re-install host backup through this script to get update
of ``mysql-backup`` script.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93926fef3c
fix: [mariadb] ensure using the ``--host`` method
This comes from the mysql script. And it'll be required as we need this
script for hosts installs.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
908011fc1d
fix: [rsync-backup-target] force restart when config changed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago