Johannes
18b58ced8d
Run the updater through systemd-run
...
This ensures it can start and stop the box process.
Due to control-group setting to killall children
the updater itself would get killed if the box service
restarts
2016-11-06 14:30:26 +01:00
Johannes
4f6f5bf3b7
Support --data-file instead of passing JSON as arguments
...
This is required for systemd-run, which limits the process
argument length and makes the data get truncated
https://github.com/coreos/fleet/issues/992
2016-11-06 14:30:26 +01:00
Johannes
50cbae420c
Only retry 10 times in installer.sh
2016-11-06 14:30:26 +01:00
Johannes
a1207de93f
set --unsafe-perm for npm rebuild
2016-11-06 14:30:26 +01:00
Johannes
a6824d8272
Ensure various scripts are run as root
2016-11-06 14:30:26 +01:00
Johannes
0eaeb67ba0
Run the box-setup init service
...
This ensures we have enough swap setup
2016-11-06 14:30:26 +01:00
Johannes
b40a9803a8
Adjust script paths for isntaller.sh movement
2016-11-06 14:30:26 +01:00
Johannes
f1ab8fde76
Move installer.sh one level up
2016-11-06 14:30:26 +01:00
Johannes
55d11b2832
Remove unused certs/ folder in installer
2016-11-06 14:30:26 +01:00
Johannes
e01da9b065
Add a installer readme
...
This file is to clarify why this folder is special,
what it does and why it is there.
2016-11-06 14:30:26 +01:00
Johannes
b703dbd7f7
Add changes for 0.70.0
2016-11-06 14:30:26 +01:00
Johannes
c70c7462bf
hooks for installer are just local sysadmin webhooks
2016-11-06 14:29:41 +01:00
Johannes
342dd26645
No need to run npm install for the installer anymore
2016-11-06 14:29:41 +01:00
Johannes
8e03295362
Remove the cloudron-installer systemd unit file
2016-11-06 14:29:41 +01:00
Johannes
18cc3537d6
No more cloudron-installer for the docs
2016-11-06 14:29:41 +01:00
Johannes
16deb001bf
No more cloudron-installer to stop
2016-11-06 14:29:41 +01:00
Johannes
78035e0b2e
Remove installer tests
2016-11-06 14:29:41 +01:00
Johannes
c23755c028
Remove all nodejs code from installer
2016-11-06 14:29:41 +01:00
Johannes
38ddf12542
Instead of calling the installer, just run update.sh
...
update.sh will run detached and triggers the installer.sh
2016-11-06 14:29:41 +01:00
Johannes
525c7f2685
add shell.sudoDetached()
2016-11-06 14:29:41 +01:00
Johannes
4d360e3798
Allow update.sh to be run as root
2016-11-06 14:29:41 +01:00
Johannes
8adf9f3643
Add initial update.sh script to trigger installer.sh from box
2016-11-06 14:29:41 +01:00
Johannes
6236a9c15e
Changes for 0.60.1
2016-11-04 11:46:13 +01:00
Johannes
cc6b260189
Bump mail container version
2016-11-04 10:07:14 +01:00
Johannes
01953ded0f
Fix typo in size slugs
2016-11-02 10:25:50 +01:00
Johannes
645dc21f7a
Mention the need for an AWS account for S3 setup
2016-11-01 10:44:20 +01:00
Johannes
34acb38d40
Some typo fixes to the new selfhosting docs
2016-10-31 11:26:36 +01:00
Girish Ramakrishnan
73918f8808
doc: new selfhosting docs
2016-10-30 19:53:44 -07:00
Johannes
9f973133e8
Give correct feedback if S3 region is wrong
...
Fixes #87
2016-10-28 16:48:13 +02:00
Johannes
5ba86d5c35
Use aws s3 cli to test credentials
...
This allows us to test the exact same usage of the api
through the cli tool, not the javascript api
2016-10-28 16:36:05 +02:00
Johannes
7b1b369e40
Add select box for S3 region
2016-10-28 15:28:48 +02:00
Johannes
894384cf3c
Remove unused change handler on dns provider selection
2016-10-28 14:58:28 +02:00
Johannes
9768f8171c
Add possible provider 'digitalocean'
2016-10-28 11:21:58 +02:00
Girish Ramakrishnan
7672bc0c40
Add -y to update
2016-10-26 11:07:36 -07:00
Girish Ramakrishnan
064c584b45
Make provider mandatory
2016-10-26 10:53:25 -07:00
Johannes
586fc4fe2d
Revert "CaaS: bring back the userdata.json provision code path"
...
This reverts commit 830972e8ae .
v0.60.0
2016-10-26 10:20:26 +02:00
Johannes
ca22939298
Revert "keep probing for userdata.json like before"
...
This reverts commit f8cc68b78d .
2016-10-26 10:20:20 +02:00
Girish Ramakrishnan
f8cc68b78d
keep probing for userdata.json like before
...
there can be a race between server starting up and the scp happenning
from the appstore
2016-10-25 18:29:43 -07:00
Girish Ramakrishnan
830972e8ae
CaaS: bring back the userdata.json provision code path
2016-10-25 16:24:28 -07:00
Girish Ramakrishnan
871f5728f8
Add 0.60.0 changes
2016-10-25 15:58:50 -07:00
Girish Ramakrishnan
3560af1b1e
Fix restore blob format
2016-10-25 14:34:48 -07:00
Girish Ramakrishnan
859d27522b
Use -q causes the pipe to fail and script aborts
2016-10-25 14:01:40 -07:00
Girish Ramakrishnan
9c90f88af4
Add --help
2016-10-25 13:34:12 -07:00
Girish Ramakrishnan
8142ad3989
Fix various bugs
2016-10-25 13:15:19 -07:00
Girish Ramakrishnan
984c506c81
hard to center the semver
2016-10-25 12:57:24 -07:00
Girish Ramakrishnan
124c04167f
Verify box version the first thing
2016-10-25 12:55:41 -07:00
Girish Ramakrishnan
105b8e0aeb
suppress stderr output
2016-10-25 12:49:51 -07:00
Girish Ramakrishnan
a22591a89f
Handle download and install errors
2016-10-25 12:47:51 -07:00
Girish Ramakrishnan
c91464accc
Enable -e and handle init script error
2016-10-25 12:00:54 -07:00
Girish Ramakrishnan
d36af33269
default dns config has changed
2016-10-25 11:37:24 -07:00