API Reference
GETstatus/{task_id}

Get Task Status

Get Task Status is a GET request to https://api.sharkcluster.com/status/{task_id} in the Server Management section of the SharkCluster API. Retrieves the current status of a background task. It provides a progress percentage, execution logs, and the final server IP address once the task is complete. It takes 1 parameter, 1 required (taskId).

Request URL

GEThttps://api.sharkcluster.com/status/{task_id}

How do you call Get Task Status?

  1. 1Get a token from the login endpoint (POST /login) and send it as Authorization: Bearer <token>. See Login.
  2. 2Send a GET request to https://api.sharkcluster.com/status/{task_id}, replacing {task_id} in the path with your own value.

Request parameters

ParameterTypeDescription
taskId
Required
stringThe Unique ID returned when you started the task (e.g., from /add_server).
Authorization
Required
headerBearer token for authentication (e.g., Bearer eyJ...).

What does Get Task Status return?

A successful call returns a JSON object with the fields progress, logs, ip_address, status, server_name, application_name and result. Check that result is true in the body: like many SharkCluster endpoints, a failure can come back with HTTP 200 and result: false. A failed call explains the problem in the body, for example "Task not found".

Request sample

const axios = require('axios');

const taskId = "your-task-id-here";

axios.get(`https://api.sharkcluster.com/status/${taskId}`, {
  headers: { 'Authorization': 'Bearer YOUR_TOKEN' }
})
.then(res => {
  console.log(`Current Status: ${res.data.status}`);
  console.log(`Progress: ${res.data.progress}%`);
  console.log(`Latest Log: ${res.data.logs.pop()}`);
})
.catch(err => console.error("Error fetching status:", err));

Response

