After my server is terminated (My game ends itself, causing the server to shut down naturally), the log file doesn't really have anything in it. But it's not empty. This is what all my log files look like:
{"log":"sh: 1: xdg-user-dir: not found\n","stream":"stderr","time":"2023-02-06T15:17:41.444737153Z"}
{"log":"5.1.1-0+++UE5+Release-5.1 1008 0\n","stream":"stdout","time":"2023-02-06T15:48:50.414552723Z"}
{"log":"Disabling core dumps.\n","stream":"stdout","time":"2023-02-06T15:48:50.414585323Z"}
It looks like it's not finding some directory. Also, my docker file is almost completely copy-pasted from the docs. Here's what that looks like:
FROM ubuntu:18.04
# Unreal refuses to run as root user, so we must create a user to run as
# Docker uses root by default
RUN useradd --system ue
USER ue
EXPOSE 30000/udp
WORKDIR /server
COPY --chown=ue:ue ./LinuxServer /server
USER root
CMD chown -R ue.ue $PF_SERVER_LOG_DIRECTORY && su ue -c './VRPartyGameServer.sh port=30000 -EnableGSDK'
Any ideas? Thanks
Steve