Edit: By copying the /opt/zammad/vendor/pkgr/scaling/systemd/zammad-web.service file to /etc/systemd/system and enabling it the service is now running.
But still, Zammad webpage is noch reachable. Still error 502 Bad Gateway.
Of course not. That doesn’t happen automatically on a source code installation.
The restoration process expects an existing installation on the new host. In your case as per: https://docs.zammad.org/en/latest/install/source.html
Your Zammad version is terribly outdated and a security hazard to yourself and affected users. You should update asap.
Your production log should hold this information.
If I’d had to guess it’s either missing database migrations, entire database f*cked up or incorrectly followed restoration guide and in the end non fitting Zammad files.
I will try this the next time when updating Zammad.
Yes, I know. That’s why this upgrade is pretty important, beside the many new features. We are trying to update Zammad for about a year now but this always failed and we didn’t have time to fully troubleshoot this issues. So now I am doing this again.
The new installation doesn’t even have the log folger generated, although the bare installation of zammad was successful. So it might be the database and file import which “fucked up” the installation.
I also see that the server is not listening on ports 3000 (for rails) and 6042 (for zammad websocket), so this might be the cause for seeing 502 Bad Gateway.
You could migrate to Zammad’s SaaS variant (with data migration). This would spare you from future update hassles (because we do it for you) and also gives support for your instance on top.
We do offer trouble shooting workshops beside our support contracts if that is of any help to you
I just try to give you all available options to you here (beside your manual fiddlings without knowing what the actual upgrade issue is) hoping it helps you on that journey.
Thank you for the suggestion. I will give these information to our Head of IT Systems, as I am not the one making decisions on how to spend money. But this might save a lot of time and headaches.
I’ve told you yesterday that our upgrade to Zammad 5.4.1 was successful. Today I’ve noticed that the ticket pages are blank and I can’t create any tickets as the fields priority, customer etc. are not shown and I can’t enter a text. Also Zammad is not writing into the log files anymore.
So I’ve rolled back to a snapshot from version 5.0.0 which I created earlier yesterday evening. On 5.0 everything is working fine again so my next steps will be to troubleshoot the update to the latest version.
I am also unable to update via package, because Ubuntu 20.04 gives an error that the public key for the repository of Zammad is missing. So it won’t download zammad.