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
How to use built-in update tool? #189
Comments
To begin with, what version of Mibew Messenger are you trying to update? (And BTW, the actual version of Mibew Messenger is 2.2.0.) |
@faf Sorry about the wrong description above, I just correct it. My current version is 2.1.2 and I want to update 2.2.0. thanks |
Have you navigated to {{YOUR_DOMAIN_NAME_HERE}}/mibew/index.php/operator/about and clicked the "Check for available updates" link? |
Well actually, maybe disregard my comment. It seems you tried to manually update and are now getting an error, correct? I think the built-in update tool is on that about page (correct me if I'm wrong). That error is probably related to something else, possibly a migration the built in tool may have done for you, but since you manually got new sources that new version expects the database to be in a certain state and it isn't in that state (ie, no initialized column)? |
Yes, I found the link and it works correctly, but I can't find some way to
click and upgrade automatically, so, the build in update tool is just a new
version check tool?
2017年3月3日 下午11:05,"snewell92" <notifications@github.com>写道:
… Have you navigated to *https://blinky.charmsoffice.com/mibew/index.php/operator/about
<https://blinky.charmsoffice.com/mibew/index.php/operator/about>* and
clicked the "*Check for available updates*" link?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#189 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABlp8m20ArSw-wnyIstcBvjOLoCQncwlks5riCwCgaJpZM4MMvwl>
.
|
I'll do some digging, I believe a CronJob using that CronKey is what might be needed. The code here seems to have the capacity to apply updates, but maybe it needs to be triggered by that cronjob. I'll let you know what I find (I remember reading somewhere about how to set up this cronjob...) |
Maybe the only upgrade way is manually update, I try manually update and
got an error, it's looks like a database problem, but I can't sure
actually. And I found the document said have a built-in upgrade tool, so I
think maybe I can use it to update my current Mibew, but maybe it just a
checking tool.
2017年3月3日 下午11:07,"snewell92" <notifications@github.com>写道:
Well actually, maybe disregard my comment. It seems you tried to manually
update and are now getting an error, correct? I think the built-in update
tool is on that about page (correct me if I'm wrong). That error is
probably related to something else, possibly a migration the built in tool
may have done for you, but now your database doesn't?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#189 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABlp8k8JqQdD2px-hRSNtrO9_EY_q8zcks5riCycgaJpZM4MMvwl>
.
|
I think you did it correctly. You seem to have followed the instructions from the readme.
That last step says to update the database tables if needed. I wonder how we're supposed to know what to do there? Maybe there's some information somewhere. |
I'm not a dev of mibew, just another programmer + server-admin - so maybe wait for a mibew dev to shed some light. Sorry I couldn't be more helpful. |
Yes, I can't find how to upgrade my datebase, maybe it should update automally when I visit
Thanks @snewell92 :) |
At the moment Mibew Messenger can check for updates (either manually - if one uses the link 'Check for available updates' on the 'About' page, or automatically - by cron), and upgrade your database if needed (once you've visited However, it can not automatically download and apply updates to your code. At least for now. @everyx , Are you sure you've visited the |
@faf Yes, I use SSL over my site, and vist
but the version 2.1.2 is works as expected. My server environment: user@host$ mysql -V
mysql Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3
user@host$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty |
@everyx I have one suspicion... Do you have any plugins installed? And if so, could you disable all of them before replacing the code and trying to update the database? |
@faf Yes, I have installed some plugin, and I'll have a try, thanks :) |
@everyx Please, provide feedback afterwards. It's really important issue. |
@faf OK, I'll have a try in this sunday and will leave the result in here, thanks :) |
@faf I just have a test with this follow steps:
so, I think we should improve the document, add disable all plugin before update |
I just follow this document in Mibew sIte: Installation and update, and when I backup, unzip new file then restore files and correct all rights, I visit http:///mibew/update/ and I got this error:
and I found that:
so how can I update 2.1.2 to
2.1.22.2.0 using built-in update tool? I can't find the tool in the dashboard.The text was updated successfully, but these errors were encountered: