Testing configuration...
Swarmops is making a few test calls to your server to check its configuration. Please wait a few seconds.
Ajax Malfunction
We can't call our pages using Ajax. Swarmops depends completely on continuous asynchronous communication with the web server, using JavaScript asynchronous calls and C# WebMethods, and you have some sort of special configuration that aren't letting these through.
Swarmops is built and tested for a stock Apache on a stock Debian/Ubuntu. While many other configurations work, we're sorry to say we cannot possibly support all conceivable alternate server-side configurations but need to focus on the mainline user experience and functionality.
Please retry the installation with a stock Apache.
Threading Malfunction
We can't run background threads on the server. Swarmops depends completely on continuous asynchronous communication with the web server, using JavaScript asynchronous calls and C# WebMethods. Sometimes, these calls start server-side asynchronous threads
to continue processing while the call is technically returned to the client. Your configuration does not allow such server-side threads to be spawned.
Swarmops is built and tested for a stock Apache on a stock Debian/Ubuntu. While many other configurations work, we're sorry to say we cannot possibly support all conceivable alternate server-side configurations but need to focus on the mainline user experience and functionality.
Please retry the installation with a stock Apache.
Welcome to Swarmops
Congratulations! Since you're reading this, you have successfully installed the Swarmops packages and set up an Apache virtual server using mod_mono.
However, before we proceed, we need to make sure that you are indeed the sysadmin of this server, and not a remote bot who just discovered an unfinished Swarmops installation. To cross that bridge, answer these three simple questions:
What is this server's /etc/hostname?
What is this server's internal IP?
What is your favorite color?
Fix File Permissions
The bad news is that we can't write to the configuration file. This is fairly normal for a new installation. The good news is that you can fix that, so we can continue installing. Please open a shell to the Swarmops server and execute the following commands:
cd /etc/swarmops
sudo chown www-data:www-data database.config
The installation will continue when it detects that these steps have been taken.
Fix Database Permissions
There seems to be an error with the database credentials, or more likely, the permissions for those credentials. Edit the database permissions until you have green ticks in all boxes below. (If you made a mistake filling in the database credentials, you can return to entering credentials.)
The installation will continue when it detects this has been corrected, and the table below will update continuously as you change database permissions.
| | Can login? | Can SELECT? | Can EXECUTE? | Can alter schema? |
| Read credentials |
|
|
|
|
| Write credentials |
|
|
|
|
| Admin credentials |
|
|
|
|
Create the database and users
The Swarmops install sequence can set up the database and users for you, if you provide a root password to the MySQL database server.
(If you don't trust the Swarmops install to do that, that's fine, go to manual account credentials.)
Hostname of MySQL database server
Root password for that MySQL server
Random label (suffixed to db, user names)
Connect to existing database
Before you fill this in, you will need to have created a database on a MySQL server that this web server can access, and set up user accounts that can access it. For security reasons, we require having three separate accounts - one for reading (SELECT permissions only), one for writing (SELECT and EXECUTE), and one for admin. All three accounts also need SELECT permissions on the mysql database.
Database
Server
User
Password
Initializing database
Please wait while the database is being initialized with schemas and geographic data from the Swarmops servers. This is going to take a significant amount of time; we're loading tons of geodata onto your new server.
Initializing...
Creating the first user
Your new Swarmops server has been loaded with the geographic layout of the countries we're active in, and the first organization - the Sandbox - has been created. We are now going to create your user account, which will become the systems administrator account of this Swarmops installation.
(You can add other people to the System Administrator role later.)
Your full name
Your email
Your password
Repeat password
Waiting for two server processes
Swarmops needs two server processes called swarmops-backend and swarmops-frontend.
They will start automatically when they detect an initialized database, and we're now waiting for them to come online.
The servers are expected to come online in 30 seconds or less.
If you're running the backend process on another machine, now is the time to copy the file /etc/swarmops/database.config
from this machine to where you installed swarmops-backend, so the backend process will come online.
The frontend server is now running and we're waiting for the backend.
The backend server is now running and we're waiting for the frontend.
All done - ready to login
Your Swarmops installation is ready! Press Finish to log in as your new user and start using it.