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>
4 years ago
Valentin Lab
ca33d0fed9
new: [monujo] add charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
50932c408c
fix: [mariabd] bad typo would prevent dump to be made
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 years ago
Valentin Lab
c024e36cc0
chg: [gitea] update to 1.14.2
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 years ago
Valentin Lab
6d3e7ce648
new: [host] several small adjustments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f43ff7d5f0
new: [host] add ``logrotate``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
64cf4a75c8
new: [host] add ``ntp``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 years ago
Valentin Lab
b2725f4eed
new: [rsync-backup] add ``compose.yml`` to backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
77bf4c4c41
new: [rsync-backup-target] allow ``-d|--dirs`` rsync mode
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 years ago
Valentin Lab
dfb2a6a7b5
new: [rsync-backup] use key commentary to store backup type
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 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>
4 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>
4 years ago
Valentin Lab
85eb2f0fa5
fix: dev: typo !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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>
4 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>
4 years ago
Valentin Lab
65dbe2766a
new: [rsync-backup-target] accept restore commands
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
598ba25f64
new: [rocketchat] update to version ``3.14.0`` ( fixes #14 )
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 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
Valentin Lab
435ef3da11
fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ae657c89f8
new: [mariadb] added mysql's backup install script with debian 10 compatibility
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
39b5363d7e
new: [rsync-backup] rewrite of mirror-dir
Includes ``mirror-dir-check`` with the ``mirror-dir check`` call, the
replacement of ``mirror-dir`` call is ``mirror-dir backup``. An additional
``mirror-dir report`` was added.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
674f71bba3
new: [rsync-backup-target] add rotated logs for ssh validation and each rsync session
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7c83ad0b97
new: [host] minimal host backup config
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93ec99f21f
new: [host] add cron to ``mirror-dir-check`` call
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
48678f64e9
fix: [host] ``shorewall`` installation on debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
84b271b344
fix: [host] ensure to use the full ``kill`` binary
In some circumstances a call to ``kill`` will trigger the
builtin of your shell and could not support given options.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6a221ea964
fix: [host] ``/etc/resolv.conf`` does not support comments
And search configuration is not required.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
deea56bd50
new: [host] add explicit installation of ``bind9``
This is required in debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0878a98dd2
fix: [host] ``dnsmasq`` configuration upgrade
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4f4c41caa9
fix: [host] backup scripts will require ``pick2del_backups`` to be available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d7488054f4
fix: [host] corrected typo in inserted comment of ``/etc/compose/local.conf`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1da56fd41e
new: [host] check if curl is already installed
This was needed in debian 10.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a58f06ebc9
new: [host] debian 10 lxc configuration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
33c92f3be6
new: [host] new dependencies for ``btrfs-tools``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ce72c00f50
fix: [cron] use our cache server
``docker.io`` is not responding and this might happen again anyway
and our policy is to not depend from other servers.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4e67b4ba62
fix: [onlyoffice] would not save back changes to nextcloud
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3286d68201
chg: [postgres] change ``backup`` relation from ``optional`` to is ``recommended``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3ecad191e9
fix: [rsync-backup-target] ensure that non data output of ``compose-add-rsync-key`` is cast on stderr
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ff87489be8
chg: [rsync-backup-target] use color when outputing diff when available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9123ffe8f4
new: [rsync-backup-target] correct misleading output
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2940a4bff0
chg: [rsync-backup] launch backup 4 times a day
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5236bbe338
new: [rsync-backup] new state files and check capability for ``mirror-dir``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
254e91b06d
new: [drone] add ``backup`` relation
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ab6a48a31
chg: [rsync-backup] better logs and code
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
cca9f30830
new: [rsync-backup] add retry 3 times mecanism in ``mirror-dir``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
995af651a4
fix: [gogocarto] allow to follow redirection when downloading release
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c1dab0fc13
fix: [rsync-backup] make install script executable !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
45ef1cc066
new: [rsync-backup-target] add flag ``--no-reload,-R`` to ``compose-add-rsync-key`` to avoid reloading compose.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
945b5b8620
chg: [mariadb] backup relation is now ``recommended`` instead of ``optional`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4206880520
new: [searx] add charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7da4fbcef4
chg: [rocketchat] update to 3.12.0
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
90a74e0792
chg: doc: [rocketchat] update doc to use =docker-tags-fetch=
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9eaf9b048d
fix: [cron] force restart when schedule command are changed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9bbdd7c9a2
new: [gogocarto,cron] adding scheduled maintenance
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a43ab6d49c
fix: [cron] ``dc`` command would fail in user environment
On user launched ``compose`` (using ``~/.compose/sessions`` as
session dir, the ``dc`` command would fail getting it's environment
file correctly, and subsequently would fail running.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
default
fba9cbb56f
fix: [hedgedoc] fix upload of image and updatge to ``1.7.2``
Signed-off-by: default <default@vps802479>
4 years ago
Valentin Lab
de449d1921
chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1ecdb740ed
chg: [logrotate] be more verbose
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
70405dbf47
new: [docker-host] include dependencies of new `docker-tags-fetch` command
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
b49e7a86b7
new: [nextcloud] allow to override image locally
By removing the build phase and pushing the patched docker
image in =docker.0k.io= registry, we allow to override
image in =compose.yml=.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c7e7d38dbf
chg: [hedgedoc] update base image to ``1.7.0``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
74d19e4a9b
chg: doc: [gogocarto] minor documentation refactor. !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f810c2effd
new: [gogocarto] update to version 3.1.3-56-g6b8ba361 ( fixes #2 , fixes #3 )
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2150d9e010
new: [rocketchat] upgrade to ``3.9.1``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f54e1a2c8e
new: [onlyoffice] upgraded to v6.1.0
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
671ac64441
chg: [onlyoffice] rebuild config when new image is used
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
aca5e6e10d
new: [mariadb] upgrade to ``10.3.25``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
bba4420c0b
new: [cyclos] update to ``4.14``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
557cce697d
new: [codimd,hedgedoc] rename charm ``codimd`` to ``hedgedoc``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a9be1aea30
new: doc: [rocketchat] added some update docs.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e00002debb
chg: [rocketchat] update to ``3.8.0``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6146924eba
fix: [docker-host] debian 10 compatibility, removing support for registry v1
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago