Pierre de La Morinerie
3c9e53fe57
scripts: rename smtp_user
to mattermost_user
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
256cafcb07
scripts: support multi-instance install
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
0918978e92
scripts: handle port in use
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
aa7721322d
scripts: modernize the publix/private switch
...
This allow package_check to properly test it.
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
3a6b0c752b
scripts: fix restoration of smtp user password
2018-01-30 12:14:57 +05:30
Pierre de La Morinerie
cbf70d12c5
scripts: modernize backup script
2018-01-29 11:37:06 +05:30
Pierre de La Morinerie
ac0637da3f
scripts: backup Mattermost data files
...
Fix #79
2018-01-29 11:37:03 +05:30
Pierre de La Morinerie
d2566887a8
upgrade: use app.src
2017-10-23 12:22:40 +05:30
frju365
bede450e88
install: use app.src
2017-10-23 12:22:33 +05:30
Pierre de La Morinerie
b4f05f6449
scripts: move logs to a subdirectory of /var/log
...
This allows to give permission to the `mattermost` user to
write new files in this subdirectory, which is needed for
log rotation.
Fix #61
2017-10-17 10:36:25 +05:30
Pierre de La Morinerie
d79c4fcfe4
scripts: advertise service in admin panel
2017-10-16 09:14:20 +05:30
Pierre de La Morinerie
e8c51d4715
scripts: use systemd rather than supervisor
...
Systemd is now the standard way of doing services in
Yunohost. It also avoids to install an extra dependency.
Fix #43
2017-10-16 09:05:21 +05:30
Pierre de La Morinerie
bcb5f88e95
install: configure SiteURL
...
This is a mandatory variable since Mattermost 3.8.
See https://docs.mattermost.com/administration/config-settings.html#site-url
Fix #50
2017-10-12 12:53:55 +05:30
Pierre de La Morinerie
6e15ed6634
restore: replace deprecated yunohost app checkurl
2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
f6bef01487
restore: improve comments
2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
faa51975af
upgrade: backup before upgrading, and restore backup on failure
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
ee7b6a1522
upgrade: improve comments
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f781efb160
scripts: use ynh_add_nginx_config
helper
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
a0a9fe6ab7
remove: use ynh_system_user_delete helper
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f2013abebc
remove: use ynh_mysql_remove_db
helper
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
1a40ff1eed
remove: use more variables instead of hardcoded values
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c2e27b9764
remove: improve comments
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f1b741980f
install: remove the custom error handler
...
Yunohost will automatically execute the `remove` script anyway
after a failed install.
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
e37638f2f8
install: modernize script with Yunohost 2.6.4 helpers
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f524bd7940
install: improve comments
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c51127e1eb
install: don’t fail to remove database if not exist
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
533f10d93b
install: don’t print an error if archive doesn’t exist
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
9286fe5e85
install: install error handler before creating the database
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
51b8880157
install: use the $YNH_APP_INSTANCE_NAME variable
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
ee502444c6
install: modernize checking for domain availability
2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
cc846f64b4
Fix logs location
...
The log location used to be a filename, but it is now a
path since Mattermost 3.8.
Having a path was tolerated in Mattermost <= 4.1, but crashes
the server starting from Mattermost 4.2.0.
2017-10-10 17:04:43 +05:30
Pierre de La Morinerie
a4530ddb0f
Merge pull request #46 from YunoHost-Apps/fix-linter
...
scripts: use `ynh_abort_if_errors` helper
2017-10-10 16:40:58 +05:30
Pierre de La Morinerie
ebaea2dbda
scripts: use ynh_abort_if_errors
helper
2017-10-10 16:36:28 +05:30
Pierre de La Morinerie
4815a948a8
restore: update SSOWAT configuration
2017-10-10 16:33:27 +05:30
Pierre de La Morinerie
7c20359731
script: fix linter warning in install script
2017-09-12 17:24:44 +05:30
Pierre de La Morinerie
752b049866
upgrade: don’t warn when the archive file doesn’t exist
2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
ca8a3c761d
upgrade: stop the server after downloading the new release
...
This will minimize downtime.
2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
ff4f8ba8fd
upgrade: fix syntax error in the die_command
variable
2017-09-12 15:30:38 +05:30
Pierre de La Morinerie
75fff3fd95
scripts: don’t warn when supervisor config file doesn’t exist
2017-09-12 15:07:56 +05:30
Pierre de La Morinerie
d0b367752a
scripts: add restore script
2017-09-12 15:05:18 +05:30
Pierre de La Morinerie
99f7d88424
scripts: modernize backup script
2017-09-11 12:53:22 +05:30
Pierre de La Morinerie
cb0d4ddc75
scripts: modernize and fix linter warnings
2017-09-11 12:53:22 +05:30
Pierre de La Morinerie
30ed4e710e
scripts: exit on unbound variables
...
Fixes a package_linter warning.
2017-09-11 12:53:22 +05:30
Pierre de La Morinerie
24c2e935bd
Merge pull request #28 from YunoHost-Apps/analytics
...
Kick out analytics
2017-07-25 18:20:28 +02:00
kemenaran
aaec1ec07c
Update nginx configuration file on upgrade
2017-07-21 22:08:33 +02:00
kemenaran
c630f9f02c
backup: fix double-slash in path
2017-07-20 13:20:30 +02:00
kemenaran
09d3768a2c
backup: add progress messages
2017-07-20 13:20:08 +02:00
Maniack Crudelis
0b8076404d
Store the parameter
2017-05-25 13:33:08 +02:00
Maniack Crudelis
5c98644659
Optionnal analytics
2017-05-25 13:23:26 +02:00
Maniack Crudelis
51304ddaea
Kick out analytics
...
Following https://github.com/YunoHost-Apps/mattermost_ynh/issues/26
2017-05-24 12:29:01 +02:00