É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
Éric Gaspar
ea75db3838
Update _common.sh
2023-03-07 09:11:34 +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
24a1bf5602
Fix
2023-02-10 17:52:12 +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
ericgaspar
db76c4755c
Update _common.sh
2022-09-30 11:10:39 +02:00
ericgaspar
34c2dca50a
Update _common.sh
2022-09-30 11:07:47 +02:00
ericgaspar
5a0a1683f1
Update _common.sh
2022-09-30 08:58:39 +02:00
ericgaspar
3545e78629
Update _common.sh
2022-09-29 11:05:50 +02:00
ericgaspar
76262d3aa6
Fix
2022-09-28 22:20:41 +02:00
ericgaspar
27b0d05679
Update _common.sh
2022-09-27 22:45:00 +02:00
ericgaspar
63d5f14cb4
Fix
2022-09-27 21:00:14 +02:00
ericgaspar
0cabf78579
Update _common.sh
2022-09-27 20:58:53 +02:00
ericgaspar
d70b9af3bb
Update _common.sh
2022-09-27 16:55:54 +02:00
ericgaspar
e75e12e370
Fix
2022-09-27 16:53:38 +02:00
ericgaspar
9b31c26db6
Fix
2022-09-27 15:00:45 +02:00
Éric Gaspar
d5a6ac801a
Revert "Update _common.sh"
...
This reverts commit d880150af9
.
2022-08-06 23:01:47 +02:00
Éric Gaspar
d880150af9
Update _common.sh
2022-08-06 22:59:54 +02:00
Éric Gaspar
f9f062acea
Fix
2022-06-29 12:23:12 +02:00
Éric Gaspar
d64d2c4520
Update _common.sh
2022-06-29 12:04:05 +02:00
Éric Gaspar
a07b5b6646
Fix
2022-06-29 11:57:39 +02:00
Éric Gaspar
4e569aeece
Update _common.sh
2022-06-29 10:29:17 +02:00
Éric Gaspar
c65dbfa3e8
Cleaning
2022-06-29 00:30:55 +02:00
Éric Gaspar
2d4ae568ff
Fix
2022-06-29 00:23:42 +02:00
Éric Gaspar
4d15d6887e
Update _common.sh
2022-06-29 00:11:23 +02:00
Éric Gaspar
c65f4059ef
Update _common.sh
2022-06-28 23:18:11 +02:00
Éric Gaspar
4bc993c0b3
Cleaning up
2022-06-28 23:16:08 +02:00
Éric Gaspar
d4cc76f91c
Fix
2022-06-28 23:12:39 +02:00
Éric Gaspar
2016024931
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
2022-06-26 10:19:57 +02:00
Éric Gaspar
48516f8dcb
Update _common.sh
2022-06-22 11:20:11 +02:00
Éric Gaspar
37afd78cac
install postgresql
2022-06-22 10:58:12 +02:00
Éric Gaspar
678a1d80cb
Remove ynh_detect_arch helper ( #317 )
...
ynh_detect_arch is deprecated in favor of YNH_ARCH
* Add #315 and #316
2021-12-06 12:37:56 +01:00
ericgaspar
70e4e44c16
Fix linter warnings
2021-06-23 09:50:55 +02:00
Éric Gaspar
c425aa5d94
Arm arch. support ( #201 )
...
* Add ARM sources
* Switch to TEAM edition
2021-01-12 10:33:02 +01:00
Éric Gaspar
705b3da0e7
repackage ( #200 )
...
* repackage
2021-01-11 23:46:48 +01:00
Pierre de La Morinerie
331fcce8c5
conf: use a Type=notify systemd service
...
Starting from Mattermost 4.8, the server process sends a systemd
notification when it is ready to accept network connections. Thus we
don't need to explicitely wait for the port to be open in the service.
As a bonus, by removing the hack, we don't need to replace `__PORT__` in
the service anymore–which means the associated script helper can be
removed too.
2018-03-16 18:37:17 +05:30
Pierre de La Morinerie
0918978e92
scripts: handle port in use
2018-01-31 11:42:52 +05:30