Commit Graph

29 Commits (f1ac63488c0050fec1c4d713d74db4f4ea944395)

Author SHA1 Message Date
kontrollanten f076d49f37 script/upgrade: use db.name config value 2021-03-29 09:19:11 +02:00
Lukas Winkler a5ea2aeaf0 use .load instead of .safeLoad in js-yaml 2021-03-04 12:08:02 +01:00
tomamplius e6fdfdc292 Check pg_dump before backup (#1950)
* Check pg_dump before backup

When the database is not on the same host pg_dump can't be not present

* Update upgrade.sh
2019-07-02 19:05:23 +02:00
Luc Didry cd1a488981 Add reminder to restart PeerTube in upgrade script 2019-02-15 11:47:45 +01:00
Felix Ableitner 5c94c38d18 Check if awk and sed are executable 2018-12-04 09:31:36 +01:00
Felix Ableitner 7593929170 Check free storage before upgrading 2018-12-04 09:31:36 +01:00
Luc Didry d9d1989b62 Use DB informations from config/production.yaml in upgrade script
Avoid hardcoded values in upgrade script.
Avoid asking for DB password.
Uses python (usually installed on your system, even with minimal
installations) and some of its standard lib modules.
2018-10-11 13:31:57 +02:00
John Livingston 38d937002a fix diff order 2018-10-03 09:53:03 +02:00
John Livingston bebae342f3 using "diff -u", for a clearer display 2018-10-03 09:53:03 +02:00
Felix Ableitner cee43cf11c Added else 2018-09-28 10:35:59 +02:00
Felix Ableitner 4cd7a103da Add prompt to upgrade.sh to install pre-release version 2018-09-28 10:35:59 +02:00
Jocelyn Jaubert b4e5942ca7 Make it possible to change path used by upgrade.sh on command line 2018-05-22 08:08:40 +02:00
Jocelyn Jaubert ee1219d83d Move /var/www/peertube to $PEERTUBE_PATH in upgrade.sh 2018-05-22 08:08:40 +02:00
SVNET Libre ed9118bad0 Fixe Quotation marks on database backup files 2018-05-16 09:26:25 +02:00
Léo Andrès 0e4ffb4b67 Clean shell scripts (#398) 2018-03-27 10:35:12 +02:00
Gérald Niel f8087a5476 Update shebang and date format for working on FreeBSD (fix typo)
(not tested on Linux)
2018-03-19 22:13:29 +01:00
Gérald Niel 1069d3a4dc Update shebang and date to POSIX format for working on FreeBSD (not
tested on Linux)
2018-03-19 22:06:21 +01:00
SVNET Libre 34333925d2 Upgrade.sh : Add diff command for config update (#308)
* Add diff command for config update

* Add Context Information

"Updating Configuration File..."

* Modify context information for the config file
2018-02-21 17:16:52 +01:00
Chocobozzz 5a8eac36a7
Mkae upgrade.sh executable 2018-02-21 16:47:40 +01:00
Chocobozzz a8b5ce95f5
Better upgrade script consistency 2018-02-14 16:03:09 +01:00
SVNET Libre 64586951de Upgrade.sh (#281)
* Upgrade.sh

Bash script for upgrading Instance

* add bash strict mode

* move to "scripts" folder and other fix

* Rename scirpts/upgrade.sh to scripts/upgrade.sh

* Fix SQL BACKUP path

* Fix symbolic link update
2018-02-12 09:43:16 +01:00
Chocobozzz 4f13304181 Rename 'npm run upgrade' to 'npm run upgrade-peertube'
It was confusing with the command 'npm run update'
2017-06-25 16:30:45 +02:00
Chocobozzz 62be8e11e2 Don't generate yarn lockfile on upgrade 2017-06-24 10:17:44 +02:00
Bigard Florian 339f0c8062 Fix upgrade script (again...) 2017-04-27 16:00:10 +02:00
Bigard Florian aa77e1c2ac Fix upgrade script 2017-04-27 15:36:35 +02:00
Bigard Florian 94f12771f5 Add yarn to npm run upgrade 2017-04-27 11:38:42 +02:00
Chocobozzz 85ec3eb7f3 Remove Node 4 support 2017-04-26 22:32:33 +02:00
Chocobozzz d16a0ad851 Fix upgrade script 2016-10-21 14:46:17 +02:00
Chocobozzz 9f540774b1 Add upgrade script 2016-10-21 14:23:20 +02:00