Hi all! I have elgg 1.8.3 running and just updated to version 1.8.5 successfully (appearently). The thing is tha the version number displayed in the admin summary section is not updated. This made me have to modify a plugin manifest that requires version 1.8.4 to 1.8.3.
Can't I update this value manually for future plugins?
Thank you!!!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
What version does it say in Elgg/version.php? Did you run /upgrade.php after replacing the files?
Ok, I missed to update that file. I did run upgrade.php. Can I simply overwrite the version.php file?
thank you!
My guess is that no upgrade scripts actually ran, and that after you change the file and re-run /upgrade.php, the system will run the upgrade and you'll be OK.
You may want a second opinion on that, and to do backups first.
You might need to manually update some database rows to reflect the new version number.
Talking about upgrade scripts; I upgraded from 1.8.4 to 1.8.5 by running the upgrade script. It directed me to install script and after accepting to use the same existing 1.8.4 database (script proposed I delete the database step from the url and run further) I finished the upgrade. But then some screens still pointed back to 1.8.4.
I "solved" this issue by checking all elgg database tables for any reference to 1.8.4 and renaming them to 1.8.5.
It works now. But it does not make sense that I had to make such manual updates after running upgrade.php. I must have done something wrong initially which I can not figure out what.
regs.
do not rename database entries to "solve" this problem. More than likely you are not using 1.8.5, you simply hacked it to report that it is. Follow the correct upgrade procedures.
Before you edit your DB see http://docs.elgg.org/wiki/Should_I_edit_the_database_manually%3F
Well, I did see some changes and the upgrade did last a bit (something it did almost for sure). I just overwrote the version.php and it appears to be 1.8.5. And it seems to work ok.
Maybe I can run the upgrade.php just in case. If nothing is to be done, would it it make any harm?
@Sergio - You need to re-run upgrade.php. I'd also double check that you updated all the files.
Is there any data model difference between 1.8.4 and 1.8.5? And is there any metadata (stored in DB) difference between these two versions other than version numbers? regs.
no change in datamodel. For other informations see http://blog.elgg.org/pg/blog/evan/read/209/elgg-185-released
- Previous
- 1
- 2
- Next
You must log in to post replies.