{
    "progress": 100,
    "logs": [
        "Task initiated",
        "Provisioning digitalocean instance...",
        "Instance provisioned. Fetching IP address...",
        "Server IP: 203.0.113.2. Establishing SSH connection...",
        "Retrying in 2 seconds...",
        "SSH connection established. Starting system setup...",
        "Setting up core system software (Nginx/OpenLiteSpeed)...",
        "Running command: sudo killall apt apt-get dpkg || true",
        "Running command: sudo rm -f /var/lib/apt/lists/lock /var/lib/dpkg/lock-frontend /var/cache/apt/archives/lock",
        "Running command: sudo dpkg --configure -a",
        "STDERR: dpkg: error: dpkg database lock was locked by another process with pid 1297\nNote: removing the lock file is always wrong, can damage the locked area\nand the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.",
        "Running command: sudo add-apt-repository universe -y",
        "STDOUT: Reading package lists...",
        "STDOUT: Adding component(s) 'universe' to all repositories.",
        "Running command: sudo add-apt-repository main -y",
        "STDOUT: Reading package lists...",
        "STDERR: ",
        "Running command: sudo add-apt-repository restricted -y",
        "STDOUT: Reading package lists...",
        "STDERR: ",
        "Running command: sudo add-apt-repository multiverse -y",
        "STDOUT: Reading package lists...",
        "STDOUT: ",
        "STDERR: Could not get lock /var/lib/apt/lists/lock. It is held by process 1382 (apt-get)",
        "STDOUT: Adding component(s) 'multiverse' to all repositories.",
        "Running command: sudo apt-get update --fix-missing",
        "STDOUT: Reading package lists...",
        "Running command: sudo ufw allow 22/tcp",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 1/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 2/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 3/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 4/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 5/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 6/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "dpkg is locked. Retrying (Attempt 7/20) in 5 seconds...",
        "Running command: sudo ufw allow 80/tcp",
        "STDOUT: Rules updated\nRules updated (v6)",
        "Running command: sudo ufw allow 443/tcp",
        "STDOUT: Rules updated\nRules updated (v6)",
        "Running command: sudo ufw --force enable",
        "STDOUT: Firewall is active and enabled on system startup",
        "STDOUT: ",
        "STDOUT: Reading state information...",
        "STDOUT: Suggested packages:",
        "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 nginx amd64 1.24.0-2ubuntu7.7 [522 kB]",
        "STDERR: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: Fetched 566 kB in 0s (11.6 MB/s)",
        "STDOUT: ",
        "STDOUT: 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ...",
        "STDOUT: (Reading database ...",
        "STDOUT: Setting up nginx-common (1.24.0-2ubuntu7.7) ...",
        "STDOUT: debconf: falling back to frontend: Teletype",
        "STDOUT: Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /usr/lib/systemd/system/nginx.service.",
        "STDOUT: Setting up nginx (1.24.0-2ubuntu7.7) ...",
        "STDOUT: ",
        "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
        "STDOUT: Processing triggers for ufw (0.36.2-6) ...",
        "STDERR: debconf: unable to initialize frontend: Dialog",
        "STDERR: debconf: falling back to frontend: Teletype",
        "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "Running command: sudo add-apt-repository -y universe && sudo apt-get update",
        "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
        "STDOUT: Reading package lists...",
        "STDOUT: ",
        "STDOUT: Adding component(s) 'universe' to all repositories.",
        "STDOUT: Hit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease\nHit:4 http://security.ubuntu.com/ubuntu noble-security InRelease",
        "STDOUT: Hit:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease",
        "STDOUT: Reading package lists...",
        "STDOUT: ",
        "Running command: sudo apt-get install -y acl || true",
        "STDOUT: Building dependency tree...",
        "STDOUT: ",
        "STDOUT: acl",
        "STDOUT: 0 upgraded, 1 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 39.4 kB of archives.\nAfter this operation, 197 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 acl amd64 2.3.2-1build1.1 [39.4 kB]",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: Fetched 39.4 kB in 0s (620 kB/s)",
        "STDOUT: ",
        "STDOUT: (Reading database ... 74879 files and directories currently installed.)",
        "STDOUT: ",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "Running command: sudo systemctl enable nginx",
        "STDERR: Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.\nExecuting: /usr/lib/systemd/systemd-sysv-install enable nginx",
        "Running command: sudo systemctl restart nginx",
        "Running command: sudo add-apt-repository universe",
        "STDOUT: Hit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease",
        "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
        "STDOUT: Reading package lists...",
        "STDOUT: Adding component(s) 'universe' to all repositories.",
        "Running command: sudo apt-get update",
        "STDOUT: Hit:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease",
        "STDOUT: Reading package lists...",
        "STDOUT: ",
        "Running command: echo \"mysecureshell mysecureshell/sftp_config select keep\" | sudo debconf-set-selections",
        "Running command: sudo apt-get install -y mysecureshell",
        "STDOUT: ",
        "STDOUT: Reading state information...",
        "STDOUT: mysecureshell",
        "STDOUT: 0 upgraded, 1 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 64.4 kB of archives.\nAfter this operation, 217 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 mysecureshell amd64 2.0-2build4 [64.4 kB]",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDOUT: ",
        "STDOUT: Setting up mysecureshell (2.0-2build4) ...",
        "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDERR: No user sessions are running outdated binaries.",
        "Running command: sudo service ssh restart",
        "Running command: sudo service mysecureshell restart",
        "Running command: sudo apt-get install vsftpd -y",
        "STDOUT: Building dependency tree...",
        "STDOUT: Reading state information...",
        "STDOUT: The following additional packages will be installed:",
        "STDOUT: ssl-cert vsftpd",
        "STDOUT: 0 upgraded, 2 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 137 kB of archives.\nAfter this operation, 380 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/main amd64 ssl-cert all 1.1.2ubuntu1 [17.8 kB]",
        "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 vsftpd amd64 3.0.5-0ubuntu3.1 [120 kB]",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDOUT: (Reading database ...",
        "STDOUT: Preparing to unpack .../ssl-cert_1.1.2ubuntu1_all.deb ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Setting up vsftpd (3.0.5-0ubuntu3.1) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
        "STDERR: debconf: falling back to frontend: Teletype",
        "STDERR: No VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "Running command: sudo sed -i \"s/anonymous_enable=YES/anonymous_enable=NO/\" /etc/vsftpd.conf",
        "Running command: sudo sed -i \"s/#local_enable=YES/local_enable=YES/\" /etc/vsftpd.conf",
        "Running command: sudo sed -i \"s/#write_enable=YES/write_enable=YES/\" /etc/vsftpd.conf",
        "Running command: sudo sed -i \"s/#chroot_local_user=YES/chroot_local_user=YES/\" /etc/vsftpd.conf",
        "Running command: sudo bash -c \"echo allow_writeable_chroot=YES >> /etc/vsftpd.conf\"",
        "Running command: sudo systemctl restart vsftpd",
        "Configuring MySQL database server...",
        "Running command: sudo apt-get update",
        "STDOUT: Hit:1 http://mirrors.digitalocean.com/ubuntu noble InRelease\nHit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease",
        "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
        "STDOUT: Reading package lists...",
        "Running command: sudo apt-get install mysql-server -y",
        "STDOUT: Building dependency tree...",
        "STDOUT: Reading state information...",
        "STDOUT: Suggested packages:",
        "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 mysql-client-8.0 amd64 8.0.45-0ubuntu0.24.04.1 [22.5 kB]",
        "STDOUT: Get:10 http://mirrors.digitalocean.com/ubuntu noble/main amd64 liburi-perl all 5.27-1 [88.0 kB]",
        "STDOUT: Get:13 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libfcgi0t64 amd64 2.4.2-2.1ubuntu0.24.04.1 [27.0 kB]",
        "STDOUT: Get:14 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libfcgi-perl amd64 0.82+ds-3build2 [21.7 kB]",
        "STDOUT: Get:17 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libencode-locale-perl all 1.05-3 [11.6 kB]",
        "STDOUT: Get:22 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libio-html-perl all 1.004-3 [15.9 kB]",
        "STDOUT: Get:28 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 mysql-server all 8.0.45-0ubuntu0.24.04.1 [9524 B]",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: 5%",
        "STDOUT: Selecting previously unselected package mysql-client-core-8.0.",
        "STDOUT: Unpacking mysql-server-core-8.0 (8.0.45-0ubuntu0.24.04.1) ...",
        "STDOUT: Setting up mysql-common (5.8+1.1.0build1) ...",
        "STDOUT: update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
        "STDOUT: Selecting previously unselected package mysql-server-8.0.\r\n(Reading database ...",
        "STDOUT: (Reading database ... 35%\r(Reading database ... 40%",
        "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline",
        "STDOUT: Preparing to unpack .../02-liburi-perl_5.27-1_all.deb ...",
        "STDOUT: Selecting previously unselected package libhtml-parser-perl:amd64.",
        "STDOUT: Preparing to unpack .../07-libcgi-fast-perl_1%3a2.17-1_all.deb ...",
        "STDOUT: Selecting previously unselected package libfcgi-bin.",
        "STDOUT: Unpacking liblwp-mediatypes-perl (6.04-2) ...",
        "STDOUT: Unpacking mecab-ipadic (2.7.0-20070801+main-3) ...",
        "STDOUT: Preparing to unpack .../19-mecab-ipadic-utf8_2.7.0-20070801+main-3_all.deb ...",
        "STDOUT: Setting up libprotobuf-lite32t64:amd64 (3.21.12-8.2ubuntu0.3) ...",
        "STDOUT: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
        "STDOUT: ",
        "STDOUT: mysqld will log errors to /var/log/mysql/error.log",
        "STDOUT: mysqld is running as pid 6738",
        "STDOUT: Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /usr/lib/systemd/system/mysql.service.",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91",
        "STDOUT: ",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: emitting double-array:   0% |                                           |",
        "STDOUT: emitting double-array:   6% |##                                         |",
        "STDOUT: emitting double-array:  23% |#########                                  |",
        "STDOUT: emitting double-array:  29% |############                               |",
        "STDOUT: emitting matrix      :  26% |###########                                |",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999",
        "STDOUT: reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393",
        "STDOUT: ",
        "STDOUT: emitting double-array:   0% |                                           |",
        "STDOUT: emitting double-array:   1% |                                           |",
        "STDOUT: emitting double-array:   4% |#                                          |",
        "STDOUT: emitting double-array:  18% |#######                                    |",
        "STDOUT: emitting double-array:  99% |########################################## |",
        "STDOUT: Setting up libcgi-pm-perl (4.63-1) ...",
        "STDOUT: Processing triggers for libc-bin (2.39-0ubuntu8.5) ...",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "Running command: sudo useradd -m -d /home/captain/ -s /bin/bash master_demo",
        "Running command: echo 'master_demo:4e557db818cb' | sudo chpasswd",
        "Running command: sudo usermod -aG ssh master_demo",
        "Running command: sudo mkdir -p /home/demo.sharkcluster.com/",
        "Running command: sudo mkdir -p /home/captain/",
        "Running command: sudo ln -s /home/demo.sharkcluster.com/ /home/captain/application",
        "Running command: sudo chown -R master_demo:www-data /home/captain/",
        "Running command: sudo chmod -R 755 /home/captain/",
        "Running command: sudo chown -R root:root /home/demo.sharkcluster.com/",
        "Running command: echo \"cd /home/captain/\" | sudo tee -a /home/captain/.bashrc",
        "STDOUT: cd /home/captain/",
        "Running command: sudo systemctl restart ssh",
        "Running command: echo master_demo | sudo tee -a /etc/vsftpd.userlist",
        "Running command: sudo systemctl restart vsftpd",
        "Running command: sudo mkdir -p /home/captain/.ssh",
        "Running command: echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXAMPLEKEYFORDOCUMENTATIONONLY0000000000 user@example' | sudo tee -a /home/captain/.ssh/authorized_keys",
        "Running command: sudo chown -R master_demo:www-data /home/captain/.ssh",
        "Running command: sudo chmod 700 /home/captain/.ssh",
        "Running command: sudo chmod 600 /home/captain/.ssh/authorized_keys",
        "Running command: sudo sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config",
        "Running command: sudo sed -i 's/#PubkeyAuthentication.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config",
        "Running command: sudo sed -i 's/#AuthorizedKeysCommand.*/AuthorizedKeysCommand none/' /etc/ssh/sshd_config",
        "Running command: sudo sed -i 's/#PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config || true",
        "Running command: sudo grep -q '^ChallengeResponseAuthentication' /etc/ssh/sshd_config && sudo sed -i 's/^ChallengeResponseAuthentication.*/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config || sudo bash -c \"echo 'ChallengeResponseAuthentication yes' >> /etc/ssh/sshd_config\"",
        "Running command: sudo sed -i '/^AllowUsers/d' /etc/ssh/sshd_config",
        "Running command: [ -f /etc/ssh/sshd_config.d/60-cloudimg-settings.conf ] && sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config.d/60-cloudimg-settings.conf",
        "Running command: [ -f /etc/ssh/sshd_config.d/50-cloud-init.conf ] && sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config.d/50-cloud-init.conf",
        "Running command: sudo service ssh restart",
        "Running command: sudo service mysecureshell restart",
        "Setting up application folders and FTP access...",
        "Running command: sudo adduser --disabled-password --gecos \"\" --shell /usr/sbin/nologin --home /home/demo.sharkcluster.com/demo/ demo",
        "STDOUT: info: Adding user `demo' ...",
        "STDOUT: info: Selecting UID/GID from range 1000 to 59999 ...",
        "STDOUT: info: Adding new user `demo' (1001) with group `demo (1001)' ...",
        "STDOUT: info: Creating home directory `/home/demo.sharkcluster.com/demo/' ...",
        "STDOUT: info: Copying files from `/etc/skel' ...",
        "STDOUT: info: Adding user `demo' to group `users' ...",
        "Running command: echo \"demo:8fb2e6868428\" | sudo chpasswd",
        "Running command: sudo usermod -g www-data demo",
        "Running command: sudo mkdir -p /home/demo.sharkcluster.com/demo/htdocs",
        "Running command: sudo chown -R root:demo /home/demo.sharkcluster.com/demo",
        "Running command: sudo chown -R demo:www-data /home/demo.sharkcluster.com/demo/htdocs",
        "Running command: sudo bash -c \"echo 'demo ALL=(ALL:ALL) ALL' >> /etc/sudoers\"",
        "Running command: sudo chmod 755 /home/demo.sharkcluster.com/demo/",
        "Creating application database...",
        "Running command: sudo mysql -u root -e \"CREATE DATABASE undefined;\" || echo \"Failed to create database.\"",
        "Running command: sudo mysql -u root -e \"CREATE USER '8c37a48f'@'localhost' IDENTIFIED WITH mysql_native_password BY '<redacted>';\" || echo \"Failed to create user.\"",
        "Running command: sudo mysql -u root -e \"GRANT ALL PRIVILEGES ON undefined.* TO '8c37a48f'@'localhost';\"",
        "Running command: sudo mysql -u root -e \"FLUSH PRIVILEGES;\"",
        "Installing PHP and required extensions...",
        "Running command: sudo apt-get update",
        "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
        "STDOUT: Reading package lists...",
        "Running command: sudo apt-get install -y software-properties-common",
        "STDOUT: Building dependency tree...",
        "STDOUT: Reading state information...",
        "STDOUT: The following packages will be upgraded:",
        "STDOUT: 2 upgraded, 0 newly installed, 0 to remove and 164 not upgraded.\nNeed to get 44.4 kB of archives.\nAfter this operation, 0 B of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 software-properties-common all 0.99.49.4 [14.4 kB]",
        "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 python3-software-properties all 0.99.49.4 [30.0 kB]",
        "STDERR: debconf: unable to initialize frontend: Readline",
        "STDOUT: (Reading database ...",
        "STDOUT: (Reading database ...",
        "STDOUT: 90%",
        "STDOUT: ",
        "STDOUT: Unpacking python3-software-properties (0.99.49.4) over (0.99.49.2) ...",
        "STDOUT: Setting up python3-software-properties (0.99.49.4) ...",
        "STDOUT: Setting up software-properties-common (0.99.49.4) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDERR: ",
        "Running command: sudo add-apt-repository ppa:ondrej/php -y",
        "STDOUT: Hit:6 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Err:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease\n  Could not connect to ppa.launchpadcontent.net:443 (203.0.113.3). - connect (111: Connection refused)",
        "STDOUT: Reading package lists...",
        "STDOUT: PPA publishes dbgsym, you may need to include 'main/debug' component\nRepository: 'Types: deb\nURIs: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/\nSuites: noble\nComponents: main\n'\nDescription:\nCo-installable PHP versions: PHP 5.6, PHP 7.x, PHP 8.x and most requested extensions are included. Packages are provided for *Current* Ubuntu *LTS* releases (https://wiki.ubuntu.com/Releases).  Expanded Security Maintenance releases ARE NOT supported.\n\nDebian stable, oldstable and Debian LTS packages are provided from a separate repository: https://deb.sury.org/#debian-dpa\n\nYou can get more information about the packages at https://deb.sury.org\n\nBUGS&FEATURES: This PPA has a issue tracker:\nhttps://deb.sury.org/#bug-reporting\n\nIssues reported in a private email don't scale and most likely will be ignored.  I simply don't have capacity to answer questions privately.\n\nDONATION AND COMMERCIAL SUPPORT: Support for PHP packages for older Debian and Ubuntu release can be bought from https://www.freexian.com/lts/php/\nMore info: https://launchpad.net/~ondrej/+archive/ubuntu/php\nAdding repository.",
        "Running command: sudo apt-get install -y php8.3-fpm",
        "STDOUT: ",
        "STDOUT: Reading state information...",
        "STDOUT: Suggested packages:\n  php-pear",
        "STDOUT: php8.3-readline",
        "STDOUT: 0 upgraded, 6 newly installed, 0 to remove and 164 not upgraded.\nNeed to get 4980 kB of archives.\nAfter this operation, 22.5 MB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/main amd64 php-common all 2:93ubuntu2 [13.9 kB]",
        "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-common amd64 8.3.6-0ubuntu0.24.04.8 [740 kB]",
        "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-opcache amd64 8.3.6-0ubuntu0.24.04.8 [371 kB]",
        "STDOUT: Get:5 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-cli amd64 8.3.6-0ubuntu0.24.04.8 [1916 kB]",
        "STDOUT: Get:6 http://mirrors.digitalocean.com/ubuntu noble-updates/universe amd64 php8.3-fpm amd64 8.3.6-0ubuntu0.24.04.8 [1925 kB]",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: Fetched 4980 kB in 0s (18.3 MB/s)",
        "STDOUT: Selecting previously unselected package php-common.\r\n(Reading database ...",
        "STDOUT: (Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ...",
        "STDOUT: (Reading database ...",
        "STDOUT: (Reading database ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Preparing to unpack .../5-php8.3-fpm_8.3.6-0ubuntu0.24.04.8_amd64.deb ...",
        "STDOUT: Setting up php-common (2:93ubuntu2) ...",
        "STDOUT: Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /usr/lib/systemd/system/phpsessionclean.timer.",
        "STDOUT: Setting up php8.3-common (8.3.6-0ubuntu0.24.04.8) ...",
        "STDOUT: debconf: unable to initialize frontend: Dialog",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/ctype.ini with new version",
        "STDOUT: debconf: falling back to frontend: Teletype",
        "STDOUT: ",
        "STDOUT: debconf: falling back to frontend: Readline",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/fileinfo.ini with new version",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/ffi.ini with new version",
        "STDOUT: debconf: falling back to frontend: Readline",
        "STDOUT: ",
        "STDOUT: debconf: (This frontend requires a controlling tty.)",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/gettext.ini with new version",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/phar.ini with new version",
        "STDOUT: ",
        "STDOUT: debconf: falling back to frontend: Teletype",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/shmop.ini with new version",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/sockets.ini with new version",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/sysvsem.ini with new version",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/sysvshm.ini with new version",
        "STDOUT: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/tokenizer.ini with new version",
        "STDOUT: ",
        "STDOUT: debconf: unable to initialize frontend: Readline",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/readline.ini with new version",
        "STDOUT: Setting up php8.3-opcache (8.3.6-0ubuntu0.24.04.8) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Creating config file /etc/php/8.3/mods-available/opcache.ini with new version",
        "STDOUT: using /usr/bin/phar.phar8.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Setting up php8.3-fpm (8.3.6-0ubuntu0.24.04.8) ...",
        "STDOUT: Creating config file /etc/php/8.3/fpm/php.ini with new version",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDERR: No VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "STDOUT: ",
        "STDOUT: poppler-data x11-common xfonts-encodings xfonts-utils",
        "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libstdc++6 amd64 14.2.0-4ubuntu2~24.04.1 [792 kB]",
        "STDOUT: Preparing to unpack .../45-php8.3-zip_8.3.6-0ubuntu0.24.04.8_amd64.deb ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: debconf: unable to initialize frontend: Dialog",
        "STDOUT: debconf: falling back to frontend: Teletype",
        "STDOUT: ",
        "STDOUT: Setting up fonts-droid-fallback (1:6.0.1r16-1.1build1) ...",
        "STDOUT: Setting up libzip4t64:amd64 (1.7.3-1.1ubuntu2) ...",
        "STDOUT: Setting up php8.3-gd (8.3.6-0ubuntu0.24.04.8) ...",
        "STDOUT: debconf: unable to initialize frontend: Readline",
        "STDOUT: Setting up xfonts-utils (1:7.7+6build3) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Setting up libmagickwand-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2build2) ...",
        "STDOUT: Setting up libavahi-client3:amd64 (0.8-13ubuntu6.1) ...",
        "STDOUT: Setting up libgs10:amd64 (10.02.1~dfsg1-0ubuntu7.8) ...",
        "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
        "STDOUT: Processing triggers for php8.3-cli (8.3.6-0ubuntu0.24.04.8) ...",
        "STDERR: debconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype",
        "STDERR: Restarting services...",
        "STDERR: systemctl restart multipathd.service mysql.service packagekit.service",
        "STDERR: Service restarts being deferred:\n systemctl restart unattended-upgrades.service\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
        "Running command: sudo apt-get install -y php8.3-xml",
        "STDOUT: Building dependency tree...",
        "STDOUT: ",
        "Running command: sudo apt-get install -y libapache2-mod-fcgid",
        "STDOUT: Reading package lists...",
        "STDOUT: Reading state information...",
        "STDOUT: The following additional packages will be installed:",
        "STDOUT: apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser",
        "STDOUT: libaprutil1-ldap libaprutil1t64 liblua5.4-0",
        "STDOUT: 0 upgraded, 7 newly installed, 0 to remove and 161 not upgraded.\nNeed to get 1786 kB of archives.\nAfter this operation, 6610 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libapr1t64 amd64 1.7.2-3.1ubuntu0.1 [108 kB]",
        "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1t64 amd64 1.6.3-1.1ubuntu7 [91.9 kB]",
        "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.3-1.1ubuntu7 [11.2 kB]",
        "STDOUT: Get:4 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1-ldap amd64 1.6.3-1.1ubuntu7 [9116 B]",
        "STDOUT: Get:6 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 apache2-bin amd64 2.4.58-1ubuntu8.11 [1335 kB]",
        "STDOUT: Get:7 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 libapache2-mod-fcgid amd64 1:2.3.9-4 [64.9 kB]",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: Fetched 1786 kB in 0s (10.4 MB/s)",
        "STDOUT: Selecting previously unselected package libapr1t64:amd64.\r\n(Reading database ...",
        "STDOUT: 5%",
        "STDOUT: ",
        "STDOUT: (Reading database ... 75%",
        "STDOUT: (Reading database ...",
        "STDOUT: Unpacking libapr1t64:amd64 (1.7.2-3.1ubuntu0.1) ...",
        "STDOUT: Unpacking libaprutil1t64:amd64 (1.6.3-1.1ubuntu7) ...",
        "STDOUT: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.3-1.1ubuntu7) ...",
        "STDOUT: ",
        "STDOUT: Unpacking liblua5.4-0:amd64 (5.4.6-3build2) ...",
        "STDOUT: Unpacking apache2-bin (2.4.58-1ubuntu8.11) ...",
        "STDOUT: Unpacking libapache2-mod-fcgid (1:2.3.9-4) ...",
        "STDOUT: Setting up apache2-bin (2.4.58-1ubuntu8.11) ...",
        "STDOUT: ",
        "STDERR: debconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype",
        "STDERR: ",
        "Running command: sudo a2enmod proxy_fcgi setenvif",
        "Running command: sudo a2enconf php*-fpm",
        "STDERR: sudo: a2enconf: command not found",
        "Running command: sudo systemctl restart nginx",
        "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs && curl -sS https://getcomposer.org/installer | php\"",
        "STDOUT: All settings correct for using Composer",
        "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs && php composer.phar create-project --prefer-dist laravel/laravel laravel\"",
        "STDERR: Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.",
        "STDERR: - Downloading laravel/laravel (v13.4.0)",
        "STDERR: - Installing laravel/laravel (v13.4.0): Extracting archive",
        "STDERR: > @php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
        "STDERR: Loading composer repositories with package information",
        "STDERR: - Locking phpunit/php-code-coverage (12.5.6)",
        "STDERR: - Downloading phar-io/version (3.2.1)",
        "STDERR: 42/110 [==========>-----------------]  38%",
        "STDERR: 80/110 [====================>-------]  72%",
        "STDERR: 95/110 [========================>---]  86%",
        "STDERR: - Installing doctrine/lexer (3.0.1): Extracting archive",
        "STDERR: - Installing fakerphp/faker (v1.24.1): Extracting archive",
        "STDERR: - Installing symfony/polyfill-mbstring (v1.37.0): Extracting archive",
        "STDERR: - Installing psr/http-client (1.0.3): Extracting archive",
        "STDERR: - Installing nunomaduro/termwind (v2.4.0): Extracting archive",
        "STDERR: - Installing egulias/email-validator (4.0.4): Extracting archive",
        "STDERR: - Installing laravel/framework (v13.7.0): Extracting archive",
        "STDERR: - Installing phpunit/php-code-coverage (12.5.6): Extracting archive",
        "STDERR: 10/100 [==>-------------------------]  10%",
        "STDERR: 50/100 [==============>-------------]  50%",
        "STDERR: 70/100 [===================>--------]  70%",
        "STDERR: 80/100 [======================>-----]  80%",
        "STDERR: 90/100 [=========================>--]  90%",
        "STDERR: ",
        "STDERR: Generating optimized autoload files",
        "STDERR: > Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
        "STDERR: > @php artisan package:discover --ansi",
        "STDOUT: \u001b[32;1mDONE\u001b[39;22m",
        "STDERR: 79 packages you are using are looking for funding.",
        "STDOUT: \u001b[37;44m INFO \u001b[39;49m No publishable resources for tag \u001b[1m[laravel-assets]\u001b[22m.",
        "STDERR: No security vulnerability advisories found.",
        "STDERR: > @php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
        "STDERR: > @php artisan migrate --graceful --ansi",
        "STDOUT: \u001b[30;43m WARN \u001b[39;49m could not find driver (Connection: sqlite, Database: database/database.sqlite, SQL: select exists (select 1 from \"main\".sqlite_master where name = 'migrations' and type = 'table') as \"exists\").",
        "Running command: sudo chown -R demo:www-data /home/demo.sharkcluster.com/demo/htdocs/laravel",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel -type d -exec chmod 755 {} +",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel -type f -exec chmod 644 {} +",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/storage -type d -exec chmod 775 {} +",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/storage -type f -exec chmod 664 {} +",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/bootstrap/cache -type d -exec chmod 775 {} +",
        "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/bootstrap/cache -type f -exec chmod 664 {} +",
        "Running command: sudo rm -f /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
        "Running command: sudo touch /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
        "Running command: sudo chown demo:www-data /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
        "Running command: sudo chmod 664 /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
        "Running command: sudo cp /home/demo.sharkcluster.com/demo/htdocs/laravel/.env.example /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/DB_CONNECTION=sqlite/DB_CONNECTION=mysql/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/# DB_HOST=127.0.0.1/DB_HOST=127.0.0.1/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/# DB_PORT=3306/DB_PORT=3306/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/# DB_DATABASE=laravel/DB_DATABASE=demo/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/# DB_USERNAME=root/DB_USERNAME=8c37a48f/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo sed -i 's/# DB_PASSWORD=/DB_PASSWORD=<redacted>/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
        "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs/laravel && php artisan key:generate\"",
        "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs/laravel && php artisan session:table\"",
        "STDOUT: ERROR  Migration already exists.",
        "STDOUT: 837▕             $exceptionType = ($isUniqueConstraintError = $this->isUniqueConstraintError($e))\n    838▕                 ? UniqueConstraintViolationException::class\n    839▕                 : QueryException::class;\n    840▕ \n  ➜ 841▕             $exception = new $exceptionType(\n    842▕                 $this->getNameWithReadWriteType(),\n    843▕                 $query,\n    844▕                 $this->prepareBindings($bindings),\n    845▕                 $e,\n\n      \u001b[2m+39 vendor frames \u001b[22m\n\n  40  artisan:16\n      Illuminate\\Foundation\\Application::handleCommand()",
        "Running command: echo 'server {\n                  listen 80;\n                  server_name demo-demo.sharkcluster.com;\n\n                  root /home/demo.sharkcluster.com/demo/htdocs/laravel/public;\n                  index index.php index.html index.htm;\n\n                  access_log /var/log/nginx/demo_access.log;\n                  error_log /var/log/nginx/demo_error.log;\n                  \n                  location / {\n                      try_files $uri $uri/ /index.php?$query_string;\n                  }\n\n                  location ~ \\.php$ {\n                      include snippets/fastcgi-php.conf;\n                      fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;\n                      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n                      include fastcgi_params;\n                  }\n\n                  location ~ /.ht {\n                      deny all;\n                  }\n                }' | sudo tee /etc/nginx/sites-available/demo.conf > /dev/null",
        "Running command: sudo ln -sf /etc/nginx/sites-available/demo.conf /etc/nginx/sites-enabled/",
        "Running command: sudo nginx -t",
        "Running command: sudo systemctl reload nginx",
        "Waiting for DNS propagation of demo-demo.sharkcluster.com...",
        "Installing SSL for demo-demo.sharkcluster.com...",
        "Running command: sudo apt-get update -y",
        "STDOUT: Hit:6 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
        "STDOUT: Reading package lists...",
        "STDERR: W",
        "Running command: sudo apt-get install -y certbot python3-certbot-nginx",
        "STDOUT: Building dependency tree...",
        "STDOUT: ",
        "STDOUT: The following additional packages will be installed:\n  python3-acme python3-certbot python3-configargparse python3-icu\n  python3-josepy python3-parsedatetime python3-rfc3339",
        "STDOUT: certbot python3-acme python3-certbot python3-certbot-nginx\n  python3-configargparse python3-icu python3-josepy python3-parsedatetime\n  python3-rfc3339",
        "STDOUT: 0 upgraded, 9 newly installed, 0 to remove and 161 not upgraded.\nNeed to get 1097 kB of archives.\nAfter this operation, 5699 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 python3-josepy all 1.14.0-1 [22.1 kB]",
        "STDOUT: Get:4 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 python3-configargparse all 1.7-1 [31.7 kB]",
        "STDOUT: Get:7 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 certbot all 2.9.0-1 [89.2 kB]",
        "STDOUT: Get:9 http://mirrors.digitalocean.com/ubuntu noble/main amd64 python3-icu amd64 2.12-1build2 [534 kB]",
        "STDERR: dpkg-preconfigure: unable to re-open stdin:",
        "STDOUT: Selecting previously unselected package python3-josepy.\r\n(Reading database ...",
        "STDOUT: (Reading database ...",
        "STDOUT: Preparing to unpack .../6-certbot_2.9.0-1_all.deb ...",
        "STDOUT: Setting up python3-configargparse (1.7-1) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Setting up python3-josepy (1.14.0-1) ...",
        "STDOUT: ",
        "STDOUT: ",
        "STDOUT: Setting up python3-certbot (2.9.0-1) ...",
        "STDOUT: Setting up certbot (2.9.0-1) ...",
        "STDOUT: ",
        "STDOUT: Setting up python3-certbot-nginx (2.9.0-1) ...",
        "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
        "STDERR: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
        "STDERR: debconf: (This frontend requires a controlling tty.)",
        "STDERR: Running kernel seems to be up-to-date.",
        "Running command: sudo certbot --nginx -d demo-demo.sharkcluster.com --non-interactive --agree-tos --redirect -m [email protected]",
        "STDERR: Saving debug log to /var/log/letsencrypt/letsencrypt.log",
        "STDOUT: Requesting a certificate for demo-demo.sharkcluster.com",
        "STDOUT: Successfully received certificate.\nCertificate is saved at: /etc/letsencrypt/live/demo-demo.sharkcluster.com/fullchain.pem\nKey is saved at:         /etc/letsencrypt/live/demo-demo.sharkcluster.com/privkey.pem\nThis certificate expires on 2026-08-03.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate",
        "STDOUT: Successfully deployed certificate for demo-demo.sharkcluster.com to /etc/nginx/sites-enabled/demo.conf",
        "STDOUT: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate\n * Donating to EFF:                    https://eff.org/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",
        "Running command: sudo systemctl restart nginx",
        "Finalizing permissions and completing setup...",
        "Server installation completed successfully."
    ],
    "ip_address": "203.0.113.2",
    "status": "done",
    "server_name": "demo",
    "application_name": "demo",
    "result": {
        "ip": "203.0.113.2",
        "logs": [
            "Task initiated",
            "Provisioning digitalocean instance...",
            "Instance provisioned. Fetching IP address...",
            "Server IP: 203.0.113.2. Establishing SSH connection...",
            "Retrying in 2 seconds...",
            "SSH connection established. Starting system setup...",
            "Setting up core system software (Nginx/OpenLiteSpeed)...",
            "Running command: sudo killall apt apt-get dpkg || true",
            "Running command: sudo rm -f /var/lib/apt/lists/lock /var/lib/dpkg/lock-frontend /var/cache/apt/archives/lock",
            "Running command: sudo dpkg --configure -a",
            "STDERR: dpkg: error: dpkg database lock was locked by another process with pid 1297\nNote: removing the lock file is always wrong, can damage the locked area\nand the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>.",
            "Running command: sudo add-apt-repository universe -y",
            "STDOUT: Reading package lists...",
            "STDOUT: Adding component(s) 'universe' to all repositories.",
            "Running command: sudo add-apt-repository main -y",
            "STDOUT: Reading package lists...",
            "STDERR: ",
            "Running command: sudo add-apt-repository restricted -y",
            "STDOUT: Reading package lists...",
            "STDERR: ",
            "Running command: sudo add-apt-repository multiverse -y",
            "STDOUT: Reading package lists...",
            "STDOUT: ",
            "STDERR: Could not get lock /var/lib/apt/lists/lock. It is held by process 1382 (apt-get)",
            "STDOUT: Adding component(s) 'multiverse' to all repositories.",
            "Running command: sudo apt-get update --fix-missing",
            "STDOUT: Reading package lists...",
            "Running command: sudo ufw allow 22/tcp",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 1/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 2/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 3/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 4/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 5/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 6/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "dpkg is locked. Retrying (Attempt 7/20) in 5 seconds...",
            "Running command: sudo ufw allow 80/tcp",
            "STDOUT: Rules updated\nRules updated (v6)",
            "Running command: sudo ufw allow 443/tcp",
            "STDOUT: Rules updated\nRules updated (v6)",
            "Running command: sudo ufw --force enable",
            "STDOUT: Firewall is active and enabled on system startup",
            "STDOUT: ",
            "STDOUT: Reading state information...",
            "STDOUT: Suggested packages:",
            "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 nginx amd64 1.24.0-2ubuntu7.7 [522 kB]",
            "STDERR: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: Fetched 566 kB in 0s (11.6 MB/s)",
            "STDOUT: ",
            "STDOUT: 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ...",
            "STDOUT: (Reading database ...",
            "STDOUT: Setting up nginx-common (1.24.0-2ubuntu7.7) ...",
            "STDOUT: debconf: falling back to frontend: Teletype",
            "STDOUT: Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /usr/lib/systemd/system/nginx.service.",
            "STDOUT: Setting up nginx (1.24.0-2ubuntu7.7) ...",
            "STDOUT: ",
            "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
            "STDOUT: Processing triggers for ufw (0.36.2-6) ...",
            "STDERR: debconf: unable to initialize frontend: Dialog",
            "STDERR: debconf: falling back to frontend: Teletype",
            "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "Running command: sudo add-apt-repository -y universe && sudo apt-get update",
            "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
            "STDOUT: Reading package lists...",
            "STDOUT: ",
            "STDOUT: Adding component(s) 'universe' to all repositories.",
            "STDOUT: Hit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease\nHit:4 http://security.ubuntu.com/ubuntu noble-security InRelease",
            "STDOUT: Hit:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease",
            "STDOUT: Reading package lists...",
            "STDOUT: ",
            "Running command: sudo apt-get install -y acl || true",
            "STDOUT: Building dependency tree...",
            "STDOUT: ",
            "STDOUT: acl",
            "STDOUT: 0 upgraded, 1 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 39.4 kB of archives.\nAfter this operation, 197 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 acl amd64 2.3.2-1build1.1 [39.4 kB]",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: Fetched 39.4 kB in 0s (620 kB/s)",
            "STDOUT: ",
            "STDOUT: (Reading database ... 74879 files and directories currently installed.)",
            "STDOUT: ",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "Running command: sudo systemctl enable nginx",
            "STDERR: Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.\nExecuting: /usr/lib/systemd/systemd-sysv-install enable nginx",
            "Running command: sudo systemctl restart nginx",
            "Running command: sudo add-apt-repository universe",
            "STDOUT: Hit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease",
            "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
            "STDOUT: Reading package lists...",
            "STDOUT: Adding component(s) 'universe' to all repositories.",
            "Running command: sudo apt-get update",
            "STDOUT: Hit:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease",
            "STDOUT: Reading package lists...",
            "STDOUT: ",
            "Running command: echo \"mysecureshell mysecureshell/sftp_config select keep\" | sudo debconf-set-selections",
            "Running command: sudo apt-get install -y mysecureshell",
            "STDOUT: ",
            "STDOUT: Reading state information...",
            "STDOUT: mysecureshell",
            "STDOUT: 0 upgraded, 1 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 64.4 kB of archives.\nAfter this operation, 217 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 mysecureshell amd64 2.0-2build4 [64.4 kB]",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDOUT: ",
            "STDOUT: Setting up mysecureshell (2.0-2build4) ...",
            "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDERR: No user sessions are running outdated binaries.",
            "Running command: sudo service ssh restart",
            "Running command: sudo service mysecureshell restart",
            "Running command: sudo apt-get install vsftpd -y",
            "STDOUT: Building dependency tree...",
            "STDOUT: Reading state information...",
            "STDOUT: The following additional packages will be installed:",
            "STDOUT: ssl-cert vsftpd",
            "STDOUT: 0 upgraded, 2 newly installed, 0 to remove and 166 not upgraded.\nNeed to get 137 kB of archives.\nAfter this operation, 380 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/main amd64 ssl-cert all 1.1.2ubuntu1 [17.8 kB]",
            "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 vsftpd amd64 3.0.5-0ubuntu3.1 [120 kB]",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDOUT: (Reading database ...",
            "STDOUT: Preparing to unpack .../ssl-cert_1.1.2ubuntu1_all.deb ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Setting up vsftpd (3.0.5-0ubuntu3.1) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
            "STDERR: debconf: falling back to frontend: Teletype",
            "STDERR: No VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "Running command: sudo sed -i \"s/anonymous_enable=YES/anonymous_enable=NO/\" /etc/vsftpd.conf",
            "Running command: sudo sed -i \"s/#local_enable=YES/local_enable=YES/\" /etc/vsftpd.conf",
            "Running command: sudo sed -i \"s/#write_enable=YES/write_enable=YES/\" /etc/vsftpd.conf",
            "Running command: sudo sed -i \"s/#chroot_local_user=YES/chroot_local_user=YES/\" /etc/vsftpd.conf",
            "Running command: sudo bash -c \"echo allow_writeable_chroot=YES >> /etc/vsftpd.conf\"",
            "Running command: sudo systemctl restart vsftpd",
            "Configuring MySQL database server...",
            "Running command: sudo apt-get update",
            "STDOUT: Hit:1 http://mirrors.digitalocean.com/ubuntu noble InRelease\nHit:2 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease\nHit:3 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease",
            "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
            "STDOUT: Reading package lists...",
            "Running command: sudo apt-get install mysql-server -y",
            "STDOUT: Building dependency tree...",
            "STDOUT: Reading state information...",
            "STDOUT: Suggested packages:",
            "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 mysql-client-8.0 amd64 8.0.45-0ubuntu0.24.04.1 [22.5 kB]",
            "STDOUT: Get:10 http://mirrors.digitalocean.com/ubuntu noble/main amd64 liburi-perl all 5.27-1 [88.0 kB]",
            "STDOUT: Get:13 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libfcgi0t64 amd64 2.4.2-2.1ubuntu0.24.04.1 [27.0 kB]",
            "STDOUT: Get:14 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libfcgi-perl amd64 0.82+ds-3build2 [21.7 kB]",
            "STDOUT: Get:17 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libencode-locale-perl all 1.05-3 [11.6 kB]",
            "STDOUT: Get:22 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libio-html-perl all 1.004-3 [15.9 kB]",
            "STDOUT: Get:28 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 mysql-server all 8.0.45-0ubuntu0.24.04.1 [9524 B]",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: 5%",
            "STDOUT: Selecting previously unselected package mysql-client-core-8.0.",
            "STDOUT: Unpacking mysql-server-core-8.0 (8.0.45-0ubuntu0.24.04.1) ...",
            "STDOUT: Setting up mysql-common (5.8+1.1.0build1) ...",
            "STDOUT: update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode",
            "STDOUT: Selecting previously unselected package mysql-server-8.0.\r\n(Reading database ...",
            "STDOUT: (Reading database ... 35%\r(Reading database ... 40%",
            "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline",
            "STDOUT: Preparing to unpack .../02-liburi-perl_5.27-1_all.deb ...",
            "STDOUT: Selecting previously unselected package libhtml-parser-perl:amd64.",
            "STDOUT: Preparing to unpack .../07-libcgi-fast-perl_1%3a2.17-1_all.deb ...",
            "STDOUT: Selecting previously unselected package libfcgi-bin.",
            "STDOUT: Unpacking liblwp-mediatypes-perl (6.04-2) ...",
            "STDOUT: Unpacking mecab-ipadic (2.7.0-20070801+main-3) ...",
            "STDOUT: Preparing to unpack .../19-mecab-ipadic-utf8_2.7.0-20070801+main-3_all.deb ...",
            "STDOUT: Setting up libprotobuf-lite32t64:amd64 (3.21.12-8.2ubuntu0.3) ...",
            "STDOUT: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
            "STDOUT: ",
            "STDOUT: mysqld will log errors to /var/log/mysql/error.log",
            "STDOUT: mysqld is running as pid 6738",
            "STDOUT: Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /usr/lib/systemd/system/mysql.service.",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91",
            "STDOUT: ",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: emitting double-array:   0% |                                           |",
            "STDOUT: emitting double-array:   6% |##                                         |",
            "STDOUT: emitting double-array:  23% |#########                                  |",
            "STDOUT: emitting double-array:  29% |############                               |",
            "STDOUT: emitting matrix      :  26% |###########                                |",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999",
            "STDOUT: reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393",
            "STDOUT: ",
            "STDOUT: emitting double-array:   0% |                                           |",
            "STDOUT: emitting double-array:   1% |                                           |",
            "STDOUT: emitting double-array:   4% |#                                          |",
            "STDOUT: emitting double-array:  18% |#######                                    |",
            "STDOUT: emitting double-array:  99% |########################################## |",
            "STDOUT: Setting up libcgi-pm-perl (4.63-1) ...",
            "STDOUT: Processing triggers for libc-bin (2.39-0ubuntu8.5) ...",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDERR: Running kernel seems to be up-to-date.\n\nNo services need to be restarted.\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "Running command: sudo useradd -m -d /home/captain/ -s /bin/bash master_demo",
            "Running command: echo 'master_demo:4e557db818cb' | sudo chpasswd",
            "Running command: sudo usermod -aG ssh master_demo",
            "Running command: sudo mkdir -p /home/demo.sharkcluster.com/",
            "Running command: sudo mkdir -p /home/captain/",
            "Running command: sudo ln -s /home/demo.sharkcluster.com/ /home/captain/application",
            "Running command: sudo chown -R master_demo:www-data /home/captain/",
            "Running command: sudo chmod -R 755 /home/captain/",
            "Running command: sudo chown -R root:root /home/demo.sharkcluster.com/",
            "Running command: echo \"cd /home/captain/\" | sudo tee -a /home/captain/.bashrc",
            "STDOUT: cd /home/captain/",
            "Running command: sudo systemctl restart ssh",
            "Running command: echo master_demo | sudo tee -a /etc/vsftpd.userlist",
            "Running command: sudo systemctl restart vsftpd",
            "Running command: sudo mkdir -p /home/captain/.ssh",
            "Running command: echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXAMPLEKEYFORDOCUMENTATIONONLY0000000000 user@example' | sudo tee -a /home/captain/.ssh/authorized_keys",
            "Running command: sudo chown -R master_demo:www-data /home/captain/.ssh",
            "Running command: sudo chmod 700 /home/captain/.ssh",
            "Running command: sudo chmod 600 /home/captain/.ssh/authorized_keys",
            "Running command: sudo sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config",
            "Running command: sudo sed -i 's/#PubkeyAuthentication.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config",
            "Running command: sudo sed -i 's/#AuthorizedKeysCommand.*/AuthorizedKeysCommand none/' /etc/ssh/sshd_config",
            "Running command: sudo sed -i 's/#PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config || true",
            "Running command: sudo grep -q '^ChallengeResponseAuthentication' /etc/ssh/sshd_config && sudo sed -i 's/^ChallengeResponseAuthentication.*/ChallengeResponseAuthentication yes/' /etc/ssh/sshd_config || sudo bash -c \"echo 'ChallengeResponseAuthentication yes' >> /etc/ssh/sshd_config\"",
            "Running command: sudo sed -i '/^AllowUsers/d' /etc/ssh/sshd_config",
            "Running command: [ -f /etc/ssh/sshd_config.d/60-cloudimg-settings.conf ] && sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config.d/60-cloudimg-settings.conf",
            "Running command: [ -f /etc/ssh/sshd_config.d/50-cloud-init.conf ] && sudo sed -i 's/PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config.d/50-cloud-init.conf",
            "Running command: sudo service ssh restart",
            "Running command: sudo service mysecureshell restart",
            "Setting up application folders and FTP access...",
            "Running command: sudo adduser --disabled-password --gecos \"\" --shell /usr/sbin/nologin --home /home/demo.sharkcluster.com/demo/ demo",
            "STDOUT: info: Adding user `demo' ...",
            "STDOUT: info: Selecting UID/GID from range 1000 to 59999 ...",
            "STDOUT: info: Adding new user `demo' (1001) with group `demo (1001)' ...",
            "STDOUT: info: Creating home directory `/home/demo.sharkcluster.com/demo/' ...",
            "STDOUT: info: Copying files from `/etc/skel' ...",
            "STDOUT: info: Adding user `demo' to group `users' ...",
            "Running command: echo \"demo:8fb2e6868428\" | sudo chpasswd",
            "Running command: sudo usermod -g www-data demo",
            "Running command: sudo mkdir -p /home/demo.sharkcluster.com/demo/htdocs",
            "Running command: sudo chown -R root:demo /home/demo.sharkcluster.com/demo",
            "Running command: sudo chown -R demo:www-data /home/demo.sharkcluster.com/demo/htdocs",
            "Running command: sudo bash -c \"echo 'demo ALL=(ALL:ALL) ALL' >> /etc/sudoers\"",
            "Running command: sudo chmod 755 /home/demo.sharkcluster.com/demo/",
            "Creating application database...",
            "Running command: sudo mysql -u root -e \"CREATE DATABASE undefined;\" || echo \"Failed to create database.\"",
            "Running command: sudo mysql -u root -e \"CREATE USER '8c37a48f'@'localhost' IDENTIFIED WITH mysql_native_password BY '<redacted>';\" || echo \"Failed to create user.\"",
            "Running command: sudo mysql -u root -e \"GRANT ALL PRIVILEGES ON undefined.* TO '8c37a48f'@'localhost';\"",
            "Running command: sudo mysql -u root -e \"FLUSH PRIVILEGES;\"",
            "Installing PHP and required extensions...",
            "Running command: sudo apt-get update",
            "STDOUT: Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease",
            "STDOUT: Reading package lists...",
            "Running command: sudo apt-get install -y software-properties-common",
            "STDOUT: Building dependency tree...",
            "STDOUT: Reading state information...",
            "STDOUT: The following packages will be upgraded:",
            "STDOUT: 2 upgraded, 0 newly installed, 0 to remove and 164 not upgraded.\nNeed to get 44.4 kB of archives.\nAfter this operation, 0 B of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 software-properties-common all 0.99.49.4 [14.4 kB]",
            "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 python3-software-properties all 0.99.49.4 [30.0 kB]",
            "STDERR: debconf: unable to initialize frontend: Readline",
            "STDOUT: (Reading database ...",
            "STDOUT: (Reading database ...",
            "STDOUT: 90%",
            "STDOUT: ",
            "STDOUT: Unpacking python3-software-properties (0.99.49.4) over (0.99.49.2) ...",
            "STDOUT: Setting up python3-software-properties (0.99.49.4) ...",
            "STDOUT: Setting up software-properties-common (0.99.49.4) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDERR: ",
            "Running command: sudo add-apt-repository ppa:ondrej/php -y",
            "STDOUT: Hit:6 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Err:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease\n  Could not connect to ppa.launchpadcontent.net:443 (203.0.113.3). - connect (111: Connection refused)",
            "STDOUT: Reading package lists...",
            "STDOUT: PPA publishes dbgsym, you may need to include 'main/debug' component\nRepository: 'Types: deb\nURIs: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/\nSuites: noble\nComponents: main\n'\nDescription:\nCo-installable PHP versions: PHP 5.6, PHP 7.x, PHP 8.x and most requested extensions are included. Packages are provided for *Current* Ubuntu *LTS* releases (https://wiki.ubuntu.com/Releases).  Expanded Security Maintenance releases ARE NOT supported.\n\nDebian stable, oldstable and Debian LTS packages are provided from a separate repository: https://deb.sury.org/#debian-dpa\n\nYou can get more information about the packages at https://deb.sury.org\n\nBUGS&FEATURES: This PPA has a issue tracker:\nhttps://deb.sury.org/#bug-reporting\n\nIssues reported in a private email don't scale and most likely will be ignored.  I simply don't have capacity to answer questions privately.\n\nDONATION AND COMMERCIAL SUPPORT: Support for PHP packages for older Debian and Ubuntu release can be bought from https://www.freexian.com/lts/php/\nMore info: https://launchpad.net/~ondrej/+archive/ubuntu/php\nAdding repository.",
            "Running command: sudo apt-get install -y php8.3-fpm",
            "STDOUT: ",
            "STDOUT: Reading state information...",
            "STDOUT: Suggested packages:\n  php-pear",
            "STDOUT: php8.3-readline",
            "STDOUT: 0 upgraded, 6 newly installed, 0 to remove and 164 not upgraded.\nNeed to get 4980 kB of archives.\nAfter this operation, 22.5 MB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/main amd64 php-common all 2:93ubuntu2 [13.9 kB]",
            "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-common amd64 8.3.6-0ubuntu0.24.04.8 [740 kB]",
            "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-opcache amd64 8.3.6-0ubuntu0.24.04.8 [371 kB]",
            "STDOUT: Get:5 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 php8.3-cli amd64 8.3.6-0ubuntu0.24.04.8 [1916 kB]",
            "STDOUT: Get:6 http://mirrors.digitalocean.com/ubuntu noble-updates/universe amd64 php8.3-fpm amd64 8.3.6-0ubuntu0.24.04.8 [1925 kB]",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: Fetched 4980 kB in 0s (18.3 MB/s)",
            "STDOUT: Selecting previously unselected package php-common.\r\n(Reading database ...",
            "STDOUT: (Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ...",
            "STDOUT: (Reading database ...",
            "STDOUT: (Reading database ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Preparing to unpack .../5-php8.3-fpm_8.3.6-0ubuntu0.24.04.8_amd64.deb ...",
            "STDOUT: Setting up php-common (2:93ubuntu2) ...",
            "STDOUT: Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /usr/lib/systemd/system/phpsessionclean.timer.",
            "STDOUT: Setting up php8.3-common (8.3.6-0ubuntu0.24.04.8) ...",
            "STDOUT: debconf: unable to initialize frontend: Dialog",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\r\ndebconf: falling back to frontend: Readline",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/ctype.ini with new version",
            "STDOUT: debconf: falling back to frontend: Teletype",
            "STDOUT: ",
            "STDOUT: debconf: falling back to frontend: Readline",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/fileinfo.ini with new version",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/ffi.ini with new version",
            "STDOUT: debconf: falling back to frontend: Readline",
            "STDOUT: ",
            "STDOUT: debconf: (This frontend requires a controlling tty.)",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/gettext.ini with new version",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/phar.ini with new version",
            "STDOUT: ",
            "STDOUT: debconf: falling back to frontend: Teletype",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/shmop.ini with new version",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/sockets.ini with new version",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: debconf: unable to initialize frontend: Dialog\r\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/sysvsem.ini with new version",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/sysvshm.ini with new version",
            "STDOUT: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/tokenizer.ini with new version",
            "STDOUT: ",
            "STDOUT: debconf: unable to initialize frontend: Readline",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/readline.ini with new version",
            "STDOUT: Setting up php8.3-opcache (8.3.6-0ubuntu0.24.04.8) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Creating config file /etc/php/8.3/mods-available/opcache.ini with new version",
            "STDOUT: using /usr/bin/phar.phar8.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Setting up php8.3-fpm (8.3.6-0ubuntu0.24.04.8) ...",
            "STDOUT: Creating config file /etc/php/8.3/fpm/php.ini with new version",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDERR: No VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "STDOUT: ",
            "STDOUT: poppler-data x11-common xfonts-encodings xfonts-utils",
            "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libstdc++6 amd64 14.2.0-4ubuntu2~24.04.1 [792 kB]",
            "STDOUT: Preparing to unpack .../45-php8.3-zip_8.3.6-0ubuntu0.24.04.8_amd64.deb ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: debconf: unable to initialize frontend: Dialog",
            "STDOUT: debconf: falling back to frontend: Teletype",
            "STDOUT: ",
            "STDOUT: Setting up fonts-droid-fallback (1:6.0.1r16-1.1build1) ...",
            "STDOUT: Setting up libzip4t64:amd64 (1.7.3-1.1ubuntu2) ...",
            "STDOUT: Setting up php8.3-gd (8.3.6-0ubuntu0.24.04.8) ...",
            "STDOUT: debconf: unable to initialize frontend: Readline",
            "STDOUT: Setting up xfonts-utils (1:7.7+6build3) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Setting up libmagickwand-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2build2) ...",
            "STDOUT: Setting up libavahi-client3:amd64 (0.8-13ubuntu6.1) ...",
            "STDOUT: Setting up libgs10:amd64 (10.02.1~dfsg1-0ubuntu7.8) ...",
            "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
            "STDOUT: Processing triggers for php8.3-cli (8.3.6-0ubuntu0.24.04.8) ...",
            "STDERR: debconf: unable to initialize frontend: Readline\ndebconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype",
            "STDERR: Restarting services...",
            "STDERR: systemctl restart multipathd.service mysql.service packagekit.service",
            "STDERR: Service restarts being deferred:\n systemctl restart unattended-upgrades.service\n\nNo containers need to be restarted.\n\nNo user sessions are running outdated binaries.\n\nNo VM guests are running outdated hypervisor (qemu) binaries on this host.",
            "Running command: sudo apt-get install -y php8.3-xml",
            "STDOUT: Building dependency tree...",
            "STDOUT: ",
            "Running command: sudo apt-get install -y libapache2-mod-fcgid",
            "STDOUT: Reading package lists...",
            "STDOUT: Reading state information...",
            "STDOUT: The following additional packages will be installed:",
            "STDOUT: apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser",
            "STDOUT: libaprutil1-ldap libaprutil1t64 liblua5.4-0",
            "STDOUT: 0 upgraded, 7 newly installed, 0 to remove and 161 not upgraded.\nNeed to get 1786 kB of archives.\nAfter this operation, 6610 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 libapr1t64 amd64 1.7.2-3.1ubuntu0.1 [108 kB]",
            "STDOUT: Get:2 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1t64 amd64 1.6.3-1.1ubuntu7 [91.9 kB]",
            "STDOUT: Get:3 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.3-1.1ubuntu7 [11.2 kB]",
            "STDOUT: Get:4 http://mirrors.digitalocean.com/ubuntu noble/main amd64 libaprutil1-ldap amd64 1.6.3-1.1ubuntu7 [9116 B]",
            "STDOUT: Get:6 http://mirrors.digitalocean.com/ubuntu noble-updates/main amd64 apache2-bin amd64 2.4.58-1ubuntu8.11 [1335 kB]",
            "STDOUT: Get:7 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 libapache2-mod-fcgid amd64 1:2.3.9-4 [64.9 kB]",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: Fetched 1786 kB in 0s (10.4 MB/s)",
            "STDOUT: Selecting previously unselected package libapr1t64:amd64.\r\n(Reading database ...",
            "STDOUT: 5%",
            "STDOUT: ",
            "STDOUT: (Reading database ... 75%",
            "STDOUT: (Reading database ...",
            "STDOUT: Unpacking libapr1t64:amd64 (1.7.2-3.1ubuntu0.1) ...",
            "STDOUT: Unpacking libaprutil1t64:amd64 (1.6.3-1.1ubuntu7) ...",
            "STDOUT: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.3-1.1ubuntu7) ...",
            "STDOUT: ",
            "STDOUT: Unpacking liblua5.4-0:amd64 (5.4.6-3build2) ...",
            "STDOUT: Unpacking apache2-bin (2.4.58-1ubuntu8.11) ...",
            "STDOUT: Unpacking libapache2-mod-fcgid (1:2.3.9-4) ...",
            "STDOUT: Setting up apache2-bin (2.4.58-1ubuntu8.11) ...",
            "STDOUT: ",
            "STDERR: debconf: (This frontend requires a controlling tty.)\ndebconf: falling back to frontend: Teletype",
            "STDERR: ",
            "Running command: sudo a2enmod proxy_fcgi setenvif",
            "Running command: sudo a2enconf php*-fpm",
            "STDERR: sudo: a2enconf: command not found",
            "Running command: sudo systemctl restart nginx",
            "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs && curl -sS https://getcomposer.org/installer | php\"",
            "STDOUT: All settings correct for using Composer",
            "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs && php composer.phar create-project --prefer-dist laravel/laravel laravel\"",
            "STDERR: Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.",
            "STDERR: - Downloading laravel/laravel (v13.4.0)",
            "STDERR: - Installing laravel/laravel (v13.4.0): Extracting archive",
            "STDERR: > @php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
            "STDERR: Loading composer repositories with package information",
            "STDERR: - Locking phpunit/php-code-coverage (12.5.6)",
            "STDERR: - Downloading phar-io/version (3.2.1)",
            "STDERR: 42/110 [==========>-----------------]  38%",
            "STDERR: 80/110 [====================>-------]  72%",
            "STDERR: 95/110 [========================>---]  86%",
            "STDERR: - Installing doctrine/lexer (3.0.1): Extracting archive",
            "STDERR: - Installing fakerphp/faker (v1.24.1): Extracting archive",
            "STDERR: - Installing symfony/polyfill-mbstring (v1.37.0): Extracting archive",
            "STDERR: - Installing psr/http-client (1.0.3): Extracting archive",
            "STDERR: - Installing nunomaduro/termwind (v2.4.0): Extracting archive",
            "STDERR: - Installing egulias/email-validator (4.0.4): Extracting archive",
            "STDERR: - Installing laravel/framework (v13.7.0): Extracting archive",
            "STDERR: - Installing phpunit/php-code-coverage (12.5.6): Extracting archive",
            "STDERR: 10/100 [==>-------------------------]  10%",
            "STDERR: 50/100 [==============>-------------]  50%",
            "STDERR: 70/100 [===================>--------]  70%",
            "STDERR: 80/100 [======================>-----]  80%",
            "STDERR: 90/100 [=========================>--]  90%",
            "STDERR: ",
            "STDERR: Generating optimized autoload files",
            "STDERR: > Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "STDERR: > @php artisan package:discover --ansi",
            "STDOUT: \u001b[32;1mDONE\u001b[39;22m",
            "STDERR: 79 packages you are using are looking for funding.",
            "STDOUT: \u001b[37;44m INFO \u001b[39;49m No publishable resources for tag \u001b[1m[laravel-assets]\u001b[22m.",
            "STDERR: No security vulnerability advisories found.",
            "STDERR: > @php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
            "STDERR: > @php artisan migrate --graceful --ansi",
            "STDOUT: \u001b[30;43m WARN \u001b[39;49m could not find driver (Connection: sqlite, Database: database/database.sqlite, SQL: select exists (select 1 from \"main\".sqlite_master where name = 'migrations' and type = 'table') as \"exists\").",
            "Running command: sudo chown -R demo:www-data /home/demo.sharkcluster.com/demo/htdocs/laravel",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel -type d -exec chmod 755 {} +",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel -type f -exec chmod 644 {} +",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/storage -type d -exec chmod 775 {} +",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/storage -type f -exec chmod 664 {} +",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/bootstrap/cache -type d -exec chmod 775 {} +",
            "Running command: sudo find /home/demo.sharkcluster.com/demo/htdocs/laravel/bootstrap/cache -type f -exec chmod 664 {} +",
            "Running command: sudo rm -f /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
            "Running command: sudo touch /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
            "Running command: sudo chown demo:www-data /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
            "Running command: sudo chmod 664 /home/demo.sharkcluster.com/demo/htdocs/laravel/storage/logs/laravel.log",
            "Running command: sudo cp /home/demo.sharkcluster.com/demo/htdocs/laravel/.env.example /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/DB_CONNECTION=sqlite/DB_CONNECTION=mysql/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/# DB_HOST=127.0.0.1/DB_HOST=127.0.0.1/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/# DB_PORT=3306/DB_PORT=3306/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/# DB_DATABASE=laravel/DB_DATABASE=demo/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/# DB_USERNAME=root/DB_USERNAME=8c37a48f/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo sed -i 's/# DB_PASSWORD=/DB_PASSWORD=<redacted>/' /home/demo.sharkcluster.com/demo/htdocs/laravel/.env",
            "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs/laravel && php artisan key:generate\"",
            "Running command: sudo bash -c \"cd /home/demo.sharkcluster.com/demo/htdocs/laravel && php artisan session:table\"",
            "STDOUT: ERROR  Migration already exists.",
            "STDOUT: 837▕             $exceptionType = ($isUniqueConstraintError = $this->isUniqueConstraintError($e))\n    838▕                 ? UniqueConstraintViolationException::class\n    839▕                 : QueryException::class;\n    840▕ \n  ➜ 841▕             $exception = new $exceptionType(\n    842▕                 $this->getNameWithReadWriteType(),\n    843▕                 $query,\n    844▕                 $this->prepareBindings($bindings),\n    845▕                 $e,\n\n      \u001b[2m+39 vendor frames \u001b[22m\n\n  40  artisan:16\n      Illuminate\\Foundation\\Application::handleCommand()",
            "Running command: echo 'server {\n                  listen 80;\n                  server_name demo-demo.sharkcluster.com;\n\n                  root /home/demo.sharkcluster.com/demo/htdocs/laravel/public;\n                  index index.php index.html index.htm;\n\n                  access_log /var/log/nginx/demo_access.log;\n                  error_log /var/log/nginx/demo_error.log;\n                  \n                  location / {\n                      try_files $uri $uri/ /index.php?$query_string;\n                  }\n\n                  location ~ \\.php$ {\n                      include snippets/fastcgi-php.conf;\n                      fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;\n                      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n                      include fastcgi_params;\n                  }\n\n                  location ~ /.ht {\n                      deny all;\n                  }\n                }' | sudo tee /etc/nginx/sites-available/demo.conf > /dev/null",
            "Running command: sudo ln -sf /etc/nginx/sites-available/demo.conf /etc/nginx/sites-enabled/",
            "Running command: sudo nginx -t",
            "Running command: sudo systemctl reload nginx",
            "Waiting for DNS propagation of demo-demo.sharkcluster.com...",
            "Installing SSL for demo-demo.sharkcluster.com...",
            "Running command: sudo apt-get update -y",
            "STDOUT: Hit:6 https://repos.insights.digitalocean.com/apt/do-agent main InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease",
            "STDOUT: Reading package lists...",
            "STDERR: W",
            "Running command: sudo apt-get install -y certbot python3-certbot-nginx",
            "STDOUT: Building dependency tree...",
            "STDOUT: ",
            "STDOUT: The following additional packages will be installed:\n  python3-acme python3-certbot python3-configargparse python3-icu\n  python3-josepy python3-parsedatetime python3-rfc3339",
            "STDOUT: certbot python3-acme python3-certbot python3-certbot-nginx\n  python3-configargparse python3-icu python3-josepy python3-parsedatetime\n  python3-rfc3339",
            "STDOUT: 0 upgraded, 9 newly installed, 0 to remove and 161 not upgraded.\nNeed to get 1097 kB of archives.\nAfter this operation, 5699 kB of additional disk space will be used.\nGet:1 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 python3-josepy all 1.14.0-1 [22.1 kB]",
            "STDOUT: Get:4 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 python3-configargparse all 1.7-1 [31.7 kB]",
            "STDOUT: Get:7 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 certbot all 2.9.0-1 [89.2 kB]",
            "STDOUT: Get:9 http://mirrors.digitalocean.com/ubuntu noble/main amd64 python3-icu amd64 2.12-1build2 [534 kB]",
            "STDERR: dpkg-preconfigure: unable to re-open stdin:",
            "STDOUT: Selecting previously unselected package python3-josepy.\r\n(Reading database ...",
            "STDOUT: (Reading database ...",
            "STDOUT: Preparing to unpack .../6-certbot_2.9.0-1_all.deb ...",
            "STDOUT: Setting up python3-configargparse (1.7-1) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Setting up python3-josepy (1.14.0-1) ...",
            "STDOUT: ",
            "STDOUT: ",
            "STDOUT: Setting up python3-certbot (2.9.0-1) ...",
            "STDOUT: Setting up certbot (2.9.0-1) ...",
            "STDOUT: ",
            "STDOUT: Setting up python3-certbot-nginx (2.9.0-1) ...",
            "STDOUT: Processing triggers for man-db (2.12.0-4build2) ...",
            "STDERR: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)",
            "STDERR: debconf: (This frontend requires a controlling tty.)",
            "STDERR: Running kernel seems to be up-to-date.",
            "Running command: sudo certbot --nginx -d demo-demo.sharkcluster.com --non-interactive --agree-tos --redirect -m [email protected]",
            "STDERR: Saving debug log to /var/log/letsencrypt/letsencrypt.log",
            "STDOUT: Requesting a certificate for demo-demo.sharkcluster.com",
            "STDOUT: Successfully received certificate.\nCertificate is saved at: /etc/letsencrypt/live/demo-demo.sharkcluster.com/fullchain.pem\nKey is saved at:         /etc/letsencrypt/live/demo-demo.sharkcluster.com/privkey.pem\nThis certificate expires on 2026-08-03.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate",
            "STDOUT: Successfully deployed certificate for demo-demo.sharkcluster.com to /etc/nginx/sites-enabled/demo.conf",
            "STDOUT: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate\n * Donating to EFF:                    https://eff.org/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",
            "Running command: sudo systemctl restart nginx",
            "Finalizing permissions and completing setup...",
            "Server installation completed successfully."
        ],
        "progress": 100,
        "serverId": "00000000-0000-4000-8000-000000000008",
        "server_name": "demo",
        "applicationId": "00000000-0000-4000-8000-000000000009",
        "application_name": "demo"
    }
}

Stuck on an integration?

Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.

Contact us