Hello!
I set up a self-hosted mattermost platform for my research team. I used Mattermost Omni with mattermost server version 9.1.0 installed on a remote Ubuntu v20.04 Desktop server on which I don’t have the root rights. During the installation I had to use MMO_HTTPS=false. The Network Admin of my server set up a custom nginx reverse proxy. The mattermost domain has been hosted and runs properly with an HTTPS connection.
I wanted to enable plugin uploads. I followed the documentation on the Omni webpage but when I run the command “sudo mmomni reconfigure” I am getting the following error
I am not a systems or network engineer so could you please help me understand what has or where have I gone wrong. I did the steps of mentioning the nginx_template in mmomni.yml file as well.
I was trying to do the same thing (enable plugin uploads) and I ran into the same issue. It seems when one runs mmomni reconfigure it attempts to renew every letsencrypt SSL certificate on the system and if there are errors in renewing any of those certs, the reconfigure command will exit with failure.
I resolved it by cleaning up old cert files I no longer needed. cd /etc/letsencrypt/renewal/ sudo rm -rf <old/unused nginx.conf files>
Rerun sudo mmomni reconfigure and then sudo systemctl restart mattermost.
I also had to restart the Mattermost desktop client for the changes to take effect.
@Dream - Great to hear that you were able to resolve the issue, Dream! Cleaning up the old cert files and restarting the service is a solid solution. Thanks for sharing your experience with the community. Your input will surely help others facing the same challenge!