usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.57k stars 610 forks source link

[BUG] Upgrade - SnappyMail and PhpMyAdmin #1071

Open master3395 opened 1 year ago

master3395 commented 1 year ago

Both SnappyMail and PhpMyAdmin reset back to the default version when upgrading CyberPanel. I thought it would upgrade using the latest.

It resets PhpMyAdmin back to 5.2.0 While the latest is 5.2.1 (Not a big issue)

SnappyMail resets to 2.15.6 or something, while the latest is 2.27.3

Added a draft here for PhpMyAdmin https://github.com/usmannasir/cyberpanel/pull/1067

shbs9 commented 1 year ago

Did you update both manually?

master3395 commented 1 year ago

Did you update both manually?

No, i use this, and it works perfectly. https://github.com/tbaldur/cyberpanel-mods

snappymail_v_changer: 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) 2.27.3

phpmyadmin_v_changer: sh <(curl https://raw.githubusercontent.com/tbaldur/cyberpanel-mods/main/phpmyadmin_v_changer.sh || wget -O - https://raw.githubusercontent.com/tbaldur/cyberpanel-mods/main/phpmyadmin_v_changer.sh) 5.2.1

umut-ore commented 1 year ago

As far as I know from my previous experiences, CyberPanel automatically updates these versions while upgrading the panel (albeit not the latest ones). So it seems like the default behaviour. Maybe there can be a fix like disabling internal update function for these folders/apps in case manual versioning or modification is detected.

shbs9 commented 1 year ago

In cyberpanel we only add any integrated app update once its stable so the update is not an issue.