Girish Ramakrishnan
11697f11cf
use constants for admin location
2017-05-24 15:41:37 -07:00
Girish Ramakrishnan
6fc69c05ca
Add noop storage backend
...
This is sometimes useful when an update gets stuck because of some
bug in backup logic.
Note that you cannot restore from this backend because nothing is
saved.
2017-05-22 10:45:01 -07:00
Girish Ramakrishnan
65cff35be6
Do not dump certs in the log files
2017-05-19 14:39:08 -07:00
Girish Ramakrishnan
7467907c09
Do not dump data in update script since it might have the cert
2017-05-19 14:34:20 -07:00
Girish Ramakrishnan
d6c32a2632
tweak redis memory limit based on app's memory
2017-05-18 15:39:38 -07:00
Johannes Zellner
7dc277a80c
Give the backup task more memory 150 is often too close to the limit
2017-05-17 14:17:54 +02:00
Girish Ramakrishnan
88e844b545
Bump infra version to reconfigure apps for http2 support
2017-05-12 16:25:14 -07:00
Johannes Zellner
d164f881ca
Bring back code for alt domain match
...
There are no actual tests for this yet. Should be added.
2017-05-11 21:55:29 +02:00
Johannes Zellner
4994a5da49
Use -checkhost openssl subcommand
2017-05-11 21:31:01 +02:00
Johannes Zellner
374130d12a
Only set local dns server if run on a cloudron
2017-05-11 15:37:44 +02:00
Johannes Zellner
05fcdb0a67
Extract CN from cert with JS
...
unlike the sed script, this does not rely on the order openssl reports the subject entities
2017-05-11 15:19:02 +02:00
Johannes Zellner
23827974d8
Fix certificate validation to work with new openssl version as well
2017-05-11 14:58:29 +02:00
Girish Ramakrishnan
ae2c0f3503
Use new mail container (fix for exec)
2017-05-10 21:58:39 -07:00
Girish Ramakrishnan
cbb93ef7ad
For low end cloudrons, give a delay between addon starts
...
Starting them all at once, sometimes hogs cpu/memory too much
and makes the startup scripts of the addons error.
The new addons setup a .setup file to confirm initialization.
In a future commit, we can use those .setup files to check if
the addon has started up instead of a timeout
2017-05-10 15:43:02 -07:00
Girish Ramakrishnan
4d3c6f7caa
better error message
2017-05-09 11:24:47 -07:00
Girish Ramakrishnan
6ef2f974ae
fs: Use key to determine backup extension
2017-05-08 16:03:29 -07:00
Johannes Zellner
ffc0a75545
user.get() returns UserErrors
2017-05-08 13:51:19 +02:00
Girish Ramakrishnan
8ae65661dd
redact the password so it is never displayed in logs
2017-05-05 15:36:47 -07:00
Girish Ramakrishnan
dacc66bb35
Ignore fifo files during backup
...
Fixes #318
2017-05-01 10:11:41 -07:00
Girish Ramakrishnan
5f26c3a2c1
bump test image version
2017-05-01 09:46:20 -07:00
Girish Ramakrishnan
7a3d3a3c74
Fix usage of tar.gz API
2017-04-30 17:42:55 -07:00
Girish Ramakrishnan
e5c42f2b90
Do a multipart download for slow internet connections
...
Fixes #317
2017-04-28 17:28:40 -07:00
Girish Ramakrishnan
9635f9aa24
Use key to determine if we should encrypt or not
...
When encrypting we use the .enc extension. When not encrypting, we
use the plain .tar.gz extension.
Fixes #315
2017-04-28 14:50:20 -07:00
Girish Ramakrishnan
893f9d87bc
make s3 upload use queueSize of 1
2017-04-28 14:50:08 -07:00
Girish Ramakrishnan
bfda0d4891
drop support for old format backups
2017-04-28 14:45:44 -07:00
Girish Ramakrishnan
14ca0c1623
Support naked domains as external location
...
Let the user add an A record for naked domains
Fixes #272
2017-04-26 15:56:39 -07:00
Girish Ramakrishnan
797dc26f47
ip_based_setup.conf is long gone
2017-04-25 17:29:26 -07:00
Girish Ramakrishnan
ddf7823b19
Make box come up regardless of dns config
...
Part of #302
2017-04-25 16:53:14 -07:00
Girish Ramakrishnan
923e1d0524
Kill more event based logic
2017-04-25 16:36:38 -07:00
Girish Ramakrishnan
339bc71435
Rename onConfigured to onDomainConfigured
2017-04-25 14:09:13 -07:00
Girish Ramakrishnan
863612356d
refactor addDnsRecords to take IP as argument
2017-04-25 14:06:13 -07:00
Girish Ramakrishnan
56cdaefecc
configureAdmin on dns key change
...
This allows the user to re-get an admin certificate by updating
the DNS config.
Part of #302
2017-04-25 14:04:27 -07:00
Girish Ramakrishnan
9e611b6ae3
Run scheduler containers in cloudron network as well
...
This results in:
box:scheduler Unhandled error: { Error: (HTTP code 409) unexpected - Conflicting options: dns and the network mode
Part of #307
2017-04-25 12:25:21 -07:00
Girish Ramakrishnan
7e26b4091b
use ":" in security-opt is deprecated
2017-04-25 11:41:05 -07:00
Girish Ramakrishnan
d7702b96e5
Also set dns args for redis addon
...
part of #307
2017-04-25 10:13:52 -07:00
Girish Ramakrishnan
41edd3778d
Merge branch 'dns-fixes' into 'master'
...
Set DNS per container rather than the daemon
Closes #307
See merge request !6
2017-04-25 17:06:31 +00:00
Ian Fijolek
0ac69cc6c9
Add DNS args to platform containers
2017-04-25 15:21:23 +00:00
Johannes Zellner
a723203b28
Fix typo of missing data argument
2017-04-25 13:48:12 +02:00
Girish Ramakrishnan
8ddb670445
simplify: start/stop taskmanager from platform logic
2017-04-24 15:48:23 -07:00
Girish Ramakrishnan
ca5723bbc7
more work on tests
...
disable the migrate tests for now
2017-04-24 15:45:23 -07:00
Girish Ramakrishnan
1b0a81cb3f
make sysadmin test work
2017-04-24 15:21:42 -07:00
Johannes Zellner
4703f1afda
woops Revert "WIP"
...
This reverts commit ca7f80414e .
2017-04-24 16:18:01 +02:00
Johannes Zellner
3fad5e856c
Do not cleanup any app backups which are referenced by an app through lastBackupId
2017-04-24 13:50:46 +02:00
Johannes Zellner
cc66830a2d
Also cleanup app backups which are not referenced by a box backup
2017-04-24 13:41:23 +02:00
Johannes Zellner
880f7b4cd3
Allow to get backups by type in backupdb
2017-04-24 12:41:19 +02:00
Johannes Zellner
5b9d4daafe
Add first backup cleanup tests
2017-04-24 12:34:57 +02:00
Johannes Zellner
410420e9d5
Ensure we keep at least one backup on cleanup
...
If for some reason backups fail for longer than the retention time
we should at least keep the latest around
2017-04-24 12:01:52 +02:00
Johannes Zellner
ca7f80414e
WIP
2017-04-24 11:41:45 +02:00
Girish Ramakrishnan
81b705b25b
give inner callback variable a different name
2017-04-23 22:51:07 -07:00
Girish Ramakrishnan
f79e1993cb
use debug() more
2017-04-23 22:10:44 -07:00