I've been able to deploy this app several times so far without any issue. The only major recent change I added is library(liquidate), but that doesn't seem to be clearly linked to the issue. See the full output below. Error seems to primarily be:
E: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/universe/libg/libgeotiff-dfsg/libgeotiff2_1.4.1-2_amd64.deb 503 Service Unavailable [IP: 54.172.25.22 80]
https://perinigraphics.shinyapps.io/vaccinedashboard/? [Y/n] Y
DONE
Uploading bundle for application: 3570025...DONE
Deploying bundle: 4228033 for application: 3570025 ...
Waiting for task: 872306084
building: Parsing manifest
building: Building image: 4825220
building: Installing system dependencies
################################ Begin Task Log ################################
[2021-02-16T03:08:14.198495947+0000] Execute script: packages/build/units.sh
- set -e
- apt-get update -qq
- apt-get install -y libudunits2-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libudunits2-0
The following NEW packages will be installed:
libudunits2-0 libudunits2-dev
0 upgraded, 2 newly installed, 0 to remove and 13 not upgraded.
Need to get 430 kB of archives.
After this operation, 992 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-0 amd64 2.2.20-1 [69.5 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libudunits2-dev amd64 2.2.20-1 [360 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 430 kB in 0s (15.4 MB/s)
Selecting previously unselected package libudunits2-0:amd64.
(Reading database ... 122515 files and directories currently installed.)
Preparing to unpack .../libudunits2-0_2.2.20-1_amd64.deb ...
Unpacking libudunits2-0:amd64 (2.2.20-1) ...
Selecting previously unselected package libudunits2-dev.
Preparing to unpack .../libudunits2-dev_2.2.20-1_amd64.deb ...
Unpacking libudunits2-dev (2.2.20-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Setting up libudunits2-0:amd64 (2.2.20-1) ...
Setting up libudunits2-dev (2.2.20-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
[2021-02-16T03:08:17.405230309+0000] Execute script: packages/build/sf.sh - set -e
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x089EBE08314DF160
Executing: /tmp/tmp.1PWFHyhubc/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
0x089EBE08314DF160
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
++ lsb_release -cs - echo 'deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial main'
- apt-get update -qq
- apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
Reading package lists...
Building dependency tree...
Reading state information...
libproj-dev is already the newest version (4.9.2-2).
libudunits2-dev is already the newest version (2.2.20-1).
The following packages were automatically installed and are no longer required:
libgdal1i libgeos-3.5.0 libjasper-dev libjasper1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
libfyba-dev libfyba0 libgdal20 libgeos-3.5.1 libgeos-c1v5 libgeotiff-dev
libgeotiff2 libjbig-dev libjson-c-dev libjson-c2 libkml-dev
libkmlconvenience1 libkmlregionator1 libkmlxsd1 libminizip-dev
libogdi3.2-dev libopenjp2-7-dev libpoppler-dev libpoppler-private-dev
libqhull-dev libqhull7 libsuperlu-dev libtiff5-dev libtiffxx5
liburiparser-dev
Suggested packages:
libitpp-dev libgdal-doc libgeotiff-epsg geotiff-bin gdal-bin libsuperlu-doc
The following NEW packages will be installed:
gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
libfyba-dev libfyba0 libgdal20 libgeos-3.5.1 libgeotiff-dev libgeotiff2
libjbig-dev libjson-c-dev libjson-c2 libkml-dev libkmlconvenience1
libkmlregionator1 libkmlxsd1 libminizip-dev libogdi3.2-dev libopenjp2-7-dev
libpoppler-dev libpoppler-private-dev libqhull-dev libqhull7 libsuperlu-dev
libtiff5-dev libtiffxx5 liburiparser-dev
The following packages will be upgraded:
libgdal-dev libgeos-c1v5 libgeos-dev
3 upgraded, 29 newly installed, 0 to remove and 13 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 54.1 MB of additional disk space will be used.
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libjson-c2 amd64 0.11-4ubuntu2.6
503 Service Unavailable [IP: 54.172.25.22 80]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarpack2-dev amd64 3.3.0-1build2 [94.7 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libsuperlu-dev amd64 4.3+dfsg-3 [174 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarmadillo-dev amd64 1:6.500.5+dfsg-1 [297 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba0 amd64 4.1.1-2 [111 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba-dev amd64 4.1.1-2 [392 kB]
Err:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff2 amd64 1.4.1-2
503 Service Unavailable [IP: 54.172.25.22 80]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libqhull7 amd64 2015.2-1 [152 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libepsilon-dev amd64 0.9.2-3ubuntu1 [48.9 kB]
Get:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libjson-c2 amd64 0.11-4ubuntu2.6 [22.2 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libfreexl-dev amd64 1.0.2-1ubuntu0.1 [30.5 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig-dev amd64 2.1-3.1 [24.8 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiffxx5 amd64 4.0.6-1ubuntu0.7 [5598 B]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5-dev amd64 4.0.6-1ubuntu0.7 [269 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff-dev amd64 1.4.1-2 [77.3 kB]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjson-c-dev amd64 0.11-4ubuntu2.6 [30.4 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlconvenience1 amd64 1.3.0-1 [44.2 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlregionator1 amd64 1.3.0-1 [19.8 kB]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlxsd1 amd64 1.3.0-1 [28.0 kB]
Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libminizip-dev amd64 1.1-8 [26.7 kB]
Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 liburiparser-dev amd64 0.8.4-1 [10.0 kB]
Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkml-dev amd64 1.3.0-1 [936 kB]
Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libogdi3.2-dev amd64 3.2.0~beta2-7.1build1 [23.0 kB]
Err:23 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libopenjp2-7-dev amd64 2.1.2-1.1+deb9u5build0.16.04.1
503 Service Unavailable [IP: 54.172.25.22 80]
Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-dev amd64 0.41.0-0ubuntu1.16 [762 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libopenjp2-7-dev amd64 2.1.2-1.1+deb9u5build0.16.04.1 [25.4 kB]
Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-private-dev amd64 0.41.0-0ubuntu1.16 [165 kB]
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libqhull-dev amd64 2015.2-1 [240 kB]
Get:27 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 gdal-data all 2.2.2+dfsg-1~xenial1 [567 kB]
Get:28 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 libgeos-dev amd64 3.5.1-3~xenial0 [72.9 kB]
Get:29 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 libgeos-3.5.1 amd64 3.5.1-3~xenial0 [481 kB]
Get:30 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 libgeos-c1v5 amd64 3.5.1-3~xenial0 [58.0 kB]
Get:31 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 libgdal20 amd64 2.2.2+dfsg-1~xenial1 [5208 kB]
Get:32 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 libgdal-dev amd64 2.2.2+dfsg-1~xenial1 [6503 kB]
Fetched 16.9 MB in 3s (5027 kB/s)
E: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/universe/libg/libgeotiff-dfsg/libgeotiff2_1.4.1-2_amd64.deb 503 Service Unavailable [IP: 54.172.25.22 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 872306085 failed: Error building image: Build exited with non-zero status: 100
In addition: Warning messages:
1: invalid uid value replaced by that for user 'nobody'
2: invalid gid value replaced by that for user 'nobody'