Vvveb / cpanel-plugin

One-click Vvveb CMS cPanel auto-installer with MySql and SQLite support
https://www.vvveb.com
GNU General Public License v3.0
3 stars 4 forks source link

Missing the option to update Vvveb #1

Open Ferguson230 opened 1 month ago

Ferguson230 commented 1 month ago

Hi,

What a great job you've done with Vvveb, however, the cPanel plugin is missing the option to update Vvveb for existing installations once the Vvveb builder code has been updated.

Would it be possible to include that option?

Thank you.

Kind regards.

givanz commented 1 month ago

Hi

Thank you.

I'm unable to find an update feature for an existing domain in the cpanel api docs https://api.docs.cpanel.net/openapi/cpanel/operation/single_domain_data/ do you have an example for a cpanel plugin that has update so I can check what api is using?

The plugin always installs the latest available version https://github.com/Vvveb/cpanel-plugin/blob/main/vvveb.live.php#L144

Existing installations can also be updated from admin > tools > update https://demo.vvveb.com/admin/index.php?module=tools/update

Ferguson230 commented 1 month ago

Hi,

"do you have an example for a cpanel plugin that has update so I can check what api is using?" Not really, but WPToolkit has similar functionality, however I think the update instructions you provided will work. "Existing installations can also be updated from admin > tools > update https://demo.vvveb.com/admin/index.php?module=tools/update".

Thank you.

Kind regards.