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

102 commits

Author SHA1 Message Date
É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
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
9cb6404dad Update upgrade 2023-03-07 09:12:25 +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
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
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
ljf
c98cd8230a
[fix] mariadb to postgres migration 2023-02-06 23:05:30 +01:00
ericgaspar
76262d3aa6 Fix 2022-09-28 22:20:41 +02:00
ericgaspar
6c22c45b2e Update upgrade 2022-09-28 19:05:08 +02:00
ericgaspar
63d5f14cb4 Fix 2022-09-27 21:00:14 +02:00
ericgaspar
d38e528d5f Fix 2022-09-27 20:49:39 +02:00
ericgaspar
e75e12e370 Fix 2022-09-27 16:53:38 +02:00
ericgaspar
9b31c26db6 Fix 2022-09-27 15:00:45 +02:00
ericgaspar
597719c5ae Cleaning 2022-09-27 14:49:41 +02:00
Éric Gaspar
c580c83f2f
Update upgrade 2022-06-29 14:58:03 +02:00
Éric Gaspar
e302678944
Update upgrade 2022-06-29 14:55:29 +02:00
Éric Gaspar
bfd0f9110d
Fix 2022-06-29 12:10:55 +02:00
Éric Gaspar
715d96c807
Update upgrade 2022-06-29 12:07:54 +02:00
Éric Gaspar
c2f558daed
Update upgrade 2022-06-29 11:58:06 +02:00
Éric Gaspar
359760f300
Update upgrade 2022-06-29 00:25:46 +02:00
Éric Gaspar
2d4ae568ff
Fix 2022-06-29 00:23:42 +02:00
Éric Gaspar
9f3e0bf88a
Update upgrade 2022-06-28 23:16:47 +02:00
Éric Gaspar
4bc993c0b3
Cleaning up 2022-06-28 23:16:08 +02:00
Éric Gaspar
8d33e09c0a
Update upgrade 2022-06-28 23:13:40 +02:00
Éric Gaspar
d4cc76f91c
Fix 2022-06-28 23:12:39 +02:00
Éric Gaspar
05b817c6b6
Fix 2022-06-28 23:08:13 +02:00
Éric Gaspar
c0be550b10
Fix 2022-06-28 23:01:32 +02:00
Éric Gaspar
4a655186b5
Update upgrade 2022-06-26 12:28:52 +02:00
Éric Gaspar
d6a095f247
Update upgrade 2022-06-26 12:27:29 +02:00
Éric Gaspar
b08bc0d1d7
Update upgrade 2022-06-26 12:20:35 +02:00
Éric Gaspar
7c57b478dc
Update upgrade 2022-06-26 12:20:08 +02:00
Éric Gaspar
069bc0c34d
Update upgrade 2022-06-26 12:16:00 +02:00
Éric Gaspar
d5e10029b4
Update upgrade 2022-06-26 12:08:18 +02:00
Éric Gaspar
3707e0706b
Update upgrade 2022-06-26 12:03:36 +02:00
Éric Gaspar
d90fbdef15
Update upgrade 2022-06-26 11:39:02 +02:00
Éric Gaspar
5070cde211
Update upgrade 2022-06-26 11:32:05 +02:00
Éric Gaspar
efd0f93ff4
Update upgrade 2022-06-26 11:31:01 +02:00