Girish Ramakrishnan
d60b386bca
Use cloudron.conf file to determine if this is an update
...
The installer determines if it an update based on existence of box dir.
It then calls the nginx splash setup code. The splash setup code relies
on the data directory being setup. Otherwise, it barfs in data/nginx.
This results in a case where restarting cloudron-installer when it is
unpacking the box code results in an error about being unable to write
admin.conf (since the data dir gets setup only in box setup.sh).
So, use cloudron.conf to determine if box was setup and running at some
point (this is already used in the js code)
2016-08-23 17:17:24 -07:00
Girish Ramakrishnan
b7869a4fdd
Fix exec docs to be a GET instead of POST
v0.19.0
2016-08-22 14:07:57 -07:00
Girish Ramakrishnan
86903183df
Fix routing TCP upgrades via express middleware
...
Currently, if there was a POST request with 'tcp' upgrade, the code just hangs and waits
till timeout.
Instead, let express code will give us a default 'finalhandler' which responds
appropriately - https://github.com/expressjs/express/blob/master/lib/application.js#L161
https://github.com/pillarjs/finalhandler/blob/master/index.js#L57 for future reference
on how to call this callback should socket.destroy need to be called.
2016-08-22 13:21:46 -07:00
Girish Ramakrishnan
e4c2483ae5
upgrade header value is already checked in the route handlers
...
also, req.end() crashes
2016-08-22 13:21:46 -07:00
Girish Ramakrishnan
36f7e573a8
change base image version
2016-08-21 21:03:15 -07:00
Girish Ramakrishnan
8bebbfbace
0.19.0 changes
2016-08-21 16:45:08 -07:00
Girish Ramakrishnan
e198f34219
add note about db upgrades
2016-08-21 15:50:14 -07:00
Girish Ramakrishnan
6a4bda1f7e
bump test container
2016-08-21 13:25:27 -07:00
Girish Ramakrishnan
3bf0a392b9
bump mysql version
2016-08-21 13:01:31 -07:00
Girish Ramakrishnan
4165bf35d0
bump mail version
2016-08-20 12:08:02 -07:00
Girish Ramakrishnan
fc1a288a2d
bump graphite
2016-08-20 11:07:25 -07:00
Girish Ramakrishnan
7f37a9ce50
Bump redis
2016-08-20 11:03:49 -07:00
Girish Ramakrishnan
d34f8bc082
bump mongodb
2016-08-20 11:00:08 -07:00
Girish Ramakrishnan
50e598112d
doc: mongodb version
2016-08-20 10:59:26 -07:00
Girish Ramakrishnan
8150d1cb8f
bump postgresql
2016-08-20 10:42:12 -07:00
Girish Ramakrishnan
5b53280cd4
make baseImage an array
2016-08-20 10:24:29 -07:00
Girish Ramakrishnan
15e6873c14
doc: base image 0.9.0
2016-08-20 10:22:49 -07:00
Girish Ramakrishnan
f3978897ae
use a different exit code to signal external errors
...
http://tldp.org/LDP/abs/html/exitcodes.html
2016-08-19 21:54:14 -07:00
Girish Ramakrishnan
ba4bb1fd90
box-setup must be run before nginx
...
nginx configs are in the data volume which get mounted only after
box-setup script.
part of #8
2016-08-19 19:37:44 -07:00
Girish Ramakrishnan
bbbc3837b0
box-setup: run before sshd since we modify ssh config files
2016-08-19 19:34:58 -07:00
Girish Ramakrishnan
311e997619
DO: do-resize service has folded into cloud-init
2016-08-19 19:34:12 -07:00
Girish Ramakrishnan
8ee2a7016d
installer: retry fetching installer data 5 times
...
On some VPS providers, getting the userData is "flaky".
Fixes #3
2016-08-19 17:51:14 -07:00
Girish Ramakrishnan
02c5e731a9
add debug log for already provisioned
2016-08-19 17:33:55 -07:00
Girish Ramakrishnan
b932a9be10
Set X-Forwarded-Ssl to on
...
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
http://stackoverflow.com/questions/16042647/whats-the-de-facto-standard-for-a-reverse-proxy-to-tell-the-backend-ssl-is-used
2016-08-17 17:46:36 -07:00
Girish Ramakrishnan
56618cab23
add docs
2016-08-17 10:59:09 -07:00
Girish Ramakrishnan
2f7fa54fc8
Add API and CLI
2016-08-17 09:41:25 -07:00
Girish Ramakrishnan
b538c75f05
Add links to other repos
2016-08-17 09:23:57 -07:00
Girish Ramakrishnan
813950a0e5
Add features
2016-08-17 02:04:19 -07:00
Girish Ramakrishnan
8ef004f7f5
fix README
2016-08-17 00:47:14 -07:00
Girish Ramakrishnan
897326675e
Add a logo for gitlab
2016-08-15 22:29:55 -07:00
Girish
06a8508c48
Add license
2016-08-15 19:22:47 +00:00
Girish Ramakrishnan
979f63f3f8
add link to upgrade docs
2016-08-14 19:42:16 -07:00
Girish Ramakrishnan
55ba9a351f
mail container bugfix (typo in delay deny patch)
v0.18.0
2016-08-13 14:19:52 -07:00
Girish Ramakrishnan
bb6ee2b5a0
more 0.18.0 changes
2016-08-13 11:30:26 -07:00
Girish Ramakrishnan
b58b350827
Throw exception if dkim keys could not be generated
2016-08-13 00:23:55 -07:00
Girish Ramakrishnan
3bd9fcae6a
fix dkim dir perms
2016-08-13 00:23:07 -07:00
Girish Ramakrishnan
020ad746a0
change ownership of box directory
2016-08-12 23:55:20 -07:00
Girish Ramakrishnan
b049989eb1
do not change ownership of mail data when updating cloudron
...
the mail container is still running and changing the ownership behind it's
back causes the mail container to be very upset.
2016-08-12 23:36:41 -07:00
Girish Ramakrishnan
c25cc560d8
bump memory for mail container
2016-08-12 19:57:49 -07:00
Girish Ramakrishnan
d342652212
bump mail container version (spam support)
2016-08-12 17:17:48 -07:00
Johannes Zellner
c30cfefcc5
Reduce LDAP account password length
...
(This is currently ignored)
256 might be a common db field restriction. At least in openproject
it is based on their table layout.
2016-08-12 21:14:32 +02:00
Girish Ramakrishnan
6cfb8226a9
we are tied to docker 1.10 for now
2016-08-11 16:29:03 -07:00
Girish Ramakrishnan
19fad669f1
Use the unbound dns server
...
docker filters out the localhost in /etc/resolv.conf by design
and will use the Google DNS nameservers as fallback.
https://docs.docker.com/engine/userguide/networking/configure-dns/
2016-08-11 14:52:34 -07:00
Johannes Zellner
30074ae961
Removing ssh keys has to be done with ssh202
2016-08-11 20:45:49 +02:00
Girish Ramakrishnan
6d5dc0d5c4
0.18.0 changes
2016-08-11 10:52:35 -07:00
Girish Ramakrishnan
7bc5ae17cc
Use unbound as nameserver
...
DO uses Google nameservers by default. This causes RBL queries to fail.
Can be tested with the following command:
$ host 2.0.0.127.zen.spamhaus.org
Host 2.0.0.127.zen.spamhaus.org not found: 3(NXDOMAIN)
With unbound we get:
$ host 2.0.0.127.zen.spamhaus.org
2.0.0.127.zen.spamhaus.org has address 127.0.0.2
2.0.0.127.zen.spamhaus.org has address 127.0.0.10
2.0.0.127.zen.spamhaus.org has address 127.0.0.4
Also, we do not use dnsmasq because it is not a recursive resolver. It will
always forward and this defaults to the value in /etc/network/interfaces
(which is Google DNS on DO!).
2016-08-11 10:32:54 -07:00
Johannes Zellner
65994f307f
Make infra_version.js option and fix base image on DO
2016-08-10 12:45:23 +02:00
Johannes Zellner
855bc71ba7
Add changes for 0.17.6
2016-08-05 17:28:24 +02:00
Johannes Zellner
f3e842ed45
Retry to acquire a db connection when starting a transaction
...
This fixes db issues just like we do for regular queries.
Also we now use the .on('connection') to setup the session and db
this is how the docs recommend it
2016-08-05 15:18:32 +02:00
Johannes Zellner
1ec5d8c03b
Fix error usage
2016-08-05 14:01:19 +02:00