yalh76
b576c4c0bd
Revert prevent check_memory
2021-03-08 21:40:57 +01:00
yalh76
f455626b85
Implement new ynh_install_ruby
2021-03-08 21:38:47 +01:00
yalh76
4454382b0c
Implement ynh_add_config
2021-03-07 01:55:03 +01:00
yalh76
111d8899b1
Spacing normalization
2021-03-07 01:47:27 +01:00
yalh76
c5aaef69e5
Prevent check_memory requirement during package_check
2021-03-07 01:41:05 +01:00
yalh76
ac0ccbc7c9
Apply example_ynh
2021-03-07 01:39:02 +01:00
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
d1089d6e81
Update remove
2020-06-03 21:11:08 +02:00
yalh76
8a23a4c64b
reduce verbosity
2020-06-02 19:49:35 +02:00
yalh76
58d242453a
spacing
2020-06-02 17:53:16 +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
89cffbd74a
Fix change_url for domain change w/o path change
2020-05-12 17:24:36 +02:00
Jimmy Monin
b14d57cb2a
Fix restore for logrotate configuration
2020-05-12 17:23:46 +02:00
Jimmy Monin
05e5359d70
Remove obsolete subfolder path fix
2020-05-12 17:23:26 +02:00
Jimmy Monin
45f4f22323
Fix typos
2020-05-12 17:22:55 +02:00
Maniack Crudelis
e2381bfde5
Restore the systemd script
2020-04-29 14:13:52 +02:00
Maniack Crudelis
7740c4e505
Set unicorn_workers as a variable for the package
2020-04-28 19:20:16 +02:00
Maniack Crudelis
4cb517c7b0
Remove checkinstall dependency
...
`checkinstall` isn't available anymore on Buster.
Can't find any reference to those binaries either in this package or Discourse source code.
Tested without, it seems to work fine. Not fully tested of course.
2020-04-28 13:31:41 +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
Luke Murphy
ef17f63069
Add g++ dependency
2019-07-18 21:26:57 +02: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
709e6e7188
Workaround for YunoHost 3.5.0 testing compatibility
2019-03-16 19:24:11 +01: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
Josue-T
bbdbb4499b
Update to discourse v2.1.4 ( #8 )
...
* Update to discourse v2.1.4
* Update patch name
2018-12-05 07:37:41 +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
17e167a74b
Upgrade to upstream version 2.0.0
2018-06-03 17:24:21 +02:00
Jimmy Monin
f4b443a72e
Use yh_maintenance_mode helpers
2018-06-03 17:21:50 +02:00
Jimmy Monin
b07d0e459e
Depend on YunoHost 2.7.12 and remove modified helpers
2018-06-03 17:20:09 +02:00
Jimmy Monin
a27e6948d0
Fix logrotate and YunoHost service definition
2018-05-23 21:22:00 +02:00
Jimmy Monin
20f21c4bbc
Update README and helpers
2018-05-19 09:14:06 +02:00
Jimmy Monin
5be413e2dd
Use jemalloc memory allocator as recommended by Discourse team
2018-05-19 09:13:36 +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
9bc9fb0ce0
Setup image_optim to disable svgo worker, hence avoiding dependency warning
2018-05-03 07:23:29 +02:00
Jimmy Monin
2fcdb73df8
Use current ynh_check_starting helper
2018-05-03 07:20:39 +02:00
Jimmy Monin
a7eed4e8a2
Update PostgreSQL helpers
2018-05-02 16:30:15 +02:00