1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00
Commit graph

247 commits

Author SHA1 Message Date
nemsia
a961856c7e Add createdb right to mastodon postgre role 2018-06-13 12:19:22 +02:00
nemsia
8e1d57d0dd db:migrate on install 2018-06-13 11:30:51 +02:00
nemsia
ae84054e6a Fix db_user create 2018-06-13 00:23:05 +02:00
nemsia
ae04282b9e Change db_name on all scripts
to mastodon_production
2018-06-12 22:53:03 +02:00
nemsia
1993c3b2ee db:Setup on install 2018-06-12 21:44:45 +02:00
nemsia
7c2d4d4927 Update to 2.4.1 + fixs
*Fix upgrade,restore scripts

* Readme and manifest to 2.4.1
2018-06-12 21:43:34 +02:00
nemsia
982f3bbde2
Testing 2.4 (#90)
* Ready to Yunohost 3 and Debian Stretch

* Remove mastodon cron tasks

* Fix Upgrade yarn not installed

* Fix Upgrade
2018-06-12 18:32:43 +02:00
nemsia
ba3ce5d001
Fix migrated stretch upgrade (#88)
* upgrade-2.3.3

upgrade-2.3.3
git fetch with all tags forced

* Upgrade 2.4.0 (#21)

* Upgrade 2.4 (#79)

* Upgrade rb to 2.5.1

* Update upgrade

* Fix 2.3.3

* Add trace on assets:precompile

* Yarn install and precompile

Update 2.4 need root to yarn install and precompile, 
Temporary bad fix.

* Update upgrade

* Fix migrate

* Update README.md

* Update manifest.json

* Upgrade yarn to 1.7.0

* Restart postgresql on upgrade

* Ready to Debian Stretch (#22)

* Ready to Debian Stretch

* rb 2.5.1 on install

* Yarn install on root

* rails precompile fix

* Fix backup on stretch

* clean

* fix backup stretch

* Change systemd mastodon service restart

* Change systemd script for stretch

* Ready to mastodon 2.4.1

* Fix migrated stretch (#23)

* Force bundle re-install

* Add check debian on upgrade and clean check
2018-06-12 15:33:34 +02:00
nemsia
64d3147a7b
Yunohost 3.0 Stretch app upgrade (#85)
* Ready to Debian Stretch

* rb 2.5.1 on install

* Yarn install on root

* Ready to mastodon 2.4.1
2018-05-31 13:41:03 +02:00
nemsia
7a3313b7cf
Postgres fix (#84)
* Restart postgresql on upgrade
2018-05-28 14:31:49 +02:00
nemsia
27505a57d7
Update yarn on upgrade (#82)
* Upgrade yarn to 1.7.0
2018-05-25 10:11:55 +02:00
nemsia
a6d9ee92f9
Upgrade 2.4 (#79)
* Upgrade rb to 2.5.1

* Update upgrade

* Fix 2.3.3

* Add trace on assets:precompile

* Yarn install and precompile

Update 2.4 need root to yarn install and precompile, 
Temporary bad fix.

* Update upgrade

* Fix migrate

* Update README.md

* Update manifest.json
2018-05-23 00:08:40 +02:00
Jean-Baptiste Holcroft
b67376ec30 add support for ynh_backup_before_upgrade and ynh_abort_if_errors 2018-05-01 20:45:29 +02:00
Jean-Baptiste Holcroft
3004a1c041 Try to limit the log 2018-05-01 20:44:54 +02:00
Jean-Baptiste Holcroft
5799993dc4 Standardization of backup 2018-05-01 20:43:49 +02:00
Jean-Baptiste Holcroft
6be35a9f26 Standardization of restoration 2018-05-01 20:43:05 +02:00
Jean-Baptiste Holcroft
c3f2f5c64f Standardization of removal 2018-05-01 18:49:32 +02:00
Jean-Baptiste Holcroft
00a9710a4e Use helpers for systemd & package installation, lock version to 2.3.3 2018-05-01 18:49:10 +02:00
Jean-Baptiste Holcroft
69ddc4592b Add helpers (multi-file systemd and exec_as) 2018-05-01 18:48:06 +02:00
Jean-Baptiste Holcroft
f0b1322812 Use latest PostgreSQL helpers 2018-05-01 11:29:25 +02:00
Jean-Baptiste Holcroft
18b69b2fdf Remove old-time specific functions and add multiple TODO 2018-04-06 21:01:26 +02:00
Jean-Baptiste Holcroft
cfce1f3c19 Rename .fonctions to _common.sh 2018-04-06 19:58:23 +02:00
nemsia
1d7613889c
Remove hotfix 2018-04-06 13:31:43 +02:00
nemsia
6218a686a1
upgrade-2.3.3 (#73)
upgrade-2.3.3
git fetch with all tags forced
2018-04-06 13:30:57 +02:00
nemsia
7dc6ec97c6
Hotfix v2.3.3 upgrade (#72)
Stay on 2.3.2
2018-04-05 23:11:32 +02:00
nemsia
666ceeb8f8
Merge branch 'master' into master 2018-03-22 13:32:46 +01:00
nemsia
a8d527d2ab
Merge branch 'upgrade-from-pre-release' into master 2018-03-22 13:27:33 +01:00
nemsia
7db022c2cc
Fix rm rb 2018-01-31 20:14:01 +01:00
nemsia
6f4293eafd
Fix rm rb 2018-01-31 20:13:24 +01:00
nemsia
a8f2853379
Upgrade to 2.2.0 (#65)
* Upgrade ruby to 2.5.0

* Add remove_regeneration_markers

* Update README.md
2018-01-31 17:02:43 +01:00
nemsia
5295228ca3 Fix install on v2 (#58)
* Fix install v2.0 ruby version

* Fix install on v2

add "SAFETY_ASSURED=1" on  .env.production
2017-10-25 21:43:05 +02:00
nemsia
4e83743845 Fix install on v2
add "SAFETY_ASSURED=1" on  .env.production
2017-10-25 21:22:35 +02:00
nemsia
785edef7e4 Fix install v2.0 ruby version 2017-10-25 19:16:20 +02:00
nemsia
a8a2874864 Upgrade to 2.0.0 (#56)
* Update to 2.0.0
2017-10-15 10:05:38 +02:00
nemsia
956dfc4050 Update upgrade 2017-10-11 21:44:36 +02:00
nemsia
1b737b0c64 Update install 2017-10-11 21:43:29 +02:00
Nemsia
c687c56305 Merge branch 'upgrade-from-pre-release' 2017-10-11 21:39:04 +02:00
nemsia
244edb7dc5 Remove duplicated bundle install and yarn install 2017-10-11 21:30:51 +02:00
nemsia
85918b2b3e Fix rbenv install error 2017-10-11 21:26:13 +02:00
nemsia
e5995887c0 Fix to 2.4.2 2017-10-11 21:22:47 +02:00
nemsia
502e75555b Upgrade to ruby 2.5.2 for release 2.0 2017-10-11 18:59:24 +02:00
Nemsia
a92d2b7f30 Remove prepare_for_foreign_keys task on upgrade 2017-09-11 22:49:53 +02:00
nemsia
099de1658f Remove prepare_for_foreign_keys 2017-09-07 23:04:29 +02:00
nemsia
f224a7d13c New method to select pre-release 2017-08-10 18:11:34 +02:00
nemsia
e471f128ce Add additional package for arm (#52)
* Add additional package for arm upgrade
2017-08-10 00:08:22 +02:00
nemsia
c9c543ee20 Add additional package for arm upgrade 2017-08-09 23:59:29 +02:00
nemsia
40e66c5983 Upgrade 1.5.0 (#48)
* Add libicu-dev and libidn11-dev
2017-07-25 13:39:31 +02:00
nemsia
c50b19af34 Merge remote-tracking branch 'refs/remotes/origin/master' into upgrade-from-pre-release 2017-07-25 13:29:04 +02:00
nemsia
0307451906 Add libicu-dev and libidn11-dev 2017-07-24 01:15:15 +02:00
nemsia
1f948e706a Merge branch 'master' of https://github.com/YunoHost-Apps/mastodon_ynh 2017-07-24 00:41:30 +02:00
nemsia
60ae6587fe Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' into upgrade-from-pre-release 2017-07-13 00:27:17 +02:00
nemsia
8711b92530 add __FINALPATH__ on Nginx conf (#46)
* [enh] Final_path on nginx

* [enh] final_path on nginx.conf

* Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' into nginx-conf

# Conflicts:
#	scripts/restore

* [fix] nginx path on backup

* [fix] Error on final_path nginx

* Version num in badge
2017-07-13 00:12:42 +02:00
nemsia
7b7070f970 Merge remote-tracking branch 'refs/remotes/YunoHost-Apps/master' 2017-07-08 21:34:15 +02:00
nemsia
7cd6bc84ac Fix backup fail on yunohost 2.6 + update mastodon version to 1.4.7 2017-07-08 21:28:38 +02:00
nemsia
061bb38b00 error on script 2017-07-01 18:18:23 +02:00
nemsia
ad476aad67 error on ynh_secure_remove 2017-07-01 17:39:58 +02:00
MCMic
d7b8bd7b23 Added needed line for 1.4.2 migration 2017-06-15 10:47:06 +02:00
nemsia
e438a0ab3e Fix install on arm (#42)
* [fix] Missing pubkey on arm

* [enh] Install on arm + update README
2017-06-07 20:42:42 +02:00
nemsia
7b5077419b [fix] upgrade and install 1.4.1 (#40) 2017-05-29 21:24:43 +02:00
nemsia
e8870da4b3 [fix] Install and Upgrade to tag n-1 (#39) 2017-05-29 13:32:23 +02:00
nemsia
8f88641088 upgrade from pre-release 2017-05-28 17:31:51 +02:00
nemsia
a10d77fe4f [fix] Duplicate nodejs 6 upgrade 2017-05-28 17:20:32 +02:00
nemsia
097bd9dec8 Fix restore 1.4 (#38)
* [fix] Remove db:setup

* [enh] add install rben on restore

* [enh] Remove asset:precompile and db:migrate on restore

* [enh] bundle and yarn install on restore
2017-05-26 21:20:07 +02:00
nemsia
77a80d633c [fix] Nodejs 6 on restore 2017-05-25 14:09:20 +02:00
nemsia
eabe291999 [fix] Restore dependencies 2017-05-25 00:07:57 +02:00
nemsia
3a02566f0a Fix upgrade 1.4 (#33)
* [fix] Upgrade nodejs + conf protobuf

Fix mastodon 1.4 upgrade
2017-05-22 00:42:09 +02:00
magikcypress
e52a9dcb50
[fix] Install lastest release 2017-05-21 17:48:52 +02:00
magikcypress
79f5e7d827
[fix] upgrade ndeojs version 2017-05-21 17:02:13 +02:00
nemsia
c7eb4ace25 Upgrade with latest stable version (#31)
* [enh] Upgrade on latest

Upgrade with latest mastodon stable version
2017-05-21 15:23:14 +02:00
magikcypress
a074e13ef5
[fix] update node version to 6 #29 2017-05-21 15:17:07 +02:00
magikcypress
13cad968d8
[fix] add additional package for release 1.4 #30 2017-05-21 15:05:54 +02:00
nemsia
e6a5b2bc5e [enh] Switch release on mastodon user (#27)
* Update README

* [enh] Switch branch with mastodon user
2017-05-08 15:33:08 +02:00
nemsia
1747e72792 Use smtp 25 + waiting on upgrade (#26)
* [enh] SMTP without login

* [fix] Port to 25

* [enh] Waiting start
2017-05-08 13:04:01 +02:00
nemsia
70d41205f3 [enh] Admin user creation tune (#25)
* [fix] Password lengh check 9 to 8

* [enh] Use the email address from admin user

* [fix] Confirm real admin mail

* Check TODO

* [fix] Warning password to 7
2017-05-08 11:06:33 +02:00
nemsia
8584df0b54 Merge branch 'master' into master 2017-05-07 23:21:52 +02:00
nemsia
35275b3a78 Merge pull request #24 from nemsia/patch-2
[fix] Reinstall dependencies on restore + check .fonctions on remove
2017-05-07 17:49:28 +02:00
nemsia
a2d0dc06c6 Copy Apt .lists on restore 2017-05-07 14:18:57 +02:00
nemsia
ade55f6ef2 Change .list name on backup 2017-05-07 00:30:50 +02:00
nemsia
b72fba54be Add apt lists to backup 2017-05-07 00:29:36 +02:00
nemsia
941ed7b71c Remove unneeded comment 2017-05-07 00:25:15 +02:00
nemsia
7529cf6210 Check .fonctions 2017-05-07 00:23:22 +02:00
nemsia
9747afe4ec [fix] Jenkins upgrade error 2017-05-06 23:44:21 +02:00
nemsia
f12507fbf0 Merge branch 'devel' into master 2017-05-06 23:01:35 +02:00
nemsia
39cde5408c Return to home 2017-05-06 22:48:26 +02:00
nemsia
1d212bebcb [fix] Reinstall dependencies on restore 2017-05-06 22:30:44 +02:00
nemsia
9f63099207 [fix] Owner of live 2017-05-06 20:35:26 +02:00
nemsia
04fc6dcc4b [fix] Owner of live 2017-05-06 20:34:29 +02:00
nemsia
133eeb1cef [fix] Upgrade from 1.3.3
Fix error: Your local changes to the following files would be overwritten by merge:
        .babelrc
        .dockerignore
        .editorconfig
        .env.production.sample
        .gitignore
        .rubocop.yml
        .travis.yml
        Capfile
        Dockerfile
        README.md
        Vagrantfile
        ....
2017-05-06 19:58:45 +02:00
nemsia
daf425f070 Update upgrade 2017-05-06 19:55:02 +02:00
__cyp
b25cc8f544 Merge pull request #20 from nemsia/patch-3
[fix] Restore pg dump and make jenkins happy
2017-05-06 19:54:54 +02:00
nemsia
38c3ccc75f Remove git fetch 2017-05-06 19:50:54 +02:00
nemsia
6d0d7a561a [fix] Change rm dump to ynh_secure_remove 2017-05-06 19:37:08 +02:00
nemsia
7d9014285d [fix] Restore pg dump
Restore pg dump with mastodon user.
2017-05-01 21:26:46 +02:00
nemsia
e5c96518a3 [fix] restore from $final_path 2017-05-01 15:07:21 +02:00
nemsia
4d2a047184 [FIX] Chmod before restore 2017-05-01 14:14:04 +02:00
nemsia
2f578fd2c2 [fix] Restore db with mastodon user 2017-04-30 23:49:00 +02:00
nemsia
1b76f0b4da [enh] Switch to tagged release on upgrade 2017-04-30 14:24:02 +02:00
nemsia
3a2f559174 [enh] cd $final_path 2017-04-30 14:13:44 +02:00
nemsia
e3e4ee08e5 [fix] Change pushd to cd on upgrade 2017-04-30 14:07:59 +02:00
nemsia
e7ed942684 [enh] Switch to tagged release 2017-04-30 14:04:25 +02:00