Ah now you’ve ended up on nftables instead which isn’t supported.
Either:
A) If iptables
is installed - remove nftables (and allow ssh via iptables)
B) Reinstall UFW, allow SSH through it, and enable it.
Cool, and if you do ampinstmgr dumpfirewall
all the ports show up?
Ah no ports to show for:
Do I need to manually add rules?
That’s the output of updatefirewall
rather than dumpfirewall
Ah no it was dump but I was on amp user:
heres a better dump
okay, try manually allowing the instance ports (8081, 8082, etc) over TCP. ufw allow from any to any 8081 tcp
any advice on how to do this on iptables? ufw is removed.
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT is what ive tried to no luck
8080 is normally already open, it’s 8081+ that needs opening. The command looks correct otherwise.
sorry shouldve said also did 8081, any others i need to open?
Nope - if you run wget -qO- http://localhost:8081
as the amp
user, does it dump a bunch of HTML to the console?
What’s the output of sestatus
?
SELinux is disabled, does it need to be enables
Nope, disabled is fine. I’m a bit stumped at this point, what’s happening is AMP is trying to talk to the instance on localhost but it’s timing out and the task gets cancelled. I’m assuming you’ve rebooted at some point along the way and tried it out?
Ok ill do a fresh reinstall, best way to access the minecraft world save and back that up if i cant access the instance manager?
You can find the pertinent data in ~/.ampdata/instances/xxxxxxx
as the amp
user. If you’re doing a completely fresh setup, I generally recommend Debian 11 right now.
sorry how do I access that via sftp?
Will do a debian install next time thanks for the recomendation
If you’re logging in as root, you can access it via /home/amp/.ampdata
- make sure that show hidden files/folders is enabled in your SFTP client.