For some reason I feel this is more complicated than it should be... the entire process that is.
Why can't there be a base/main installer/updater... pretty much will never change. Then, you have a DB updater file, file updater file, and config updater file... seems pretty straight forward to me.
For my Windows ZP to Sentora update package all i did was make a file package, the user uploads it to /panel/ folder, navigates to panel.domain.com/update/ and simply clicks 'Upgrade!' The DB is patched, the configs patched... pretty simple. If people are using custom installs to bad! I never finished it 100% like changing the core DB name or folder name from zpanel to sentora... oh well
For one of my other projects, its a 1-click update.
I probably could make one in PHP in 2-3 weeks based off my Windows converter
Kick it around, we have lost thousands of ZPanel users by not getting the conversion patch done!
If 90% of it can be done using php, then use it
That's my 25 cents worth
Think it over.
Why can't there be a base/main installer/updater... pretty much will never change. Then, you have a DB updater file, file updater file, and config updater file... seems pretty straight forward to me.
For my Windows ZP to Sentora update package all i did was make a file package, the user uploads it to /panel/ folder, navigates to panel.domain.com/update/ and simply clicks 'Upgrade!' The DB is patched, the configs patched... pretty simple. If people are using custom installs to bad! I never finished it 100% like changing the core DB name or folder name from zpanel to sentora... oh well
For one of my other projects, its a 1-click update.
- New version gets downloaded to hosting space.
- Backups are made of entire site and DB. (For Sentora we would skip hostdata/logs/junk like that I would think..?)
- Files are extracted into panel folder (skipping any configs).
- Updater script is read and DB gets patched as needed.
- Update files and deprecated files are deleted.
I probably could make one in PHP in 2-3 weeks based off my Windows converter
Kick it around, we have lost thousands of ZPanel users by not getting the conversion patch done!
If 90% of it can be done using php, then use it
That's my 25 cents worth
Think it over.