I run Zammad on Debian 12 on WSL2 fine. Only difference compared to the Zammad package installation documentation was to enable systemd-support:
This was the only extra step that I needed to do. So, I guess you ran into some issues in the installation process. As you mention “apt-get”, you may have used a 3rd-party installation manual? The official documentation uses “apt”. There is not much of a difference between “apt” and “apt-get”, I just take that as a hint, that you didn’t use the official documentation to install Zammad.
So my suggestion:
- Start with a fresh Debian WSL
- Apply the systemd-change (see above)
- Follow the official documentation: Install from package — Zammad System Documentation documentation