Johannes
00a4b7ba09
Fix typo: missing comma
...
Fixes #105
2016-11-20 20:44:03 +01:00
Johannes
51799f7f14
Only set backupConfig in setup when no restore key is provided
...
When a restore is performed, the backupConfig is part of the
backup. Otherwise provide a default file based config which
contains the encryption key
2016-11-20 18:17:55 +01:00
Johannes Zellner
a8ec9a4329
Ensure the server has curl installed
...
Fixes #103
2016-11-17 15:03:37 +01:00
Johannes
17ebc67d36
Set default backupConfig in cloudron-setup
...
If we provide the backup key we have to provide other values
to prevent having to perform value merging in settings.js
defaults
2016-11-13 13:37:38 +01:00
Johannes
4248776c16
Give details what encryption key is
2016-11-13 11:49:09 +01:00
Johannes
3e0d6f698e
Verify --provider string
2016-11-13 11:47:37 +01:00
Johannes
67e2589a15
Remove noisy '
2016-11-13 11:35:56 +01:00
Johannes
2398a515b5
Make --encryption-key mandatory
2016-11-13 11:34:02 +01:00
Johannes
ad83d805ac
Support supplying an encryption key during cloudron-setup
2016-11-13 11:20:50 +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
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
16deb001bf
No more cloudron-installer to stop
2016-11-06 14:29:41 +01:00
Johannes
9768f8171c
Add possible provider 'digitalocean'
2016-10-28 11:21:58 +02:00
Girish Ramakrishnan
064c584b45
Make provider mandatory
2016-10-26 10:53:25 -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
Johannes
e4b7b9c9fb
Fix typo
2016-10-25 15:28:26 +02:00
Johannes
012fbe926f
Wait for the configure event to be received
2016-10-25 14:33:32 +02:00
Johannes
254e0ef8e1
Print information on how to follow logs in the setup script
2016-10-25 14:07:49 +02:00
Johannes
2e7cc4847e
the folder is called /var/log/ without s
2016-10-25 14:01:35 +02:00
Johannes
8cfc8bb893
Redirect init and installer script output to log file
2016-10-25 13:58:46 +02:00
Johannes
9adc6d2ba5
No more data subobject
2016-10-25 13:41:51 +02:00
Johannes
5539710a25
Explicitly specify npm bin
2016-10-25 13:27:31 +02:00
Johannes
6b6af13c5f
Do not set -e in cloudron-setup
...
This needs to be reenabled, but I can't make out
why having it set makes the parent script stop
after calling an external one with /bin/bash,
even though the external one has a 0 exit code
2016-10-25 13:14:01 +02:00
Johannes
6660ef2ff3
Let the cloudron-version tool resolve the version string
2016-10-25 13:13:04 +02:00
Johannes
2ca5b3c197
Directly call installer.sh from cloudron-setup
2016-10-25 11:27:58 +02:00
Girish Ramakrishnan
15cfbe3f99
Initial version of configure style cloudron-setup script
2016-10-25 00:07:46 -07:00
Girish Ramakrishnan
37185b1058
Move cloudron-setup script to top level
2016-10-24 14:28:37 -07:00