I’m getting this when I try to upgrade to v.50
Your local changes to the following files would be overwritten by checkout:
Please commit your changes or stash them before you switch branches.
Update failed. Did you modify something in /home/ubuntu/mailinabox?
Back in March I made a small edit to the web.sh file in to finish the upgrade at that time. It had something to do with nginx. Do I need to figure out what I changed and change it back? I’ve done the minor upgrades since March with no issues.
I had similar message when trying to upgrade when I manually edit/run the cert script:
nano +334 /root/mailinabox/management/ssl_certificates.py
or if you are not root:
sudo nano +334 /root/mailinabox/management/ssl_certificates.py
“–email”, “firstname.lastname@example.org”, # use your email here
mv ./mailinabox ./mailinabox.v48
curl -s https://mailinabox.email/setup.sh | sudo -E bash
@buecker Try to rename/park/delete your custom file(s) and run the upgrade/setup again. The setup will re-create it(them) -default version- and the setup should end with no issues.
Okay, I renamed my web.sh and ran the script again but then I still ran into the same error I did in March. I can’t start nginx without editing the nginx.conf file.
ssl_protocols TLSv1.2 TLSv1.3;
I have to comment out the very last line…the SSL line above in the nginx.conf file and then I can start nginx.
Should I open an issue on github? I didn’t open one back in March. I am using Let’s encrypt for my SSL.