Skip to main content
You need no command line for the install itself. The two background jobs in step 4 need either a terminal or your host’s cron screen.

1. What you need

The server must be able to make outbound HTTPS requests: that is how it checks your sites and talks to the license service.

2. Put the files in place

1

Unzip

Unzip azvian-uptime-monitor-<version>.zip on your server, for example into /var/www/uptime-monitor.
2

Point the web server at public/

Make the web server’s document root the public/ folder inside it, not the folder above. Everything else (your settings, database and code) must not be reachable from the web.
3

Make folders writable

The web server’s user must be able to write to storage/, bootstrap/cache/, the database/ folder and the .env file:
If you want MySQL or PostgreSQL instead of SQLite, create an empty database and a user first, then set the DB_* values in .env before step 3. On a fresh unzip the file appears the first time you open the site; you can also copy .env.example to .env yourself.

3. Run the installer

Open your site in a browser. A fresh copy sets itself up on the first visit (it creates its own .env with a unique encryption key) and sends you to the installer, which:
  • checks your server and tells you plainly if something needs fixing;
  • asks for your organisation name, your name, email and password (at least 10 characters);
  • asks you to confirm the Application URL: the address people use to reach this install. It is used in emailed links and your license is tied to it, so make sure it is right, including https://;
  • optionally takes your license key (you can add it later under Admin → Licence);
  • runs the database migrations and signs you in.
If the installer says something is wrong, fix it and reload the page; nothing is changed until you press Install. When it finishes it locks itself and cannot be run again.

4. Start the two background jobs

Uptime checks, alerts and subscriber emails only run if these are set up. The dashboard works without them, but nothing gets monitored. a) The scheduler, once a minute:
b) A queue worker, kept running. With systemd:
Supervisor works equally well: run the same command as a program.
No way to keep a process running (shared hosting)? Use one cron line that runs the scheduler and then drains the queue:

5. Set up email

Out of the box nothing is sent: MAIL_MAILER=log only writes messages to a log file. Edit .env and fill in your provider’s SMTP details:
After editing .env, restart the queue worker so it picks the change up: php artisan queue:restart. The Alerts page has a Send test button to confirm email works.

6. Check it works

  1. Add a website under Monitored sites. Within about five minutes it has a first check.
  2. Under Alerts, press Send test on your email channel.
  3. Under Status pages, create a page, tick Public, and open its address.
  4. Under Admin → Licence, enter your key.

Backups

Back up three things:
  • the database: for SQLite that is the file database/database.sqlite; for MySQL or PostgreSQL a normal dump;
  • the .env file: it holds your encryption key, and without it stored alert URLs and the license key cannot be decrypted;
  • the storage/app folder: uploaded status-page logos.

Uninstalling

Press Deactivate on the Licence page (to free the activation), then delete the folder, the database, and the cron and worker entries. See Troubleshooting if something does not work.