I don't know if you still needs help but I just ran into the same issue, the reason why this happened to me is when rebooting the server the Nextcloud AIO somehow used the default port 8080 instead of what I set the port as in the setting. I had to go into setting, type in the port again, and click apply to restart the container to fix this. It's been running normally since.