Upgrade from SMF 1.1.x to 2.0.5 > Server has not responded for 30 seconds Error

Started by chase78, October 19, 2013, 02:34:40 AM

Previous topic - Next topic

margarett

That is happening in your local machine? Did you load the forum files to the public_html folder (or in a sub folder) and put repair_settings in the same place?

You should never get an error 500... That's some server error that shouldn't happen. Check the apache logs to try to find the cause.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chase78

Thanks... that was my computer at home.

I am now trying at another computer and get other errors... I have done the database import and overwritten the old 1.1.x php script with the large Upgrade script.

The errors are as below and displayed in Orange tables... it is a whole series, not just the few mentioned below... but all say that there is something missing in upgrade.php

Notice: Undefined index: upgrade_overall_progress in C:\wamp\www\forums\upgrade.php on line 3502
Call Stack
# Time Memory Function Location
1 0.0156 760360 {main}( ) ..\upgrade.php:0
2 0.2812 1662368 upgradeExit( ) ..\upgrade.php:695
3 0.2812 1662488 template_upgrade_above( ) ..\upgrade.php:736

Notice: Undefined index: upgrade_time_mins in C:\wamp\www\forums\upgrade.php on line 3528
Call Stack
# Time Memory Function Location
1 0.0156 760360 {main}( ) ..\upgrade.php:0
2 0.2812 1662368 upgradeExit( ) ..\upgrade.php:695
3 0.2812 1662488 template_upgrade_above( ) ..\upgrade.php:736

Notice: Undefined index: upgrade_progress in C:\wamp\www\forums\upgrade.php on line 3488
Call Stack
# Time Memory Function Location
1 0.0156 760360 {main}( ) ..\upgrade.php:0
2 0.2812 1662368 upgradeExit( ) ..\upgrade.php:695
3 0.2812 1662488 template_upgrade_above( ) ..\upgrade.php:736

Notice: Undefined index: upgrade_step in C:\wamp\www\forums\upgrade.php on line 3493
Call Stack
# Time Memory Function Location
1 0.0156 760360 {main}( ) ..\upgrade.php:0
2 0.2812 1662368 upgradeExit( ) ..\upgrade.php:695
3 0.2812 1662488 template_upgrade_above( ) ..\upgrade.php:736

Notice: Undefined index: upgrade_step in C:\wamp\www\forums\upgrade.php on line 3493
Call Stack
# Time Memory Function Location
1 0.0156 760360 {main}( ) ..\upgrade.php:0
2 0.2812 1662368 upgradeExit( ) ..\upgrade.php:695
3 0.2812 1662488 template_upgrade_above( ) ..\upgrade.php:736



Finally at the bottom:

Updating Your SMF Install!
The upgrader was unable to find some crucial files.

Please make sure you uploaded all of the files included in the package, including the Themes, Sources, and other directories.

Click here to try again.


I have rewritten the upgrade files but the error still occurs. :'(

margarett

Please put your 1.1 files back, then run repair_settings.php. Before you start the upgrade process, please make sure your 1.1 forum is "live" and can be accessed.

Then you can go with the upgrade ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chase78

when i ran repair_settings I get the below error.

Notice: Undefined index: database_error in C:\wamp\www\forums\Sources\Subs-Db-mysql.php on line 572
Call Stack
# Time Memory Function Location
1 0.0000 315856 {main}( ) ..\repair_settings.php:0
2 0.0781 1001960 show_settings( ) ..\repair_settings.php:215
3 0.1406 1095608 guess_attachments_directories( ) ..\repair_settings.php:582
4 0.1406 1096248 smf_db_query( ) ..\repair_settings.php:672
5 0.1406 1096760 smf_db_error( ) ..\Subs-Db-mysql.php:358

( ! ) Fatal error: Call to undefined function allowedTo() in C:\wamp\www\forums\Sources\Subs-Db-mysql.php on line 573
Call Stack
# Time Memory Function Location
1 0.0000 315856 {main}( ) ..\repair_settings.php:0
2 0.0781 1001960 show_settings( ) ..\repair_settings.php:215
3 0.1406 1095608 guess_attachments_directories( ) ..\repair_settings.php:582
4 0.1406 1096248 smf_db_query( ) ..\repair_settings.php:672
5 0.1406 1096760 smf_db_error( ) ..\Subs-Db-mysql.php:358

chase78

when i copy the old 1.x.x. files over, the forum can run. But the upgrade cannot run, with the mentioned errors.

margarett

Those are strange errors. Especially here:

Quote
4 0.1406 1096248 smf_db_query( ) ..\repair_settings.php:672
5 0.1406 1096760 smf_db_error( ) ..\Subs-Db-mysql.php:358
repair_settings and Subs-xxxx are NOT supposed to be in the same folder..
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chase78

i had put repair settings in the root of the forum.

different from the sources folder.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

chase78

Now the upgrade script can run.

The error is caused by that I had deleted the old default themes and that I used a modified theme. The database does not have record of the default themes. So after I managed to reset to my modified theme, the errors disappeared.

Dear support members, you all can take note and advise upgraders who encounter the same problem that they should have the default themes intact or at least reset to the current usable theme. I appreciate your advice so far.

Now...

Database Changes
Executing database changes
Please be patient - this may take some time on large forums. The time elapsed increments from the server to show progress is being made!
Executing upgrade script 2 of 2.
Executing: "Upgrading the error log." (14 of 42 - of this script)

WAITING WAITING... there progress bar for "Updating error log tables" is moving slowly. Fingers crossed.  O:) :D

Arantor

QuoteThe error is caused by that I had deleted the old default themes

A configuration totally unsupported by us in any eventuality. SMF is not designed to be run without the *default* theme since every theme without fail should be deriving from it unless you put *every* template into it and even then there are likely to be edge conditions, not least this.

(And no, I don't see us fixing the upgrader for this eventuality.)

chase78

understand your point. 8)

now the script has been running at the same step 14 of 42 for the last 2 hours...

Executing: "Upgrading the error log." (14 of 42 - of this script)

The progress is increasing slowly, now at 45%. I am using i3 processor.

chase78

now i am doing at another computer.

its at the same stage, error_log at 54% and been running for 15 hours.

Any thoughts? I should wait?


chase78

Ran for 42 hours and got to error_log at 78% and... someone closed my localhost browser with the upgrade still running.

Where is this error_log file anyway??

Arantor

The place where all the errors are logged. But for it to take any serious period of time, that would imply you have a *lot* of errors. Try emptying the table.

chase78

FINALLY!!!

I tried on a 3rd computer and everything works. The database upgrade done in 4 mins! I cant rem what settings I changed, like max file size and stuff...

I checked that its the new 2.0.6. Hurray!!

Now I trying to export from phpmyadmin and its 0 bytes. Googling now.

Thanks everyone. This case can be closed.


chase78

Thanks everyone. it has been much ado.

I remember changing some setting in mysql, maybe because of this, the upgrade time is a lot faster.

Do you know where to get the repair_settings for smf 1.1.x? I am trying to retrieve something from my old forum.

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chase78

Strange. does not seem to work. The display is shown as 2.0 and no save button appears at the bottom. Thanks!!

Advertisement: