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)
Cloudron
Cloudron is the best way to run apps on your server.
Web applications like email, contacts, blog, chat are the backbone of the modern internet. Yet, we live in a world where hosting these essential applications is a complex task.
We are building the ultimate platform for self-hosting web apps. The Cloudron allows anyone to effortlessly host web applications on their server on their own terms.
Features
-
Single click install for apps. Check out the App Store.
-
Per-app encrypted backups and restores.
-
App updates delivered via the App Store.
-
Secure - Cloudron manages the firewall. All apps are secured with HTTPS. Certificates are installed and renewed automatically.
-
Centralized User & Group management. Control who can access which app.
-
Single Sign On. Use same credentials across all apps.
-
Automatic updates for the Cloudron platform.
-
Trivially migrate to another server keeping your apps and data (for example, switch your infrastructure provider or move to a bigger server).
-
Comprehensive REST API.
-
CLI to configure apps.
-
Alerts, audit logs, graphs, dns management ... and much more
Demo
Try our demo at https://my-demo.cloudron.me (username: cloudron password: cloudron).
Installing
You can install the Cloudron platform on your own server or get a managed server from cloudron.io.
Documentation
Related repos
The base image repo is the parent image of all the containers in the Cloudron.
The graphite repo contains the graphite code that collects metrics for graphs.
The addons are located in separate repositories