Not Solved No install for upgrade
#1
Not Solved
There appears to be no install/upgrade script in the 1.8.41 Changed Files download.  Is it just a case of replacing the files in the ZIP and that's it?  

Have I missed something?
Reply
#2
Not Solved
There is no install/upgrade script because there is no modification to datas structure, so no need of it.
Tchat en français
Do not ask me help through PM or Discord

Reply
#3
Not Solved
Hi there do a backup and disable the plugins to be sure, if you are uploading from 8.41 you can upload only the changed files and go to
/install/upgrade.php
Reply
#4
Not Solved
Sorry?  I do not understand now..  

I am not "uploading from 8.41", I am upgrading from 1.8.40 to 1.8.41 utilising the changed files

There is no "install/upgrade.php" in this changed files ZIP so you cannot run this script.

Can someone please confirm all I have to do is upload these changed files in the ZIP and that is all I have to do?

Thank you
Reply
#5
Not Solved
I did a did the process documented (close board, disable all plugins, copy files to server, enable all plugins, open board).  I didn't run an upgrade script since my changed files package didn't have one.  If you upload the full files set, then you will have an upgrade script, but if you try to run it, I'm pretty sure it won't do anything.

I have often felt a little "fuzzy" with respect to the upgrade script.  For example the release notes say: "Upgrading from older versions may require running the install/ upgrade script."  But I think older means older than 1.8.40 and then there is that "may" - which is fair because sometimes multiple versions in a row don't need to run an upgrade, but it is "fuzzy" nonetheless. Smile

Anyway, my local and public forums went from 1.8.40 to 1.8.41 with no upgrade script used.
Reply
#6
Not Solved
Thank you for the help guys.  I have no /install/ directory on my forum anymore as it was removed after previous updates that I did.  I removed it after the last update because of these instructions that are in the Upgrade documentation -

"After the upgrade has finished successfully, you can safely delete the install/ directory."

So yes, I can do these steps -

"(close board, disable all plugins, copy files to server, enable all plugins, open board)"

, but how does the forum update the version number without running any sort of "/install/upgrade.php" script?  If I'm meant to now run the old upgrade.php script at this point to just update the version number correctly, I cannot as this has been previously deleted.

(I know this probably sounds like I'm being pretty stupid on all of this, but should this \install\ directory still exist on my forum before I do anything else?)
Reply
#7
Not Solved
There's no upgrade script as there's no database changes. Version numbers are stored in inc/class_core.php.
No longer involved in the MyBB project.
Reply
#8
Not Solved
Thanks, my forum is updated now and I understand about install files/folders
Reply
#9
Not Solved
Peharps could it be usefull to have a small message in the "download changed files" block to inform when there's no need to use the install/ upgrade script.
Even if most of users won't read it and will ask here why install/upgrade.php is not present Smile
Tchat en français
Do not ask me help through PM or Discord

Reply
#10
Not Solved
(2026-09-19, 10:52 AM)Crazycat Wrote: Peharps could it be usefull to have a small message in the "download changed files" block to inform when there's no need to use the install/ upgrade script.
Even if most of users won't read it and will ask here why install/upgrade.php is not present Smile

I second this. I needed a minute to undestrand what was necessary to do (= simply override the files). After some months from the latest update, you always need a while to remember everything.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)