Salamandar
9494341bfd
Fix restore directory permissions
...
User IDs might change between backup and restore. We need to chown the install_dir when restoring.
2023-10-31 10:02:58 +01:00
Félix Piédallu
68eed5b920
Cleanup: double quotes, remove chown/chmod duplicates.
2023-09-06 14:39:23 +02:00
e9c418afcb
Deduplicate code to wait for server to start
2023-09-06 14:39:23 +02:00
a4b83bcf21
Fix manifestv2 migration
2023-09-06 14:39:23 +02:00
4bc0aea7e7
Automatic migration
2023-09-06 14:39:23 +02:00
Félix Piédallu
3d7d325fd4
Fix ynh_systemd_action: log_path is now /var/log/$app/$app.log, the default.
2023-09-05 14:08:00 +02:00
cde4364797
Configure logging to /var/log/ihatemoney
2023-09-05 14:08:00 +02:00
yalh76
b56654d4c1
Manage ADMIN_PASSWORD
2022-06-14 00:13:19 +02:00
yalh76
71b9f4c960
Upgrade to 5.2.0~ynh1
2022-06-11 05:03:46 +02:00
yalh76
12a4e9d4f6
Apply last example_ynh
2022-03-13 16:02:11 +01:00
Salamandar
5344aec40e
Update scripts/restore log_type -> log
...
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2021-12-16 19:41:34 +01:00
ce58c792c7
Full revamp of ihatemoney_ynh:
...
* Use example_ynh as a template
* Implement change_url
* Use the new yunohost permissions system
* Use a python3 venv
* Use a systemd service + gunicorn
* Allow multiple instances (stop installing in /opt/yunohost/ihatemoney)
2021-11-10 11:45:14 +01:00
Alexandre Aubin
c4e0df7eeb
Wait for app to start at the end of the restore to avoid 502 error
2020-07-26 18:20:17 +02:00
Alexandre Aubin
4f64985c8c
Fix backup
2020-07-26 18:20:17 +02:00
Alexandre Aubin
d66fcad5ff
Misc fixes to make the linter happier
2020-07-26 18:20:17 +02:00
Jocelyn Delalande
e96d348493
Simplify restore script
...
Using `ynh_restore` helper, introduced in ynh 2.6.3
2018-12-18 20:05:05 +01:00
Jocelyn Delalande
1bf80cf0f5
Fix restore script, removing webpath registration
...
It seems that ynh takes care itself of registering the app on restore.
So re-registering it is useless and triggers a duplicate error. Let's not do
that :-).
2018-12-18 20:01:54 +01:00
Jocelyn Delalande
321d6cb2d9
Use ynh helpers for error handling
...
Instead of doing it by hand.
Also we now rely on the fact ynh automatically runs uninstall script if the
install fails. So no more need for manual cleanup.
2018-12-18 18:28:00 +01:00
Jocelyn Delalande
4f279503d1
Switch to non-deprecated helper: checkurl → ynh_webpath_register
...
Iso-functionnal commit. Simply removes a warning.
2018-11-25 17:11:09 +01:00
Jocelyn Delalande
ca79fcdbdd
Upgrade to 2.x upstream
...
Huge change in package, mainly because we switch from a tarball-based install to a
pip-based install (which is the default install method).
It require quite some refactor to common.sh and a more consistent and clear
migration handing in upgrade script.
Fix #19 #16
2018-06-24 02:22:25 +02:00
Jocelyn Delalande
bb40c91db7
[fix] Adapt to new ihatemoney settings behaviour
...
Since v1.0 ihatemoney reads its settings from /etc/ihatemoney/ihatemoney.cfg
See https://github.com/spiral-project/ihatemoney/pull/193
2017-06-21 17:10:26 +02:00
Jocelyn Delalande
a949dc1872
[ehn] Factorize code between install and restore
...
Fix #13
2017-06-19 09:35:17 +02:00
Jocelyn Delalande
87fac52549
Fix several mis-ordered and missing instructions
2017-06-18 17:14:35 +02:00
Jocelyn Delalande
b14bea4865
Add backup/restore scripts
2017-06-17 17:28:57 +02:00