Jocelyn Delalande
6f8b6b7e57
Fix SECRET_KEY regeneration on upgrade
...
It was failing in case when the random key contained "/" char.
2018-04-03 00:32:08 +02:00
Jocelyn Delalande
efc35dd01d
Switch from Python-MySQL → PySQL
...
Even if Python-MySQL is the default lib for `mysql://` scheme with SQLAlchemy, it
got no release since 2014, and does not support Py3. PySQL seems to be the
current standard.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
05807e6a47
Add rollback function to upgrade
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
d738df4875
Switchs to python3
...
rebuilds the venv from scratch on upgrade.
2018-04-03 00:21:10 +02:00
Jocelyn Delalande
8c87bbf809
[fix] typos
...
Thanks @opi for spotting them
2017-06-24 13:57:20 +02:00
Jocelyn Delalande
e04ee9c0f2
[fix] fix static path for nginx conf
...
Was broken since 00243d4
2017-06-21 17:10:26 +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
daeb45bc40
Upgrade upstream to 1.0
2017-06-20 23:17:07 +02:00
Jocelyn Delalande
161ee92fb5
[fix] stop service before removing all the files
...
Let's be less rude to this poor supervisord :-)
2017-06-20 16:27:48 +02:00
Jocelyn Delalande
c35bff5ded
[ehn] reload nginx at the end of install
2017-06-20 16:25:41 +02:00
Jocelyn Delalande
7a68ba1c3e
Revert "[ehn] Remove useless lines"
...
This reverts commit 2c7cb29974
.
This commit made package checker failling.
2017-06-19 14:48:19 +02:00
Jocelyn Delalande
a949dc1872
[ehn] Factorize code between install and restore
...
Fix #13
2017-06-19 09:35:17 +02:00
Jocelyn Delalande
546581d642
[ehn] Use MySQL drop helpers
2017-06-19 02:01:33 +02:00
Jocelyn Delalande
2c7cb29974
[ehn] Remove useless lines
2017-06-19 01:53:45 +02:00
Jocelyn Delalande
7d38d249f4
Fix installation on domain root
...
`APPLICATION_ROOT='/'` is not working, if we are on root, ihatemoney requires
that the `APPLICATION_ROOT` setting is absent.
2017-06-19 01:20:59 +02:00
Jocelyn Delalande
87fac52549
Fix several mis-ordered and missing instructions
2017-06-18 17:14:35 +02:00
Jocelyn Delalande
1ef89e5ba2
Fix 502 errors right after installation
2017-06-18 17:13:39 +02:00
Jocelyn Delalande
00243d4a5c
Normalize path
2017-06-18 17:11:10 +02:00
Jocelyn Delalande
cd65e10413
Fix upgrade script
...
(common inclusion was failing)
2017-06-17 18:27:41 +02:00
Jocelyn Delalande
b14bea4865
Add backup/restore scripts
2017-06-17 17:28:57 +02:00
Jocelyn Delalande
9b7d0e7ac2
Fix typo
2017-06-17 11:31:38 +02:00
Jocelyn Delalande
14cdb2f5c9
Create /opt/yunohost in install script
2017-06-17 11:11:23 +02:00
Jocelyn Delalande
c114aa6ac8
Use releases tarballs rather than git master.
...
- upgrade to ihatemoney 0.9
- refactor some code into a `_common.sh`
2017-06-17 00:22:16 +02:00
Jocelyn Delalande
b0ae7b8c77
Use recommended helpers in scripts
...
Thanks to ynh-package-linter :-)
2017-03-31 15:49:56 +02:00
Jocelyn Delalande
cd55bf42e2
Use the recommended set
in scripts
2017-03-18 19:13:10 +01:00
Jocelyn Delande
4944d0a96f
Fix upgrade script
...
refs #5
2016-07-10 17:41:41 +02:00
Jocelyn Delande
f039b6f710
Fix manifest to comply with ynh 2.4 style
...
The shift to 2.4 is not finished though ; still TODO :
- backup/restore scripts
- use of the helpers ?
- remove deprecated yunohost commands
2016-06-18 00:33:51 +02:00
Jocelyn Delande
309e46013f
Cleans after itself in case the install fails.
...
Refs #1 and #4 (and hopefuly fixes them)
2015-07-26 18:23:54 +02:00
Jocelyn Delande
96b92b6ee6
socket is now in /tmp/ as /var/run/ihatemoney gets rm on each reboot
...
fixes #3
2015-06-10 00:13:01 +02:00
JocelynDelalande
4f11a695f7
Forgot mysql dev libraries dependencies
2015-05-03 18:38:48 +02:00
Jocelyn Delande
5d2a476e30
Added ability to make the service public
2015-05-02 17:28:58 +02:00
Jocelyn Delande
6cf166e216
Added upgrade script
2015-05-02 16:36:51 +02:00
Jocelyn Delande
1da51108d7
scripts made executable
2015-05-02 16:29:03 +02:00
Jocelyn Delande
514efdcd27
added uninstallation script
2015-05-02 12:48:23 +02:00
Jocelyn Delande
cc4ef6d42b
Re-ordered install script
2015-05-02 12:47:52 +02:00
Jocelyn Delande
551d7db1d8
Register domain, for uninstalling purpose.
2015-05-02 12:47:27 +02:00
Jocelyn Delande
9e79dc10ad
Fixed permissions so that www-data can access static files
2015-05-02 12:46:49 +02:00
Jocelyn Delande
ec804a0ac9
Fixed dependencies
2015-05-02 12:44:41 +02:00
Jocelyn Delande
167414f3dd
Effective prefix configuration, using patched ihatemoney
2015-05-01 23:27:08 +02:00
Jocelyn Delande
14c1789a26
Work in progress : installation is working but upstream app lacks url prefix support
2015-05-01 14:30:09 +02:00