Data corruption after upgrading to Synchronet 3.20 reddit / bbs ---------------------------------------------------------------------- crashj · 2023-05-10 03:47 It looks like I lost my sbbs after building 3.20 from source. sbbs will no longer start, and if I try and use "jsexec upgrade_to_v320" it refuses to start because a bunch of .ini files don't exist. It looks like they changed the format of config files, and the order you upgrade in is very important. Even though the wiki page says you can do it before or after the upgrade. I am not sure how to fix it, but I'm completely down now so I can't even post on DOVE net. ---------------------------------------------------------------------- crashj · 2023-05-10 03:49 [root@bbs /sbbs]# jsexec upgrade_to_v320.js JSexec v3.20a-FreeBSD master/4985797d2 - Execute Synchronet JavaScript Module Compiled May 9 2023 20:30:35 with Clang 11.0.1 Loading configuration files from /sbbs/ctrl !ERROR loading configuration files: 2 (No such file or directory) opening /sbbs/ctrl/msgs.ini JavaScript-C 1.8.5 2011-03-31 JavaScript: Creating runtime: 167772160 bytes !Module file (../exec/upgrade_to_v320.js) doesn't exist !Module (upgrade_to_v320.js) set exit_code: -1 JavaScript: Destroying context JavaScript: Destroying runtime Returning error code: -1 ---------------------------------------------------------------------- crashj · 2023-05-10 04:15 It's a complete mess. I was able to copy the .ini files from the /sbbs/repo/ctrl directory into /sbbs/ctrl, and then run upgrade_to_v320 and it starts, but I have data loss. I had to run scfg again and use the wizard, and all my fidoNet/fsxNet configuration and posts are gone. ---------------------------------------------------------------------- crankyoldtekhead · 2023-05-10 06:33 Restore from the backup you took before the upgrade and try the process again. Check that the upgrade js isn't bombing out because of another missing script that may not be built (ensure your build completed successfully) or you may have to find it in your sources and move it to exec. Either way, you shouldn't have any data loss, should be able to follow the errors. ---------------------------------------------------------------------- dmine45 · 2023-05-10 08:58 ALWAYS back up your data before any upgrade. Always! And yes, the data files are completely different in 3.20. Did you watch Rob's videos on YouTube with regard to that? ---------------------------------------------------------------------- digitlman · 2023-05-23 18:40 It sounds like you did something wrong in the process. [https://wiki.synchro.net/install:dev](https://wiki.synchro.net/instal l:dev) Also: [https://wiki.synchro.net/howto:support](https://wiki.synchro.net/howt o:support)