This is on an Intel NUC located on my local DMZ. Ubuntu 22.04.2 LTS desktop distribution downloaded from ubuntu.com.
So I de-installed AMP, removed the directories it created and the apt repositories it added. Then re-ran the install.
As you can see there are no errors in the log it created.
But if you look at the terminal output you can see it complaining about a missing file from mono and the install aborts.
Amp install log
Fri May 19 05:30:03 PM PDT 2023
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Hit:7 https://packages.redis.io/deb jammy InRelease
Hit:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.6-2.1ubuntu3).
wget is already the newest version (1.21.2-2ubuntu1).
qrencode is already the newest version (4.1.1-1).
dirmngr is already the newest version (2.2.27-3ubuntu2.1).
git is already the newest version (1:2.34.1-1ubuntu1.9).
gpg is already the newest version (2.2.27-3ubuntu2.1).
gpg-agent is already the newest version (2.2.27-3ubuntu2.1).
software-properties-common is already the newest version (0.99.22.6).
unzip is already the newest version (6.0-26ubuntu3.1).
apt-transport-https is already the newest version (2.4.9).
dnsutils is already the newest version (1:9.18.12-0ubuntu0.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Adding Adoptium APT repository...
deb [signed-by=/usr/share/keyrings/adoptium.gpg] https://packages.adoptium.net/artifactory/deb jammy main
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 https://packages.adoptium.net/artifactory/deb jammy InRelease [6,632 B]
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://packages.redis.io/deb jammy InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:7 https://packages.adoptium.net/artifactory/deb jammy/main amd64 Packages [4,558 B]
Get:8 https://packages.adoptium.net/artifactory/deb jammy/main i386 Packages [645 B]
Ign:9 https://download.webmin.com/download/repository sarge InRelease
Hit:10 https://download.webmin.com/download/repository sarge Release
Hit:11 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Fetched 11.8 kB in 1s (12.7 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
temurin-18-jdk is already the newest version (18.0.2.1+1).
temurin-19-jdk is already the newest version (19.0.2.0.0+7).
temurin-17-jdk is already the newest version (17.0.7.0.0+7).
temurin-8-jdk is already the newest version (8.0.372.0.0+7-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
certbot is already the newest version (1.21.0-1build1).
python3-certbot-nginx is already the newest version (1.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
nginx is already the newest version (1.18.0-6ubuntu14.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
--2023-05-19 17:30:50-- https://repo.cubecoders.com/archive.key
Resolving repo.cubecoders.com (repo.cubecoders.com)... 198.244.186.210, 2001:41d0:800:1e2b::c00b:c0de
Connecting to repo.cubecoders.com (repo.cubecoders.com)|198.244.186.210|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2270 (2.2K) [application/octet-stream]
Saving to: ‘/usr/share/keyrings/repo.cubecoders.com.gpg’
0K .. 100% 1.64G=0s
2023-05-19 17:30:51 (1.64 GB/s) - ‘/usr/share/keyrings/repo.cubecoders.com.gpg’ saved [2270/2270]
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 https://packages.adoptium.net/artifactory/deb jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://packages.redis.io/deb jammy InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:7 https://download.webmin.com/download/repository sarge InRelease
Hit:8 https://download.webmin.com/download/repository sarge Release
Hit:9 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Get:10 https://repo.cubecoders.com debian/ InRelease [1,381 B]
Get:12 https://repo.cubecoders.com debian/ Packages [571 B]
Fetched 1,952 B in 1s (1,705 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libevent-core-2.1-7 numactl socat tmux
The following NEW packages will be installed:
ampinstmgr libevent-core-2.1-7 numactl socat tmux
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/113 MB of archives.
After this operation, 2,834 kB of additional disk space will be used.
Selecting previously unselected package libevent-core-2.1-7:amd64.
(Reading database ... 187577 files and directories currently installed.)
Preparing to unpack .../libevent-core-2.1-7_2.1.12-stable-1build3_amd64.deb ...
Unpacking libevent-core-2.1-7:amd64 (2.1.12-stable-1build3) ...
Selecting previously unselected package numactl.
Preparing to unpack .../numactl_2.0.14-3ubuntu2_amd64.deb ...
Unpacking numactl (2.0.14-3ubuntu2) ...
Selecting previously unselected package tmux.
Preparing to unpack .../tmux_3.2a-4ubuntu0.2_amd64.deb ...
Unpacking tmux (3.2a-4ubuntu0.2) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.4.1-3ubuntu4_amd64.deb ...
Unpacking socat (1.7.4.1-3ubuntu4) ...
Selecting previously unselected package ampinstmgr.
Preparing to unpack .../ampinstmgr_2.4.3.6_amd64.deb ...
Unpacking ampinstmgr (2.4.3.6) ...
Setting up numactl (2.0.14-3ubuntu2) ...
Setting up socat (1.7.4.1-3ubuntu4) ...
Setting up libevent-core-2.1-7:amd64 (2.1.12-stable-1build3) ...
Setting up tmux (3.2a-4ubuntu0.2) ...
Setting up ampinstmgr (2.4.3.6) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Terminal output of install
bash <(wget -qO- getamp.sh)
Please wait while GetAMP examines your system and network configuration...
- Checking installed packages...
- Checking environment...
- Checking network configuration...
- Detecting network type...
GetAMP v3.0.1
AMP QuickStart installation script for Debian, Red-Hat and Arch based GNU/Linux distributions
This installer will perform the following:
* Install any pending system updates
* Install any prerequisites and dependencies via your systems package manager
* Add the CubeCoders repository to your system to keep AMP updated
* Install AMP and create a default management instance on port 8080
* Create any firewalls necessary to allow you to connect to AMP
* Configure the default AMP instance to start on boot
Press CTRL+C to cancel installation.
It is safe to cancel this installation at any point. You can run the install
script again, and the script will skip any steps it has already completed.
Distribution : ubuntu 22.04
Platform : x86_64
Internal IP address : 10.1.30.11
External IP address : xx.xx.xx.xx
Network type : NAT
Gateway IP address : 10.1.30.1
Detected Firewall : ufw
System Locale : en_US.UTF-8
Package Manager : apt-get
Enter new login details for use with AMP.
These are the login details you will use to log into AMPs web interface.
Username [admin]:
Password:
Confirm Password:
Will you be running Minecraft servers on this installation?
If selected, this installs the required versions of Java.
[Y/n] y
Will you be running applications that rely on SteamCMD? (Rust, Ark, CSGO, TF2, etc) on this installation?
If selected, this will install the required additional 32-bit libraries.
[Y/n] n
Would you like to isolate your AMP instances by running them inside Docker containers?
This provides an additional layer of protection at the expense of a minor performance impact.
It is strongly recommended if you are going to allow untrusted users access to AMP
but if it's just yourself or trusted users accessing it then it may not be necessary.
[y/N] n
Would you like AMP to be configured for use with HTTPS?
This will install nginx on your system and requires that you do not use any
other web servers such as Apache on this system.
This will create firewall rules to open ports 80 (HTTP) and 443 (HTTPS)
You also must own a domain name that resolves to xx.xx.xx.xx (Your external IP)
Do not choose this option if you do not already own a domain.
Using this facility requires that you read and accept the LetsEncrypt terms at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Enable HTTPS?
[y/N] y
Please specify which domain you wish to use.
You should use a subdomain that is only going to be used for AMP.
E.g. amp.mydomain.com
Domain: mc.mydomain.net
Please enter your email address (Optional)
LetsEncrypt will send important certificate notifications here.
Email: me@mydomain.net
GetAMP has detected that you are currently behind a NAT.
Please forward ports 80 and 443 TCP to 10.1.30.11 if you have not already done so.
Press any key to continue once you have done this.
Installation Summary:
AMP System user: To be created
Instance Manager: To be installed
HTTPS setup: Yes, via nginx with domain mc.mydomain.net
Install Java: Yes
Install 32-bit libraries: No
Install Docker: No
Ready to install AMP. Press ENTER to continue or CTRL+C to cancel.
Installing AMP...
Creating system user...
Updating System...
Installing prerequisites...
Installing Java for Minecraft...
Installing nginx and certbot...
Adding component(s) 'universe' to all repositories.
Ign:1 https://download.webmin.com/download/repository sarge InRelease
Hit:2 https://download.webmin.com/download/repository sarge Release
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 https://packages.adoptium.net/artifactory/deb jammy InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:8 https://packages.redis.io/deb jammy InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:10 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Reading package lists... Done
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 https://download.webmin.com/download/repository sarge InRelease
Hit:3 https://packages.adoptium.net/artifactory/deb jammy InRelease
Hit:4 https://download.webmin.com/download/repository sarge Release
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:7 https://packages.redis.io/deb jammy InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:10 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Reading package lists... Done
Checking settings... Domain mc.mydomain.net resolves correctly to xx.xx.xx.xx.
Adding CubeCoders DEB repository...
Installing instance manager...
- Installing via package manager...
Adding firewall rules...
Adding firewall rule for port 443 (AMP Reverse Proxy) via ufw...
Skipping adding existing rule
Skipping adding existing rule (v6)
Adding firewall rule for port 80 (AMP Reverse Proxy) via ufw...
Skipping adding existing rule
Skipping adding existing rule (v6)
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
Deploying certificate
Successfully deployed certificate for mc.mydomain.net to /etc/nginx/conf.d/mc.mydomain.net.conf
Congratulations! You have successfully enabled HTTPS on https://mc.mydomain.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Info] Done!
Creating default instance...
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll' directory.
Failed to create default instance.
Removing generated nginx config...
Aborting...
Something went wrong during the installation. Would you like to upload your setup log for easy sharing?
This will upload /root/getamp-20230519-173003.log to the hastebin service and give you a URL you can share.
The log file may contain sensitive information such as username, any supplied domain names or your systems hostname
so if in doubt - check the file manually and upload it yourself.