I have the following message during the last days of dolphin 7.2.1 What should I do?
I have the following message during the last days of dolphin 7.2.1 What should I do? | ||||||||||||
There is a duplicate entry in the database table; see the very last line of the error message. That will have to be corrected before you can continue with the upgrade. Geeks, making the world a better place | ||||||||||||
what should I do? | ||||||||||||
Try to restore from backup and run it again, but before applying upgrade try to change upgrade/files/7.3.0.B2-7.3.0.RC/modules/videos/sql.sql file, by adding the following line:
...
It will make sure that everything is deleted, before inserting it on next lines. If you have similar problems in other modules, let me know and I will provide instructions for them as well. Rules → http://www.boonex.com/terms | ||||||||||||
I just ran into this same exact issue; perhaps Boonex should break from not updating upgrades files and start fixing some of these upgrade issues as they appear so that people in the future won't face them. Geeks, making the world a better place | ||||||||||||
I decided to take the time and study the upgrade scripts. First of all, stop changing the sys_options sys_tmp_version before the upgrade script finishes; that should be done at the very end; it causes the database to say the version of Dolphin is at the next version when it is not; because the bloody script failed.
The upgrade script will skip a module without the sql.sql file; so for all the modules that have already been ungraded before the fail point, rename or remove the sql.sql file for those modules. The upgrade will still report the modules as being upgraded because the script returns true.
In this case, add Alex's fix to both the video and sounds sql.sql file, replacing sounds for videos of course.
Then you have to make sure the database is reporting the correct version because the bloody script changes it before it starts updating the modules; it should do it last. Once the database is back to the correct version, then revisit http://your_site.tld/upgrade and you will be able to start over. Geeks, making the world a better place | ||||||||||||
I just ran into this same exact issue; perhaps Boonex should break from not updating upgrades files and start fixing some of these upgrade issues as they appear so that people in the future won't face them. It took a long time for the obvious to be stated. ~~~~~~~~~~~~~~~~~~~~~~ TravelNotes.org - The Online Guide to Travel | ||||||||||||
BoonEx Dolphin Upgrade Script
the update does not start | ||||||||||||
run this in the database. UPDATE `sys_options` SET `VALUE` = '7.3.0.RC' WHERE `Name` = 'sys_tmp_version';
Just guessing you are trying to upgrade the 7.3 rc to final 7.3 version. If you are going straight from 7.2.1 then change 7.3.0.RC to 7.2.1.... Then clean cache the cache folder then run the upgrade again. https://dolphin-techs.com - Skype: Dolphin Techs | ||||||||||||
BoonEx Dolphin Upgrade Script
the update does not start It could be that you are not at the correct version for that upgrade. I have to disagree with Dolphin Jay on telling you to set the value of the version in the database because we don't really know what version you are currently; if you are at 7.1.4 and run that update then it is not going to make things better. Geeks, making the world a better place | ||||||||||||
We already update version as the last step, then modules are updated and modules versions are updated separately. First of all, stop changing the sys_options sys_tmp_version before the upgrade script finishes; that should be done at the very end; it causes the database to say the version of Dolphin is at the next version when it is not; because the bloody script failed.
Rules → http://www.boonex.com/terms | ||||||||||||
header.inc.php file : version.inc.php : <?php $site['ver'] = '7.3'; $site['build'] = '0';
no version "sys_tmp_version" in sys_options
I have every connection to the administration the "trial copy! Register and get a license it" , I have a valid license
| ||||||||||||
We already update version as the last step, then modules are updated and modules versions are updated separately. Yes, and this is wrong. Update modules and module versions and then when that has completed without errors, then update the site version. You are updating the site version before modules have completed their upgrade and if the modules fail, then one has to go into the database and set the site version back before one can get the updates to run. Geeks, making the world a better place | ||||||||||||
header.inc.php file : version.inc.php : <?php $site['ver'] = '7.3'; $site['build'] = '0';
no version "sys_tmp_version" in sys_options
I have every connection to the administration the "trial copy! Register and get a license it" , I have a valid license
I ran into this same issue, the rows disappeared from the table along with the rows that hold the license. I thought maybe I had done something to cause the rows to disappear. Now I am wondering if the upgrade script had somehow deleted rows; It should just be doing a simple update. I find it curious that you are also reporting the sys_options rows missing; the same rows that were deleted when I did the upgrade. You will have to add the rows back to the sys_options table from your backup. You can create a new database on your server and then import that database. Then you can use phpMyAdmin or similar to export those rows and then import into the database. If you are unsure of how to do this, then either myself or Dolphin Jay can help.
I don't know, you may just want to start over from backups but it is possible you can continue from where you left off. Geeks, making the world a better place | ||||||||||||
In my last post I pulled the update right from the upgrade.sql file. There is no drop and replace for the version number....
Not sure why yours is blank though. Something failed for sure. If you need to get it back on track let me know and i can take a look at it. https://dolphin-techs.com - Skype: Dolphin Techs | ||||||||||||
In my last post I pulled the update right from the upgrade.sql file. There is no drop and replace for the version number....
Not sure why yours is blank though. Something failed for sure. If you need to get it back on track let me know and i can take a look at it. Dolphin Jay, read my reply, the part in red; this happened to me as well. The problem, if you are asked to come in, is that the rows in the table were deleted by the upgrade procedure. Strange but it has happened to me and lynxmondz so my guess is it is the upgrade script that caused this. Geeks, making the world a better place | ||||||||||||
Version isn't deleted, it's updated. Are you sure that this record was in the db before the upgrade procedure ? Cn you try to check with some backup before the upgrade applied ? The problem, if you are asked to come in, is that the rows in the table were deleted by the upgrade procedure. Strange but it has happened to me and lynxmondz so my guess is it is the upgrade script that caused this.
Rules → http://www.boonex.com/terms | ||||||||||||
Dolphin Jay, read my reply, the part in red; this happened to me as well. The problem, if you are asked to come in, is that the rows in the table were deleted by the upgrade procedure. Strange but it has happened to me and lynxmondz so my guess is it is the upgrade script that caused this. I finally got around to upgrading my site and have just had the exact same issue so it must be the script and I cannot believe that it still has not been fixed. You have only had since May this year.
Come on guys .....please sort it out. |