Jump to the post that solved this thread.
Not Solved upgrade from 1.8.39 to 1.8.40
#1
Not Solved
Hey folks

atm my board is running on .39

but my board is heavy modified
most parts are done with plugins..some hard coded in core code...

i dont want to "loose" all my progress...and changes...just have the board up to date and all security stuff

maybe the new post icon feature too

so which files do i REALLY have to change to make the update save?

i already removed hangouts and buddy list features from the board, because i dont use it
same with calendar and rating functions (thread/post/user) rating

sorry for the maybe stupid question, its my first update (started with .39 half year ago)

cheers Smile
Reply
#2
Not Solved
Hi there did the update with some plugins and old themes, 0 problems, maybe desactivate your plugins before and do an backup for safety.
Reply
#3
Not Solved
Updating a heavily modified board is always tricky, and you’re right to be cautious about losing your changes. Since you have hard-coded core modifications, a standard overwrite will break your site.

The best way to handle this is to perform a manual merge. Download the 1.8.40 package and use a diff tool (like WinMerge or VS Code) to compare the new files against your current ones. This way, you can identify exactly which files were changed in the update and safely merge your custom code into them without overwriting your progress. Definitely make a full backup of your files and database before touching anything!
MyBB Türkçe Destek Sitesi: https://mybb.tr

[Image: mysksxl.gif]

Please! Do not request support via private message unless I give permission. If you want paid consulting, you can contact us.
Reply
#4
Not Solved
yes thats what i want do anyway

but the "changed files" zip is soo huge

is there really so much being changed?



the hard coded changes in core are not thaat much
i marked all of them in my ftp with a txt copy so i know which ones i have to care about
Reply
#5
Not Solved
That is exactly the right approach. Don't worry about the file size; most of those files are just assets or unchanged core files. Since you already have your hard-coded modifications noted in your text file, you just need to isolate the modified files that actually require attention.

To save you time and ensure you don't miss anything, use this simple Bash script to compare your current files against a clean 1.8.40 install. It will generate a list of exactly which files have been modified or are missing.

#!/bin/bash
# Usage: ./check.sh /path/to/fresh_1_8_40 /path/to/your_board

find "$1" -type f | while read file; do
    rel_path=${file#"$1/"}
    target="$2/$rel_path"

    if [ -f "$target" ]; then
        if [ "$(md5sum "$file" | cut -d' ' -f1)" != "$(md5sum "$target" | cut -d' ' -f1)" ]; then
            echo "[MODIFIED] $rel_path"
        fi
    else
        echo "[MISSING] $rel_path"
    fi
done

If the script flags a file that isn't in your text notes, you know you need to double-check that specific file. Run this, merge the differences, and you'll be safe. Just make sure to take a full backup before starting!
MyBB Türkçe Destek Sitesi: https://mybb.tr

[Image: mysksxl.gif]

Please! Do not request support via private message unless I give permission. If you want paid consulting, you can contact us.
Reply
#6
Not Solved
You may also find useful: https://community.mybb.com/mods.php?action=view&pid=980
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)