Girish Ramakrishnan
772fd1b563
Add cloudron-support to path
2018-12-26 19:42:45 -08:00
Girish Ramakrishnan
68a4769f1e
Fix typo
2018-12-22 19:53:50 -08:00
Girish Ramakrishnan
5146e39023
contabo: fix DNS
...
we disable the DNS servers in initializeBaseImage. On normal VPS,
unbound seems to start by itself but on contabo it doesn't because
the default unbound config on ubuntu does not work without ip6
2018-12-21 11:44:39 -08:00
Girish Ramakrishnan
447c6fbb5f
cloudron.conf has to writable
2018-12-14 16:32:51 -08:00
Girish Ramakrishnan
3137dbec33
CONFIG_DIR is not used anymore
2018-12-13 19:55:13 -08:00
Johannes Zellner
b8f843993a
Fix typo
2018-12-11 11:26:45 +01:00
Girish Ramakrishnan
a76731a991
remove old cloudron.conf and version field
2018-12-10 15:36:00 -08:00
Girish Ramakrishnan
3688371ce8
Make tasks log to their own log file
2018-12-08 21:59:20 -08:00
Girish Ramakrishnan
840d78b2f4
run update as a task, so it is cancelable
2018-11-30 21:04:24 -08:00
Johannes Zellner
9d40cffabe
Add logrotate config for box logs
2018-11-16 13:14:59 +01:00
Girish Ramakrishnan
de000648dc
do not chown redis during updates
2018-11-07 15:21:12 -08:00
Girish Ramakrishnan
97567b7d2a
Do not re-create cloudron.conf
...
All this argument passing going around is just needless
* boxdata/version file is not used
* dashboard config.json is also unused
2018-10-26 15:29:14 -07:00
Girish Ramakrishnan
6a887c2bba
SSH port configuration will be done in appstore
2018-10-26 10:13:35 -07:00
Girish Ramakrishnan
0250508a89
Add comment for installer.sh and start.sh
2018-10-26 10:13:35 -07:00
Girish Ramakrishnan
f97973626c
start.sh: curl is not used
...
we will move network stuff to installer.sh anyways
2018-10-26 09:55:13 -07:00
Girish Ramakrishnan
5cdf9d1c6f
Move host configuration to setup script since Cloudron does not rely on it
...
Also hostname cannot be set here since admin_fqdn is not available on
initial setup
2018-10-25 18:49:05 -07:00
Girish Ramakrishnan
009e888686
remove dead migration of nginx certs
2018-10-25 18:43:24 -07:00
Girish Ramakrishnan
23b9854c57
Use REST API instead of volumes for redis
2018-09-18 13:09:24 -07:00
Girish Ramakrishnan
a46e208c63
Use docker volumes instead of bind mount for app data
2018-09-13 15:35:41 -07:00
Johannes Zellner
baa99d1a44
add edition property to cloudron.conf
2018-08-28 18:05:15 -07:00
Girish Ramakrishnan
621d00a5c6
GPG verify releases
...
Part of #189
2018-08-01 17:16:42 -07:00
Girish Ramakrishnan
1c32224a8a
Move backup logs to make the REST API work
2018-06-15 09:47:34 -07:00
Johannes Zellner
898d928dd6
logrotate files under platformdata must be owned by root
2018-06-06 18:45:54 +02:00
Johannes Zellner
c578a048dd
Ensure app logrotate file is owned by root
2018-06-06 18:39:52 +02:00
Johannes Zellner
2a475c1199
Add logrotate for app and addon logs
2018-06-06 17:36:48 +02:00
Johannes Zellner
c39240c518
Install cloudron-syslog
2018-06-06 14:09:50 +02:00
Girish Ramakrishnan
a07c4423c4
Rename webadmin to dashboard
...
The box nginx config has to be re-generated but this is always
done at box restart time
2018-03-15 14:14:23 -07:00
Girish Ramakrishnan
2b9e90397d
Do not delete the old conf dir (migration might use it)
2018-02-02 15:44:49 -08:00
Girish Ramakrishnan
f85b7a4336
How many commits to fix a typo?
2018-02-01 22:24:41 -08:00
Girish Ramakrishnan
f4a021b751
Fix path to nginx cert
2018-02-01 21:58:42 -08:00
Johannes Zellner
5521e17313
Remove progress.json generation in start.sh
2018-01-31 11:56:51 +01:00
Girish Ramakrishnan
7907dd5c4f
migrate any existing host.cert/key to domain based host.cert/key
...
we don't remove the old one's yet since existing nginx config
might still be referencing them (not sure)
2018-01-30 22:09:55 -08:00
Girish Ramakrishnan
be66d1ff4d
arg_fqdn is no more
2018-01-30 21:27:27 -08:00
Girish Ramakrishnan
b2363271aa
add config.adminDomain
2018-01-28 14:26:41 -08:00
Girish Ramakrishnan
9ff1b19c3f
Remove unused config.zoneName
2018-01-27 09:26:17 -08:00
Girish Ramakrishnan
e9be2a7fb7
Remove is_custom_domain use (use adminFqdn instead)
2018-01-17 21:07:13 -08:00
Girish Ramakrishnan
cef0cd4b25
config.token() and arg_token are not used anymore
2018-01-17 15:39:32 -08:00
Girish Ramakrishnan
915cfbe7dd
Remove use of isCustomDomain
...
Use adminFqdn instead as needed
2018-01-11 00:35:12 -08:00
Girish Ramakrishnan
c56a24d4fb
Autoprovision from autoprovision.json
...
This is done so that CaaS restore code path can provision correctly
2017-11-27 22:41:32 -08:00
Girish Ramakrishnan
172d5bbdff
Remove obsolete setting (now migrated into domains table)
2017-11-24 22:45:32 -08:00
Girish Ramakrishnan
4acd0bcdac
Remove --restore-url and --restore-key
2017-11-23 13:33:41 -08:00
Girish Ramakrishnan
7306f1ddea
chown the toplevel mail directory
...
this helps the restore box logic extract without sudo
2017-11-22 23:08:01 -08:00
Johannes Zellner
321bfc6130
Create initial domain record in start.sh if fqdn was provided
2017-11-20 20:01:50 +01:00
Johannes Zellner
0bf9ab0a2b
No need to put static database config in cloudron.conf
2017-11-15 02:29:36 +01:00
Johannes Zellner
c629db9597
Remove preinstall app bundle support
2017-11-14 23:09:17 +01:00
Girish Ramakrishnan
d8d2572aa1
Keep restarting mysql until it succeeds
...
MySQL restarts randomly fail on our CI systems. This is easily
reproducible:
root@smartserver:~# cp /tmp/mysql.cnf . && systemctl restart mysql && echo "Yes"
Yes
root@smartserver:~# cp /tmp/mysql.cnf . && systemctl restart mysql && echo "Yes"
Yes
root@smartserver:~# cp /tmp/mysql.cnf . && systemctl restart mysql && echo "Yes"
Job for mysql.service failed. See "systemctl status mysql.service" and "journalctl -xe" for details.
There also seems some apparmor issue:
[ 7389.111704] audit: type=1400 audit(1509404778.110:829): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=15618 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=112 ouid=0
The apparmor issue is reported in https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1610765 ,
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1658233 and
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1658239
2017-10-30 16:14:20 -07:00
Girish Ramakrishnan
96a98a74ac
Move the mysql block
...
The e2e is failing sporadically with:
==> Changing ownership
==> Adding automated configs
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Maybe the dhparam creation is doing something causing mysql to not respond.
2017-10-30 08:03:47 -07:00
Girish Ramakrishnan
d0a244e392
stash adminLocation also
2017-10-29 19:09:03 -07:00
Johannes Zellner
d53f0679e5
Also stash the zoneName to settings
2017-10-29 22:40:15 +01:00
Girish Ramakrishnan
527093ebcb
Stash the fqdn in the db for the next multi-domain release
2017-10-29 12:08:27 -07:00