tbaldur / cyberpanel-mods

Small changes to cyberpanel core installation
19 stars 7 forks source link

Snappymail upgrade #1

Closed master3395 closed 1 year ago

master3395 commented 1 year ago

Hai, do you know how to upgrade Snappymail also?

Today Snappymail version 2.17.0 is installed. But I do want to update it to 2.18.1, because it got a new HTML viewer that I need. I have seen people replace the datafolder, but I am not sure it would work within CyberPanel.

image

master3395 commented 1 year ago

Adding the data folder to the existing, one and replacing the old 2.17.0 number with 2.18.2

tbaldur commented 1 year ago

Adding the data folder to the existing, one and replacing the old 2.17.0 number with 2.18.2

Hello, that was the procedure that you used?

I've been a bit busy lately but will make sure to add more with those steps after your feedback

tbaldur commented 1 year ago

Alright, I checked that $sCustomDataPath need to be populated on the new version, other things are small changes. I will write the script later today

master3395 commented 1 year ago

Hai again, sorry for the late reply. It is only the data folder, and it's name that needs to be updated with each version upgrade, I only imported new files over the existing. I'm not sure if I need to update some permissions on folders, but so far, everything has gone fine without any permission changes.

tbaldur commented 1 year ago

Hai again, sorry for the late reply. It is only the data folder, and its name that needs to be updated with each version upgrade, I only imported new files over the existing ones. I'm not sure if I need to update some permissions on folders, but so far, everything has gone fine without any permission changes.

I believe everything is working, I tested it a couple of times. To make sure, I just re-added all the permissions and so on. Please test it and give me some feedback: sh <(curl https://raw.githubusercontent.com/tbaldur/cyberpanel-mods/main/snappymail_v_changer.sh || wget -O - https://raw.githubusercontent.com/tbaldur/cyberpanel-mods/main/snappymail_v_changer.sh)

master3395 commented 1 year ago

I tried it on a clean install. I see no problems so far.

Before: image

After running the command :) image