r/sonarr • u/Apprehensive_Elk2608 • 11d ago
solved Switching from develop to main
I have a basic Windows install running on 4.0.20.3012 develop branch (honestly I have no idea why). I want to get on the main branch. Can I simply switch the branch in Settings and it'll update to 4.0.20.3014? Or perhaps download the associated installer and run it manually?
My concern is this warning on the Wiki: Warning: You may not be able to go back to main after switching to this branch. On GitHub, this is the develop branch.
2
Upvotes
6
u/so7ow 11d ago edited 11d ago
Not about build numbers, it's the DB schema. Sonarr only migrates the database forward, so if your develop build already applied a schema bump that main hasn't shipped yet, switching to main leaves you with an app that won't start until a main release catches up. That's exactly what the wiki warning means. The trick is timing: the right moment to move is right after a fresh main release, since that's when main is most likely to have caught up to develop's schema and the gap is smallest. So back up first (System / Backup), switch just after a recent main release, and if it won't start, restore the backup onto develop and wait it out.
1
u/AutoModerator 11d ago
Hi /u/Apprehensive_Elk2608 -
There are many resources available to help you troubleshoot and help the community help you. Please review this comment and you can likely have your problem solved without needing to wait for a human.
Most troubleshooting questions require debug or trace logs. In all instances where you are providing logs please ensure you followed the Gathering Logs wiki article to ensure your logs are what are needed for troubleshooting.
Logs should be provided via the methods prescribed in the wiki article. Note that
Infologs are rarely helpful for troubleshooting.Dozens of common questions & issues and their answers can be found on our FAQ.
Please review our troubleshooting guides that lead you through how to troubleshoot and note various common problems.
If you're still stuck you'll have useful debug or trace logs and screenshots to share with the humans who will arrive soon. Those humans will likely ask you for the exact same thing this comment is asking..
Once your question/problem is solved, please comment anywhere in the thread saying '!solved' to change the flair to
solved.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.