Girish Ramakrishnan
7af3f85d7c
cloudron-setup: pass --data-dir for all non 0.10x.x versions
2017-05-08 12:04:00 -07:00
Girish Ramakrishnan
3f6e8273a7
remove hack to update docker
2017-04-26 15:50:01 -07:00
Johannes Zellner
d92a2b070c
retry apt endlessly
2017-04-24 23:40:21 +02:00
Girish Ramakrishnan
abe72442ae
Set default retentionSecs
...
Set to 2 days for filesystem provider and -1 (never) for s3/minio.
Part of #310
2017-04-22 21:46:26 -07:00
Girish Ramakrishnan
8e134f3ae8
make docker install script more robust
2017-04-22 19:22:01 -07:00
Girish Ramakrishnan
1e90ec95d3
Add -y flag to apt install
2017-04-22 10:23:48 -07:00
Johannes Zellner
019cff8851
Wait for dpkg tasks to finish before installing new docker
2017-04-21 13:34:36 +02:00
Girish Ramakrishnan
cf701b8eb0
Use apt install instead so that deps are installed
2017-04-20 10:37:46 -07:00
Girish Ramakrishnan
d2d2818b0b
wrap curl command with retry and timeouts
2017-04-18 12:22:49 -07:00
Girish Ramakrishnan
b58fe9edd6
Update docker to CE 17.03
...
https://docs.docker.com/engine/installation/linux/ubuntu/#install-from-a-package
has helpful instructions.
This should also help use userns at some point (https://github.com/moby/moby/pull/25540 )
Fixes #303
2017-04-18 12:22:32 -07:00
Johannes Zellner
ba56f7d15d
Special case versions lower than '0.11*' to not pass new --data-dir
2017-04-14 17:24:28 +02:00
Johannes Zellner
6e73761983
We still require the versionsUrl in the setup script to be able to restore to older versions
2017-04-14 15:05:09 +02:00
Girish Ramakrishnan
f9a4d00b3c
Query tarball url via appstore
...
Part of #293
2017-04-13 15:41:08 -07:00
Girish Ramakrishnan
eb2ef47df1
remove boxVersionsUrl
...
update checker now uses the appstore routes
2017-04-13 11:38:42 -07:00
Girish Ramakrishnan
299e8aceeb
Check if --data-dir exists
2017-04-07 12:34:59 -07:00
Girish Ramakrishnan
f16aab7f80
Add --data-dir to cloudron-setup
...
This allows the data-dir to be re-located
Part of #148
2017-04-06 23:56:57 -07:00
Johannes Zellner
39e827be04
Add rosehosting to the help output if no provider is specified
2017-03-28 10:38:00 +02:00
Johannes Zellner
38c2f75b5e
Also patch the cloudron-setup to match the resize script
...
Part of #278
2017-03-27 13:51:37 +02:00
Johannes Zellner
543c9843ba
Use df instead of fdisk
...
some disk types do not contain proper partition tables like on time4vps
the type is simfs. On those fdisk fails to access the partition table,
thus being unable to determine the size of the volume.
df does only return the real usable disk space by the user, thus we
lower the 20GB threshold to 18
Fixes #275
2017-03-22 14:23:59 +01:00
Johannes Zellner
46d6b5b81f
Add hidden 'ami' provider for pre-built amis
2017-03-14 09:32:51 +01:00
Girish Ramakrishnan
e508b25ecd
Lower memory expectations
2017-03-13 13:05:59 -07:00
Girish Ramakrishnan
3fdc10c523
Parse free and fdisk output with C locale
...
some vps providers seem to set a different locale by default.
Settings LC_ALL overrides all the other LC_*
2017-03-13 10:36:05 -07:00
Johannes Zellner
f8ada91dc5
Add rosehosting provider
2017-02-18 12:01:49 +01:00
Johannes Zellner
d0e2ce9a9e
Support Linode 1GB instance with cloudron-setup
2017-02-18 12:00:26 +01:00
Girish Ramakrishnan
278f1d6d24
use curl with reconnect
2017-02-16 17:32:44 -08:00
Girish Ramakrishnan
c6d2c39ff7
add azure
2017-02-15 20:10:33 -08:00
Girish Ramakrishnan
6960afdf0b
Add more providers for stats
2017-02-15 15:49:00 -08:00
Girish Ramakrishnan
98951bab9e
Store data args in file just in case installer fails
2017-02-15 14:27:51 -08:00
Girish Ramakrishnan
1f08cca355
Add some newlines
2017-02-14 14:30:54 -08:00
Girish Ramakrishnan
7f4f525551
dhparams.pem must be part of backup
2017-02-14 14:12:03 -08:00
Johannes Zellner
b4717e2edb
Generating the dhparams.pem does not only apply to updates
2017-02-13 10:53:08 +01:00
Johannes Zellner
1d5465f21e
Update the ssl ciphers and add dhparams.pem
...
Fixes #218
2017-02-13 00:28:22 +01:00
Johannes Zellner
2f1998fa67
Fix typo in cloudron-setup
2017-02-12 20:48:36 +01:00
Johannes Zellner
695923ed75
cloudron-setup: support --skip-reboot for image creation
2017-02-07 12:49:28 +01:00
Johannes Zellner
651af185c8
Restart the droplet after installation for good measure
...
This is then in sync with selfhosting and ensures the init startup
sequence is in order, since the setup on its own creates unit files
which should run prior to services already running.
This hopefully fixes the mysql disconnect issues.
2017-02-02 11:24:49 -08:00
Girish Ramakrishnan
178aa4794a
cloudron-setup: Add source-url
2017-02-01 14:11:50 -08:00
Girish Ramakrishnan
76583cb2fa
createReleaseTarball: remove no-upload argument
...
We will put the upload in the release script
2017-02-01 13:41:27 -08:00
Girish Ramakrishnan
08ffa99c78
Use %s instead of %d
...
awk's %d behaves differently with mawk (scaleway) and gawk (do)
Fixes #200
2017-01-30 10:24:26 -08:00
Girish Ramakrishnan
9ab34ee43a
Check for ubuntu version
2017-01-23 12:58:08 -08:00
Johannes Zellner
b2204925d3
Remove unused setup_start.sh creation
2017-01-23 21:36:47 +01:00
Johannes Zellner
56c992e51b
Check for 19GB instead of 20GB in cloudron-setup
...
This is as reporting the disk size may vary from the one selected when
creating the server. Eg EC2 20GB storage results in 21474836480 bytes
which in turn will be calculated as less than 20GB in the script
2017-01-20 11:22:43 +01:00
Johannes Zellner
ec1abf8926
Remove creation of now unused and broken provision.sh
2017-01-19 23:18:01 +01:00
Girish Ramakrishnan
9f5a7e4c08
cloudron-setup: keep the cursor in the same line
2017-01-19 10:09:47 -08:00
Johannes Zellner
6eafac2cad
Do not rely on fdisk's human readable unit output
...
Using the bytes output will fix an issue where the disk size is reported
either as terrabyte or also megabyte.
So far we disallowed 1TB disks but allowed 20MB disks.
2017-01-19 13:53:50 +01:00
Girish Ramakrishnan
1ba72db4f8
Add prerelease option
2017-01-17 21:23:57 -08:00
Johannes Zellner
9f20dfb237
Allow installation on reported main memory of 990
2017-01-16 10:36:16 +01:00
Girish Ramakrishnan
726463d497
use le-staging in dev for better testing
2017-01-12 19:28:27 -08:00
Girish Ramakrishnan
2b49cde2c2
cloudron-setup: validate tlsProvider
2017-01-12 10:31:54 -08:00
Girish Ramakrishnan
e54ad97fa7
cloudron-setup: set the apiServerOrigin for --env
2017-01-11 12:36:01 -08:00
Girish Ramakrishnan
66960ea785
cloudron-setup: Add --env flag
2017-01-10 20:42:24 -08:00