Commit Graph

113 Commits

Author SHA1 Message Date
ronivay
abcfd98813 fix wrong set flag and reset trap setting so that service startup logs end up to logfile, if it fails 2019-01-15 13:51:40 +02:00
ronivay
3f20aca2c6 fix for installation to work with new .toml configuration files. also keep support for old .yaml just in case 2019-01-15 09:54:36 +02:00
ronivay
325158b4c1 if HTTPS is set, verify that cert and key match before starting installation 2018-12-14 16:02:36 +02:00
ronivay
0bd2dbeeaa fix some messages during installation 2018-12-14 15:40:38 +02:00
ronivay
f588105e06 Fix test vagrantfiles and create missing xo-builds directory in xo-install.sh for new installations 2018-11-15 18:11:01 +02:00
ronivay
f3321ba90b remove docker stuff from this repository to it's own repo 2018-11-13 15:44:42 +02:00
ronivay
356edd99cd Set default variables so there's no situation they are empty 2018-11-13 09:50:09 +02:00
ronivay
7d5305fd0f add option to install all available plugins, fix config file paths, fix typo and update README 2018-11-12 17:06:23 +02:00
Tynan McAuley
f87a20acc9 Added ability to update only to tagged releases. 2018-11-05 18:35:05 -05:00
Tynan McAuley
2ede089207 Sped up Xen Orchestra upgrade process.
Most importantly, the xo-server/xo-web build will only happen if the new
xen-orchestra source code is different from the currently-installed
build.

Additionally, the xen-orchestra source code will now be kept in a
separate source directory. So when a new upgrade happens, we pull any
updates into that directory, and copy that updated source tree to the
new install directory. This way, we're not performing a full clone each
time we do an update.
2018-11-05 18:30:02 -05:00
Tynan McAuley
d02296fe57 Added options for serving interface over HTTPS. 2018-11-05 17:25:35 -05:00
Tynan McAuley
3944e5dabf Migrated configuration to a standalone file.
The deployed configuration file (xo-install.cfg) is not tracked by git,
so changes made by users won't affect their ability to update this git
repo.
2018-11-05 17:20:55 -05:00
Tynan McAuley
afdd9f1c77 Fixed whitespace issues. 2018-11-05 17:08:00 -05:00
Tynan McAuley
c8f70ced7b Add setcap installation to Debian. 2018-10-17 10:03:07 -04:00
ronivay
6351dbf933 Add file level restore capability to CentOS, install dependencies for NFS mounts, same improvements to docker container 2018-10-09 15:32:06 +03:00
ronivay
1765375cb8 add missing packages to installation 2018-10-08 16:16:09 +03:00
ronivay
618aeed559 Fix setcap issues between distros 2018-10-02 14:03:39 +03:00
ronivay
eb44d6c2db append maxdpeth to finding symlink 2018-08-01 16:00:08 +03:00
ronivay
77142b63bb Fix older installations not being updated because of existing systemd service symlink 2018-08-01 15:55:45 +03:00
ronivay
8c13fc1569 tell that xo-server is being shut down when running update 2018-07-28 16:59:22 +03:00
ronivay
6fb1a19f0c Improve error handling 2018-07-28 16:49:13 +03:00
ronivay
a73c65cea4 add logging to couple functions. do git checkout only if branch is not master to prevent unnecessary errorlog entry 2018-07-27 17:40:51 +03:00
ronivay
913d3b9056 fix indentations, change the way systemd service file is activated so that enabling works correctly 2018-07-27 13:08:10 +03:00
ronivay
47f844be66 Let user define how many previous installations to preserve 2018-07-27 11:03:36 +03:00
ronivay
f08a69566d Add possibility to rollback installation. Update function/argument names to be more clear and update readme 2018-07-27 09:33:56 +03:00
ronivay
badcb0c4f8 Enable xo-server to start on reboot 2018-07-27 08:04:54 +03:00
ronivay
ba7ab0eb8b -typos 2018-07-26 19:23:01 +03:00
ronivay
a912401c27 Minor fixes and added travis configuration file 2018-07-26 17:52:42 +03:00
ronivay
bef3113b61 Add vagrant configurations for testing, readme update and fix to setting permissions for custom user 2018-07-26 16:32:44 +03:00
ronivay
3babda4c55 README update and minor install output improvement 2018-07-24 23:12:49 +03:00
ronivay
5a8516f3b8 Fix nodejs and yarn update procedure for debian/ubuntu 2018-07-24 17:28:25 +03:00
ronivay
b1531af96e Put docker pull/build tasks in to their own functions 2018-07-24 09:19:16 +03:00
ronivay
9f33a8277c Small readability improvements and explanation 2018-07-24 08:39:34 +03:00
ronivay
6da4b7e09d Update NodeJS and Yarn packages before running xo update. Prevent issue where install fails because of outdated package 2018-07-24 08:34:06 +03:00
Roni Väyrynen
5ebbe6e4a0 Merge pull request #6 from oscartbeaumont/master
Added Support For Specifying A Tag To Install
2018-07-23 12:31:06 +03:00
ronivay
1e2dcb74bd minor fixes and improvements 2018-07-22 23:13:18 +03:00
ronivay
c2b610d877 fix broken plugin installation 2018-07-22 22:44:09 +03:00
Oscar Beaumont
b7560d2c71 Make The Set Tag/Branch Message More Clear 2018-07-20 12:31:36 -04:00
Oscar Beaumont
0cf195d17b Added Support For Specifying A Tag To Install 2018-07-20 23:45:43 +08:00
ronivay
edf42dd685 fixed if statement in plugin installation 2018-06-15 12:46:32 +03:00
ronivay
36ba32b2f8 Added possibility to install plugins, minor improvements to comments and README 2018-06-15 08:26:01 +03:00
ronivay
2c58dbf85b Add option to run update in non-interactive mode 2018-06-08 22:28:56 +03:00
ronivay
451c357616 Log functions instead of individual tasks 2018-06-01 15:26:01 +03:00
Tim Sedlmeyer
444307193a Use 'id -u' to check for root
Root user is not always named root but is always uid 0
2018-04-11 18:54:03 -04:00
Tim Sedlmeyer
8bd5867fe9 Use $INSTALLDIR when setting working directory
Fix WorkingDirectory for systemd service configuration being hardcoded to /etc/xo/xo-server.
2018-04-11 18:19:08 -04:00
Tim Sedlmeyer
7033393d15 Correct LOGFILE typo
Correct $LOGFLE to $LOGFILE
2018-04-09 23:05:10 -04:00
ronivay
c631e5f97b Check port status only after latest start 2018-02-26 07:19:37 +02:00
ronivay
c5545e631c Update to work with new Xen-Orchestra repo and structure. Minor updates on top of it 2018-02-24 18:18:39 +02:00
ronivay
55c7d01875 fix wrong path in docker build command and add default action to docker related menu 2017-09-30 17:05:18 +03:00
ronivay
95830b2d5c make message about removing old installations more clear 2017-09-01 21:00:22 +03:00