Commit Graph

3820 Commits

Author SHA1 Message Date
Johannes
b676ebf9d7 Temporarily ensure the box update link anchor is fine 2016-11-08 18:32:26 +01:00
Girish Ramakrishnan
e270c27cb0 Remove hardcoded cert 2016-11-08 18:04:07 +05:30
Girish Ramakrishnan
63561a51a4 Fix failing cert test
The hardcoded cert has expired
2016-11-08 17:33:45 +05:30
Girish Ramakrishnan
cde7599f87 Choose default confs
Fixes #92
2016-11-08 15:36:48 +05:30
Johannes
c9e7308f49 Attempt to set kernel params for generic provider
This is useful for running ubuntu on hardware or in virtualbox
2016-11-08 09:35:18 +01:00
Johannes
0088d9d5fc Renew expired certs in the cert tests 2016-11-08 09:28:48 +01:00
Johannes
4fd5b369f8 Reset app update indicator when an update was triggered
Fixes #48
2016-11-07 15:14:08 +01:00
Johannes
5e0ed1dff3 Don't just center the whole update email
Finally fixes #88
2016-11-07 13:35:02 +01:00
Johannes
215a16cd18 Render update changelog mail with markdown 2016-11-07 13:34:48 +01:00
Johannes
cd5ae290bc Add showdown node module 2016-11-07 13:34:47 +01:00
Johannes
bd0b66aaad Improve update email 2016-11-07 13:34:47 +01:00
Johannes
45b83232d7 Enable html mails for box updates 2016-11-07 12:32:57 +01:00
Johannes
bf2885d7d3 Show markdown in update dialog
Part of #88
2016-11-07 12:20:28 +01:00
Johannes
eeb8cc10ae Show error message in update dialog if a backup is currently happening
Fixes #89
2016-11-07 12:17:57 +01:00
Johannes
4668e3a771 Rename box-setup to cloudron-system-setup
This shell script and the associated systemd service
are hooks to setup the system like swap and volumes
It is part of the base image
2016-11-06 14:30:26 +01:00
Johannes
95a90dd050 Check on the installer service to be able to cancel update from box side 2016-11-06 14:30:26 +01:00
Johannes
908aa6f426 Reset the systemd-run service in case it failed earlier
systemd will refuse to run a transient unit if one run
with the same unit name failed earlier
2016-11-06 14:30:26 +01:00
Johannes
15f7ada958 We now use systemd-run no need for sudoDetached 2016-11-06 14:30:26 +01:00
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