1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
Commit graph

233 commits

Author SHA1 Message Date
Éric Gaspar
22f25cbe46 Merge branch 'testing' into v2 2023-06-04 20:58:10 +02:00
Pierre de La Morinerie
1fabf44e72 scripts: increase the migration timeout again
It seems to be too short on some lesser-powered VMs.
2023-04-25 18:10:05 +02:00
Éric Gaspar
ba3b26e1f1 Update _common.sh 2023-04-03 13:31:17 +02:00
Pierre de La Morinerie
7cc3648d47 scripts: reduce pgloader's prefetched columns
This helps fixing stack overflow errors on large
databases.
2023-04-02 15:58:54 +02:00
Éric Gaspar
7e7b43391b Update install 2023-03-26 17:01:23 +02:00
Éric Gaspar
84be692436 Update upgrade 2023-03-26 17:00:36 +02:00
Pierre de La Morinerie
7a1b461222
fix migration from 7.3.0 (#413)
Co-authored-by: Kay0u <pierre@kayou.io>
2023-03-17 22:46:56 +01:00
Éric Gaspar
9fb7e61c6f Update upgrade 2023-03-16 14:47:56 +01:00
Éric Gaspar
b692986c71 Update upgrade 2023-03-16 12:45:23 +01:00
Éric Gaspar
ab0a513e69 src 2023-03-16 12:44:50 +01:00
Éric Gaspar
2a09477ac9 Merge branch '7.7.1' into v2 2023-03-16 09:02:47 +01:00
Kay0u
88ccead9c3
fix migration from 7.3.0 2023-03-15 12:32:07 +01:00
Éric Gaspar
bc2f30663f cleaning 2023-03-14 11:53:56 +01:00
Éric Gaspar
3bb4b9c4c4 Update upgrade 2023-03-07 14:33:04 +01:00
Éric Gaspar
c47854ac78
Merge branch 'testing' into v2 2023-03-07 14:16:58 +01:00
Kay0u
8596ecce7b
Drop all Focalbard tables if mattermost is in 7.3.0 2023-03-07 11:42:53 +01:00
Kay0u
b4fcf41f41
delete the psql db if the migration fails 2023-03-07 09:52:10 +01:00
Éric Gaspar
12c96791fe Update upgrade 2023-03-07 09:23:02 +01:00
Éric Gaspar
be536833f9 Update upgrade 2023-03-07 09:22:33 +01:00
Éric Gaspar
9ce4ce2869 Update upgrade 2023-03-07 09:20:58 +01:00
Éric Gaspar
1f363546e0 Update install 2023-03-07 09:20:18 +01:00
Éric Gaspar
33b68771fd cleaning 2023-03-07 09:18:55 +01:00
Éric Gaspar
de5df94c76 Update remove 2023-03-07 09:15:56 +01:00
Éric Gaspar
44d13a1168 Update restore 2023-03-07 09:15:05 +01:00
Éric Gaspar
9cb6404dad Update upgrade 2023-03-07 09:12:25 +01:00
Éric Gaspar
ea75db3838 Update _common.sh 2023-03-07 09:11:34 +01:00
Éric Gaspar
4472f6edc0 Fix 2023-03-07 09:00:35 +01:00
Éric Gaspar
83ed7cc55f Merge remote-tracking branch 'origin/testing' into v2 2023-03-07 08:48:15 +01:00
Kayou
386cdb633d
Change arm64 source (#409)
* add entreprise for arm64, use the official build for arm64

* Auto-update README

* update auto-updater script

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2023-03-07 08:46:42 +01:00
Éric Gaspar
697464b309 Merge remote-tracking branch 'origin/testing' into v2 2023-03-06 22:34:54 +01:00
Éric Gaspar
ec8fa5570a
Transition to PostgreSQL (#377)
* backup script for PostgreSQL (#376)

Inspired from https://github.com/YunoHost-Apps/moodle_ynh/blob/master/scripts/backup

* Adapt to PostgreSQL (#375)

Question: in https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server, I see `BindsTo=postgresql.service` while in the original file here I find `Requires=mysql.service`. I don't know which one makes sense, so I keep the orinigal Yunohost version (Requires)

* config.json for PostgreSQL (#374)

Inspired from the original MySQL config.json and from Mattermost documentation https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server

* Install with PostgreSQL (#373)

I took inspiration from https://github.com/YunoHost-Apps/commento_ynh/blob/master/scripts/install

* install postgresql

* Reordering

* reset config file

* Update _common.sh

* Update config.json

* Fix

* Migration (#382)

* add migration

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Fix

* Fix

* Fix

* Update install

* Update upgrade

* Fix

* Update install

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update upgrade

* Update install

* Fix

* Fix

* Fix

* Update upgrade

* Cleaning up

* Update upgrade

* Update _common.sh

* Update check_process

* Update _common.sh

* Fix

* Update mysql-to-pg.conf

* Update upgrade

* Update systemd.service

* Cleaning

* Update _common.sh

* Fix

* Update upgrade

* Update _common.sh

* Update upgrade

* Update backup

* Fix

* Fix

* Update upgrade

* Update upgrade

* Update systemd.service

* Update _common.sh

* Revert "Update _common.sh"

This reverts commit d880150af9.

* Cleaning

* Fix

* Update check_process

* Fix

* Update _common.sh

* Fix

* Update _common.sh

* Fix

* Update manifest.json

* Update install

* Update _common.sh

* Update upgrade

* Fix

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Update _common.sh

* Auto-update README

* Update _common.sh

* Upgrade to v7.4.0

* Auto-update README

* Upgrade to v7.5.2

* Auto-update README

* Update config.json

* [fix] mariadb to postgres migration

* Auto-update README

* [fix] Update manifest requirements

* Update manifest.json

* Update config.json

* upgrade config to upstream

* Fix linter

* Update _common.sh

* Fix typo

* Auto-update README

* Update upgrade

* Update scripts/upgrade

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* [enh] Indentation

* Apply suggestions from code review

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* [enh] COmments

* Increase timeout for table creation

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

* test upgrade from 7.2.0

* Auto-update README

* fix db_name in case of multi_instance

* Fix 7.3.0 migration

* delete only the problematic value in db_migrations

* Added explanation for migration management from 7.3.0

* mariadb-to-pg: drop stray columns

These should have been removed in a previous migration, but weren't.

See https://github.com/mattermost/mattermost-server/issues/18351#issuecomment-1325648058

* mariadb-to-pg: increase mattermost timeout

On a small VPS the 2 mn timeout is almost reached.
Increase it to 3 mn.

---------

Co-authored-by: biva <biva@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: ljf <ljf+git@grimaud.me>
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: Kay0u <pierre@kayou.io>
2023-03-06 22:26:35 +01:00
Éric Gaspar
5485a5afd1 add more apt 2023-03-06 17:56:10 +01:00
Éric Gaspar
59ce583da9 Update backup 2023-03-06 17:55:23 +01:00
Éric Gaspar
43b2b1f6d5 fix 2023-03-05 09:10:21 +01:00
Éric Gaspar
1c6333a9d9 fix data path var 2023-03-03 19:00:59 +01:00
Éric Gaspar
8423a8f972 cleaning 2023-03-03 16:25:57 +01:00
Éric Gaspar
9418a49ce8 add apt 2023-03-03 16:24:10 +01:00
Éric Gaspar
cb5c1f2529 Cleaning 2023-02-10 22:41:12 +01:00
Éric Gaspar
24a1bf5602 Fix 2023-02-10 17:52:12 +01:00
Éric Gaspar
954b5f3ded Update upgrade 2023-02-10 17:50:57 +01:00
Éric Gaspar
a429cdcb28 Fix 2023-02-07 22:45:19 +01:00
Éric Gaspar
965d45f287 v2 2023-02-07 22:27:23 +01:00
Éric Gaspar
0c1e3aad2f Update _common.sh 2023-02-07 22:26:27 +01:00
Éric Gaspar
c152197b62 Fix linter 2023-02-07 22:24:14 +01:00
ljf
c98cd8230a
[fix] mariadb to postgres migration 2023-02-06 23:05:30 +01:00
ericgaspar
cdaaacdea2 Update _common.sh 2022-09-30 13:16:16 +02:00
ericgaspar
cf9f8f378a Update _common.sh 2022-09-30 12:12:11 +02:00
ericgaspar
085c8fecad Update _common.sh 2022-09-30 12:07:09 +02:00
ericgaspar
7d706cdeed Update _common.sh 2022-09-30 11:58:26 +02:00
ericgaspar
70c56813b4 Update _common.sh 2022-09-30 11:41:47 +02:00