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

806 commits

Author SHA1 Message Date
Éric Gaspar
cac6adb186 Update manifest.json 2023-03-17 22:47:44 +01: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
c9de7e4569 Merge branch 'master' into testing 2023-03-14 11:17:24 +01:00
Éric Gaspar
c88d6ea78f
Merge testing into master (migration to PostgreSQL, change arm64 source, Matermost v7.5.2) (#411)
* Upgrade to v7.3.0

* Auto-update README

* Update config.json

* Upgrade auto-updater (#407)

* [autopatch] Upgrade auto-updater

* Auto-update README

---------

Co-authored-by: tituspijean <titus@pijean.ovh>

* 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>

* 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>

* delete the psql db if the migration fails

* Drop all Focalbard tables if mattermost is in 7.3.0

---------

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Co-authored-by: tituspijean <titus@pijean.ovh>
Co-authored-by: biva <biva@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: Kay0u <pierre@kayou.io>
2023-03-14 11:16:39 +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
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
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
YunoHost Bot
4d3df957f6
Upgrade auto-updater (#407)
* [autopatch] Upgrade auto-updater

* Auto-update README

---------

Co-authored-by: tituspijean <titus@pijean.ovh>
2023-03-06 16:23:04 +01:00
Pierre de La Morinerie
738ba505f5
Merge pull request #397 from YunoHost-Apps/revert-396-testing
Revert "Testing (Upgrade to Mattermost 7.3)"
2022-09-29 13:43:05 +02:00
Pierre de La Morinerie
ebb7d0fd03 Revert "Testing (#396)"
This reverts commit 1677cb9fa9.
2022-09-28 09:29:37 +02:00
Éric Gaspar
1677cb9fa9
Testing (#396)
* Upgrade to v7.3.0

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-09-25 21:10:38 +02:00
Pierre de La Morinerie
b0893e8d6b
Merge pull request #393 from YunoHost-Apps/ci-auto-update-v7.3.0
Upgrade to version 7.3.0
2022-09-25 09:41:44 +02:00
Pierre de La Morinerie
e9b2656b36
Merge pull request #395 from YunoHost-Apps/config
Config
2022-09-25 09:40:25 +02:00
ericgaspar
beebce0e76 Update config.json 2022-09-24 16:07:25 +02:00
yunohost-bot
96200bc17f Auto-update README 2022-09-16 06:40:51 +00:00
yunohost-bot
863923e6ac Upgrade to v7.3.0 2022-09-16 06:40:46 +00:00
Pierre de La Morinerie
4530e34da1
Merge pull request #392 from YunoHost-Apps/testing
Testing
2022-08-31 22:45:24 +02:00
github-actions[bot]
d68469efbf
Upgrade to version 7.2.0 (#389)
* Upgrade to v7.2.0

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-08-29 18:56:30 +02:00
yunohost-bot
da313c8be1 Auto-update README 2022-08-15 12:28:05 +00:00
Pierre de La Morinerie
3a89b990bd
Merge pull request #388 from yunohost-bot/add-cpe
[autopatch] Add Common Platform Enumeration id to `manifest.json`
2022-08-15 14:28:02 +02:00
Yunohost-Bot
39653b90fa [autopatch] Add Common Platform Enumeration id to manifest.json 2022-08-08 01:35:21 +02:00
Éric Gaspar
d4bf8c80b4
Testing (#387)
* Upgrade to v7.1.2

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-07-24 13:36:44 +02:00
Pierre de La Morinerie
91436da209
Merge pull request #385 from YunoHost-Apps/ci-auto-update-v7.1.2
Upgrade to version 7.1.2
2022-07-22 23:44:25 +02:00
Pierre de La Morinerie
cc25224dad
Merge pull request #386 from YunoHost-Apps/upgrade-config-file
Update config.json
2022-07-22 23:43:22 +02:00
ericgaspar
b0114d041e Update config.json 2022-07-22 08:40:26 +02:00
yunohost-bot
da6ef3912e Auto-update README 2022-07-22 06:10:44 +00:00
yunohost-bot
4d24760764 Upgrade to v7.1.2 2022-07-22 06:10:41 +00:00
Pierre de La Morinerie
00d0216943
Merge pull request #381 from YunoHost-Apps/testing
Merge testing into master (Mattermost v7.0.1)
2022-06-26 08:09:50 +02:00
Éric Gaspar
485136c06a
Cleaning (#380)
* Cleaning var

* Cleaning var
2022-06-25 11:03:29 +02:00
Pierre de La Morinerie
9997d6cf88
Merge pull request #379 from YunoHost-Apps/ci-auto-update-v7.0.1
Upgrade to version 7.0.1
2022-06-25 10:28:12 +02:00
yunohost-bot
22fb2cc2bb Auto-update README 2022-06-25 06:09:21 +00:00
yunohost-bot
696e04c00c Upgrade to v7.0.1 2022-06-25 06:09:18 +00:00
Éric Gaspar
aa8256317c
Merge branch 'master' into testing 2022-06-22 11:00:38 +02:00
Pierre de La Morinerie
083a6b98a2
Merge testing into master (Upgrade to v7.0.0) (#372)
* Upgrade to v7.0.0

* Auto-update README

* Update config.json

* Auto-update README

* Update config.json

Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2022-06-19 09:55:55 +02:00
Pierre de La Morinerie
5af07aeb54
Merge pull request #371 from YunoHost-Apps/conf
Update config to upstream
2022-06-17 08:01:26 +02:00
Pierre de La Morinerie
e16d323175
Merge pull request #370 from YunoHost-Apps/ci-auto-update-v7.0.0
Upgrade to version 7.0.0
2022-06-17 07:57:43 +02:00
Éric Gaspar
9575adbcd6
Merge branch 'conf' of https://github.com/YunoHost-Apps/mattermost_ynh into conf 2022-06-15 10:41:59 +02:00
Éric Gaspar
c18a3ef97a
Update config.json 2022-06-15 10:41:51 +02:00
Éric Gaspar
f938fb7142
Merge branch 'ci-auto-update-v7.0.0' into conf 2022-06-15 10:40:22 +02:00
yunohost-bot
f3ef336450 Auto-update README 2022-06-15 08:39:25 +00:00
Éric Gaspar
f0065dcfbc
Update config.json 2022-06-15 10:39:19 +02:00
yunohost-bot
c477ae8969 Auto-update README 2022-06-15 06:09:53 +00:00
yunohost-bot
6616e662b3 Upgrade to v7.0.0 2022-06-15 06:09:50 +00:00
Pierre de La Morinerie
b65cc9845b
Merge pull request #366 from YunoHost-Apps/testing
Testing
2022-05-20 08:31:30 +02:00
Éric Gaspar
5d2dc7add6
adding quotation marks to password variable (#364)
* --keep plugins and config

* Update install

* Update upgrade
2022-05-18 22:59:02 +02:00
Pierre de La Morinerie
3c1c33d355
Merge pull request #363 from YunoHost-Apps/ci-auto-update-v6.7.0
Upgrade to version 6.7.0
2022-05-18 22:53:48 +02:00
Pierre de La Morinerie
710d7af11b
Merge pull request #365 from YunoHost-Apps/Set-config
Update config.json
2022-05-17 22:35:52 +02:00
ericgaspar
938655f894
Update config.json 2022-05-17 11:04:24 +02:00
yunohost-bot
1742bf7cba Auto-update README 2022-05-17 06:11:29 +00:00