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: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.
- nginx
- Apache
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.
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: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:
.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
- Add a website under Monitored sites. Within about five minutes it has a first check.
- Under Alerts, press Send test on your email channel.
- Under Status pages, create a page, tick Public, and open its address.
- 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
.envfile: it holds your encryption key, and without it stored alert URLs and the license key cannot be decrypted; - the
storage/appfolder: uploaded status-page logos.