I upgraded Moodle to what I thought was the most recent version of 3.9 recently, and the site has worked fine for weeks.
Today, an instructional designer let me know that the "Add Resource or Item" button was not working at all. I looked into it and it looks like there is a Javascript error. That seemed strange to me, as to how that could make it through code review.
I checked my server environment and somehow I am running 4.0dev on this production site.
I do manual upgrades by hand and I absolutely know that I would have seen the 4.0 in the WGET call. I feel like I downloaded a mislabeled file somehow.
At any rate, it's my fault and by now my backups all have the 4.0dev version. I tried a clever trick and tried to just install the files back for 3.9 but Moodle complained that the database was created by a newer version of Moodle.
What are my options here? Here are the things I have thought of:
1. Update 4.0dev to latest version, and hope that it fixes that issue and then basically stay totally hands of the site until I can figure out a more robust fix.
2. Export the courses and users and rebuild the Moodle installation on 3.9 or 3.10.
I would appreciate any and all feedback. Yes, I know backups are important, yes I had them, many of them, but its been two weeks and they all have 4.0dev on them now. Totally my fault, but I need to figure something out!