Server Operation

Script Management

Data Publication Logarrow-up-right shows an active job status log.

It's very important that the job server keeps from timing out.

knack-proxyarrow-up-right was a flask app, but has been taken down.

Its functionality was no longer needed after Boomi replaced the Enterprise Service Bus (ESB). Boomi is able to communicate directly with Knack. The change-over occurred in January, 2026.

Since we converted this code into an async Sanicarrow-up-right app we haven't had issues with it failing. But we did previously with Flask and never really got to understand the root issues.

If it goes down, log into atd-data01 via ssh and restart the containerized app with docker restart cctv-service.

atd-data01 is our main/production data publishing server.

If atd-data01 crashes, it would just need to be restarted. Insert bash command sudo reboot. All of the data scripts are on cron jobs and will restart at various times. The two service app in docker containers on atd-data01 do need to be restarted manually. Those restart scripts live in their respective Github READMEs.

Bash Commands

Allocate Disk Space

  1. List volumes and usage:

  2. Check the free available space in the Volume group

  3. Extend the volume (here, adding 8GB)

  4. Expand the volume:

  5. All done.

Miscellaneous:

run all shell scripts inside a folder

scp transfer files from local to remote directory:

Amazon AWS

connect to instance

Last updated