Girish Ramakrishnan
bbc121399e
Stop containers by name before killing them outright
2018-10-16 13:24:11 -07:00
Girish Ramakrishnan
03d513a3b1
Remove infra upgrade logic
...
We now upgrade using the dumps of the last backups which are in the
filesystem itself instead of downloading the entire app from the
backup all over.
2018-10-16 11:06:01 -07:00
Girish Ramakrishnan
539447409e
Fix mongodb addon digest
2018-10-16 10:06:04 -07:00
Johannes Zellner
4525c6f39e
Revert base image change
2018-10-16 15:10:11 +02:00
Girish Ramakrishnan
a6618c5813
Update mongodb (healthcheck)
2018-10-16 00:23:18 -07:00
Girish Ramakrishnan
5c1a0c1305
Check the status field for healthcheck
2018-10-16 00:21:48 -07:00
Girish Ramakrishnan
62c9fc90f9
Fix crash when oldConfig is null
2018-10-15 16:29:30 -07:00
Girish Ramakrishnan
2c60614d4b
remove special rm script for redis
2018-10-15 16:14:16 -07:00
Girish Ramakrishnan
816fa94555
Upgrade the db addons using dumps when major version changes
2018-10-15 16:14:13 -07:00
Girish Ramakrishnan
bbdafc6a2f
pass existing infra information to start funcs
2018-10-15 14:09:13 -07:00
Girish Ramakrishnan
5333db5239
Add method to import database from dumps
2018-10-15 10:15:47 -07:00
Girish Ramakrishnan
79d3713a4b
All apps are being updated already to 1.0.0
2018-10-14 16:31:49 -07:00
Girish Ramakrishnan
f1da537c80
wait for addons to start using heathcheck routes
2018-10-14 13:26:01 -07:00
Girish Ramakrishnan
5366524dc0
Add route to set/unset the registry config
2018-10-12 17:04:04 -07:00
Girish Ramakrishnan
3ad495528f
whitespace
2018-10-11 16:18:38 -07:00
Girish Ramakrishnan
5bfb253869
Custom env vars for apps
...
Add a table and the install/configure routes. Initially, I thought
we can just keep the env vars in docker container but that doesn't
work since we create the container only later in apptask. And if the
container gets deleted we lose this information.
2018-10-11 16:17:18 -07:00
Girish Ramakrishnan
630fbb373c
healthCheckPath is optional for non-appstore apps
2018-10-11 13:20:31 -07:00
Girish Ramakrishnan
23af20ddc9
Update graphite addon
2018-10-08 14:18:13 -07:00
Girish Ramakrishnan
86441bfeb6
Update mail container with latest base image
2018-10-08 10:08:05 -07:00
Johannes Zellner
be51daabf0
Use restified addons based on new base image as v2.0.0
2018-10-08 13:41:39 +02:00
Girish Ramakrishnan
86e8db435a
Add new 18.04 base image
2018-10-05 14:11:31 -07:00
Johannes Zellner
f660947594
Do not silently retry on dns upsert in apptask
2018-10-05 17:07:34 +02:00
Girish Ramakrishnan
576e22e1a0
Update hash of mail container
2018-10-05 08:00:27 -07:00
Johannes Zellner
a2a035235e
Use postgres addon 2.0.2
2018-10-05 16:07:22 +02:00
Girish Ramakrishnan
c26e9bbef7
Fix debugs to match function name
2018-10-04 10:29:40 -07:00
Girish Ramakrishnan
8dd3c55ecf
Use async unlink
2018-09-28 17:05:53 -07:00
Girish Ramakrishnan
1ee902a541
typoe
2018-09-28 17:01:56 -07:00
Girish Ramakrishnan
55cbe46c7c
godaddy: empty the text record for del
2018-09-28 14:35:57 -07:00
Girish Ramakrishnan
5a8a4e7907
acme2: Display any errors when cleaning up challenge
2018-09-28 14:33:08 -07:00
Girish Ramakrishnan
3b5be641f0
acme2: fix challenge subdomain calculation in cleanup
2018-09-28 13:24:34 -07:00
Girish Ramakrishnan
a34fe120fb
TXT values must be quoted
2018-09-27 20:17:39 -07:00
Girish Ramakrishnan
42c1f8bb04
start most cron jobs only after activation
...
Importing the db might take some time. If a cron runs in the middle,
it crashes.
TypeError: Cannot read property 'domain' of undefined
at Object.fqdn (/home/yellowtent/box/src/domains.js:126:111)
at /home/yellowtent/box/src/apps.js:460:36
at /home/yellowtent/box/node_modules/async/dist/async.js:3110:16
at replenish (/home/yellowtent/box/node_modules/async/dist/async.js:1011:17)
at /home/yellowtent/box/node_modules/async/dist/async.js:1016:9
at eachLimit$1 (/home/yellowtent/box/node_modules/async/dist/async.js:3196:24)
at Object.<anonymous> (/home/yellowtent/box/node_modules/async/dist/async.js:1046:16)
at /home/yellowtent/box/src/apps.js:458:19
at /home/yellowtent/box/src/appdb.js:232:13
at Query.args.(anonymous function) [as _callback] (/home/yellowtent/box/src/database.js
2018-09-26 14:56:45 -07:00
Girish Ramakrishnan
a504759b95
more debugs and comments
2018-09-26 12:39:33 -07:00
Girish Ramakrishnan
af763eadd4
Fix perms issue when restoring
...
Fixes #536
2018-09-26 11:59:19 -07:00
Girish Ramakrishnan
818735e2c8
Fix import of older redis backups
2018-09-26 09:48:18 -07:00
Girish Ramakrishnan
78d3aafd7a
Fix case where mailbox already exists
2018-09-25 17:04:17 -07:00
Girish Ramakrishnan
1fed7335cf
Update the db addons
2018-09-25 14:24:32 -07:00
Girish Ramakrishnan
34626abdcf
reset mailboxname to .app when empty
...
fixes #587
2018-09-25 11:26:38 -07:00
Girish Ramakrishnan
477f8a3ca1
mysql: Add message to error string
2018-09-24 16:45:08 -07:00
Girish Ramakrishnan
d47fd34f66
Use alternateDomain fqdn for ensuring certificate
...
this makes it work for hyphenated domains as well
2018-09-22 16:26:28 -07:00
Girish Ramakrishnan
f6ceee7f50
list domains only once
2018-09-22 16:19:12 -07:00
Girish Ramakrishnan
a08f05fb44
Attach fqdn to all the alternateDomains
2018-09-22 15:11:01 -07:00
Girish Ramakrishnan
6214ba7b31
allow hyphenated subdomains in caas
2018-09-22 12:37:38 -07:00
Girish Ramakrishnan
e69004548b
waitForDnsRecord: use subdomain as argument
...
this allows to hyphenate the subdomain correctly in all places
the original issue was that altDomain in caas was not working
because waitForDnsRecord was not hyphenating.
2018-09-22 11:26:33 -07:00
Girish Ramakrishnan
c8216d84ac
register alt domains in install route
2018-09-22 10:09:46 -07:00
Girish Ramakrishnan
5cfc3b22fa
Add redis healthcheck
2018-09-20 12:46:08 -07:00
Girish Ramakrishnan
a755aecfc5
typo
2018-09-19 17:25:40 -07:00
Girish Ramakrishnan
64e34e13be
display error messages
2018-09-19 15:55:42 -07:00
Girish Ramakrishnan
e455ea987a
postgresql: fix various issues during backup/restore/clear
2018-09-19 15:35:47 -07:00
Girish Ramakrishnan
bf87d3fc8b
Update redis sha256
2018-09-19 15:11:55 -07:00