Jimmy Monin
1cff6b52c5
Fix linter warning
2020-12-03 19:30:38 +01:00
Éric Gaspar
7c3e351247
V.2.5.4 ( #61 )
...
* upgrade to 2.5.4
2020-11-14 15:59:45 +01:00
yalh76
dd6ef485fd
fix upgrade from 2.3.10~ynh1
...
ln: failed to create symbolic link './uploads': File exists
2020-06-05 13:59:07 +02:00
yalh76
d6fa5113e2
Fix upgrade from 2.3.10~ynh1
...
mkdir: cannot create directory ‘/var/www/discourse/tmp/sockets’: File exists
2020-06-04 15:25:21 +02:00
yalh76
8a23a4c64b
reduce verbosity
2020-06-02 19:49:35 +02:00
yalh76
26a5e58107
Update upgrade
...
[Upgrade Script]
! Having only '--weight=1' for ynh_script_progression is useless... Either calibrate the weights with --time once, or don't put any --weight at all.
2020-06-02 17:48:25 +02:00
yalh76
35882c6884
Make upgrade only if needed
2020-05-30 17:32:33 +02:00
yalh76
678f94b2c9
Missing --home_dir=$final_path --use_shell
2020-05-30 17:06:03 +02:00
yalh76
8e58a5e6cd
Apply last example_ynh
2020-05-30 17:05:03 +02:00
Jimmy Monin
45f4f22323
Fix typos
2020-05-12 17:22:55 +02:00
Maniack Crudelis
7740c4e505
Set unicorn_workers as a variable for the package
2020-04-28 19:20:16 +02:00
yalh76
5691dae66e
Apply example_ynh
...
and adding libjemalloc2 for buster for Fix #56
2020-04-27 13:41:00 +02:00
Jimmy Monin
a04627b963
Upgrade to upstream version 2.3.10 and use Ruby 2.6.5 ( fixes #50 , #51 and #53 )
2020-02-15 19:06:13 +01:00
Jimmy Monin
8944e7fa2c
Fix upgrade in case of missing uploads directory
2019-07-02 21:40:10 +02:00
Jimmy Monin
62557e6c9f
Upgrade to upstream version 2.3.0
2019-06-25 21:22:10 +02:00
Jimmy Monin
582d5097bb
Upgrade to upstream version 2.2.3
2019-03-15 19:50:18 +01:00
Jimmy Monin
9e9a33cc85
Use Ruby 2.6.0 and adapt upgrade script
2019-02-10 12:14:36 +01:00
Jimmy Monin
a0ed89ce0d
Add source patch to fix ARM compatibility
2018-12-27 12:50:00 +01:00
Josué Tille
05654191e8
Fix path_url - path
2018-12-03 09:25:46 +01:00
Jimmy Monin
6b55b940e8
Upgrade to upstream version 2.0.4
2018-08-22 22:11:39 +02:00
Jimmy Monin
b76905fdec
Upgrade to upstream version 2.0.3
2018-08-01 23:08:07 +02:00
Jimmy Monin
33d7d4b312
Use Redis helper to use an available database during installation
2018-07-01 10:06:14 +02:00
Jimmy Monin
569d8e9d74
Extend service start timeout
2018-07-01 10:05:00 +02:00
Jimmy Monin
d29a3c1128
Add change_url script
2018-06-03 17:56:14 +02:00
Jimmy Monin
f4b443a72e
Use yh_maintenance_mode helpers
2018-06-03 17:21:50 +02:00
Jimmy Monin
a27e6948d0
Fix logrotate and YunoHost service definition
2018-05-23 21:22:00 +02:00
Jimmy Monin
f67986641f
Use unicorn instead of puma, hence not needing a separate sidekiq service and drastically reducing memory footprint
...
Limit number of workers to 2 on ARM devices
See here: https://meta.discourse.org/t/does-discourse-require-2gb-to-work-lag-free/25278/8
2018-05-06 19:38:57 +02:00
Jimmy Monin
2fcdb73df8
Use current ynh_check_starting helper
2018-05-03 07:20:39 +02:00
Jimmy Monin
4fdbfe333c
Check memory requirements to prevent install/upgrade/restore processes from being killed
2018-05-02 16:28:17 +02:00
Jimmy Monin
c8a0722de2
Don't upgrade discourse app if unchanged
2018-04-29 11:28:38 +02:00
Jimmy Monin
3669f20dd0
Add ARM compatibility
2018-04-29 11:25:32 +02:00
Jimmy Monin
ffa7684217
Create and use helpers to use rbenv to install a specific ruby version (to be compatible with Jessie and Stretch)
2018-04-29 11:21:30 +02:00
Jimmy Monin
c6e6718da6
Workaround to use latest systemd helpers in Jessie
2018-04-24 17:45:19 +02:00
Jimmy Monin
ff64835b73
Add upgrade script
2018-04-14 09:33:23 +02:00