-
-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Upgrader + Latest PHPMyAdmin #1139
Conversation
So far, it doesn't seem to upgrade, but it has the option to find all branches, and it does say it starts the upgrade.
I am sorry I didnt see your pull request yesterday. i've made some changes and installation is working but the upgrade via ui still does not work. |
See last three commits: https://github.com/usmannasir/cyberpanel/commits/v2.3.5-dev |
Still not finished. Fixed theme for the buttons and dropdown.
For some reason, the upgrade button don't have access to this file location: /usr/local/CyberCP/cyberpanel_upgrade.sh sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh |
I am sorry, I did not understand exactly? |
What I mean is. Using this location gives me an error if I let the script change the branch from /stable/ to something else. What if i put it as a script in the CPScripts, will CyberPanel accept that path easier? |
Added Upgrade Progress Log that works. But upgrader does still not fully work.
Can you tell me exactly how are you running it? Also installing mailscanner is different, reason is upgrading CyberPanel itself disconnect it from the CyberPanel. Which might be causing issue in your case? |
I am trying to run the upgrader through the shell setup, like the live shell we had in 2.3.2 if I remember the number right. Then when it is installing, I only wanted the log window (The shell view) to show the progress of the upgrade, just like normal SSH is showing the upgrade of CyberPanel. But the most important part is to be notified once the upgrade is done, or that it is still doing it's thing. So we continue to see the status if we return to the versionManagment.html My main issue is the branch checking seems to be failing, because of invalid character.
|
This function checks the variables passed via javascript for malicious data, so if you think you need to bypass any variable you can use this Or let me know which variables are you passing from js side, so i can adjust this function accordingly. |
Equal to latest version in the repository.
This removes the old .bak file, drafted 2 years ago, when we were changing from rainloop to snappymail.
secMiddleware.py This needs testing, if this change will mess up anything else. @usmannasir Can you try this?
Merged and testing. |
@master3395 which view are you calling for uri |
One step closer.