MyBB Community Forums

Full Version: Help on Upgrading to 1.6.6
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! I am recoder and I am trying to upgrade (not install) mybb for the 5'th time but never happened to see this error.

Site : Gaming.elementfx.com

The Files and folders are there in Public_html.

So I downloaded the changed File Package and Uploaded everything inside (including install/ with no lock file) it using FileZilla.

When I opened my Browser. I got this error.

MyyBB Internal Error Wrote:MyBB has experienced an internal error and cannot continue.

Error Type:
MyBB Error (43)
Error Message:
The install directory (install/) still exists on your server and is not locked. To access MyBB please either remove this directory or create an empty file in it called 'lock'.

So I created a lock File,and put in in /install/ and when I opened my site then it gave me another error :-

MyBB Internal Error Wrote:MyBB has experienced an internal error and cannot continue.

Error Type:
MyBB Error (42)
Error Message:
Your board has not yet been upgraded. Please do so before attempting to browse it.

I cannot understand what to do now. Confused

Any answers will be appreciated.
have you run the upgrade script by visiting YOURforumURL/install/upgrade.php on your browser ..
You need to actually run the upgrade script.

Delete the 'lock' file, go to yoursite.com/install/upgrade.php, run the upgrade script, then if the lock file wasn't automatically generated, create the lock file again.

[Wiki: Upgrading] (Broken link, head over to docs.mybb.com instead)
I deleted the Lock file, and went to mysite.com/install/upgrade.php and was surprised to meet with a error,

File Not Found Error 404.

I checked the File, using Filezilla, and found that install directory is there with the upgrade.php. Then why am i getting error 404.
this is what i have in my folder after the update (you shouldhave the same without the lock or lockold file.

Solved.
care to tell us what was up it might help others.
Don't know. But the install file originally had CHMOD of 700. (It worked many times)

But I need to change it to 777 to run the Upgrade Script for 1.6.6. There were no issues with 700 while installing/upgrading (rest of the times)etc. Smile
^ hmm., that's strange !! installer file doesn't need higher level access permissions ...
Seemed strange too because I never gave any Folder 777 before this. It was only this time that installer file needed 777 permissions. :p

Well, now the install Script has been successfully run and installer folder is locked. the Permission is also reverted back to 700. Smile