Can someone tell me the steps to migrate and upgrade my BBS.
source:
v3.20 on a raspberry pi bullseye armv71
target:
v3.21 on a Intel i5 with ubuntu 25.04
I've compiled and built the synchronet v3.21 on my target system.
I've got all the directories and links setup.
I just don't really understand what copy from the source to the target. -------------------------------------------------
I've attempted to copy the following:
./ctrl
./data
./extra
./fido
./mods
then run the upgrade_to_v320 script, which seems wrong because my build is at 3.21 on the target, and there is no upgrade_to_v321 script.
when I start up the bbs I get a critical error about name.dat doesn't match expected lenght of 0.
Also some of my emails are gone, but not all of them.
Re: upgrade and move bbs raspbian to ubu intel
By: bbsing to All on Thu Mar 12 2026 02:38 pm
Can someone tell me the steps to migrate and upgrade my BBS.
source:
v3.20 on a raspberry pi bullseye armv71
target:
v3.21 on a Intel i5 with ubuntu 25.04
Migration instructions are here: https://wiki.synchro.net/faq:misc#migration Upgrade instructions are here:
https://wiki.synchro.net/install:dev
Updating 57c2367a57..95e02a2968
error: Your local changes to the following files would be overwritten by merge:
exec/gopherservice.js
Please commit your changes or stash them before you merge.
sbbs.h:101:10: fatal error: jsversion.h: No such file or directory
101 | #include <jsversion.h>
You changed that file in exec (you normally should not do that, copy to "mods" and modify there instead). To work around that git error you can pull
with rebase and autostash options: https://wiki.synchro.net/howto:git#up_alias
Or just "git checkout" the file, though you'll lose your local changes if you do that.
You likely originally built sbbs using the system's libmozjs (?) by specifying the JSINCLUDE and JSLIB build options. https://wiki.synchro.net/howto:raspbian_install
You changed that file in exec (you normally should not do that, copy to "mods" and modify there instead). To work around that git error you can pull
I really have to understand this, and maybe I shouldn't be building with symlink option. I have more to learn about how that works, because files I totally intended to mod in the exec directory like the gopherservice.js, or sbbs.service to run under a different user,..etc, and xtrn end up showing up as mods, when doing a pull.
The spidermonkey js libmozjs185-dev doesn't exist for ubuntu 25.04.
a
different user,..etc, and xtrn end up showing up as mods, when doing a pull.
the "mods" directory isn't in the git repo, so I'm not sure what you're saying.
Use the copy of spidermonkey included in the Synchronet git repo, in the 3rdp directory instead. That's the normal/default build
option. Using the system's libmzojs185 is the exception.
Re: upgrade and move bbs raspbian to ubu intel
By: Digital Man to bbsing on Wed Mar 18 2026 14:42:19
a
different user,..etc, and xtrn end up showing up as mods, when doing a pull.
the "mods" directory isn't in the git repo, so I'm not sure what you're saying.
sorry for the use of the word mods.
when doing a pull, anything modified produces an error because I believe they haven't been resolved.
I did not put anything in the the sbbs/mods/ directory.
I did modify some files because I believe the autoinstall process linked some of the files, or I just didn't understand what to do after the autoinstall process. mrc, startrek.
Stuff I didn't modify was 3rdp, but some of those came with reason for aborting the pull.
Use the copy of spidermonkey included in the Synchronet git repo, in the 3rdp directory instead. That's the normal/default build option. Using the system's libmzojs185 is the exception.
for whatever reason when I try to use that the build fails, looking for file jsversion.h
my original build command was:
make -f install-sbbs.mk SYMLINK=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185
my repo has in 3rdp:
./3rdp/win32.release/mozjs/include/jsversion.h
but my target (ubuntu 25.04 on i5 arch) nor did my source system raspi2w raspbian bullseye on arm7l, like it.
my target can build the current release, but not the release from my source system.
target build attempt on target:
------------------------------
build command>
make RELEASE=1 setcap symlinks JSINCLUDE JSLIB
Don't include JSINCLUDE or JSLIB (and why are they not =<some path>?) on the build command-line unless you have a specific reason/need to use the system's libmozjs rather the one included with ("vendored" for) sbbs.
Re: upgrade and move bbs raspbian to ubu intel
By: Digital Man to Grant Weasner on Wed Mar 18 2026 15:50:20
Hi Rob,
Don't include JSINCLUDE or JSLIB (and why are they not =<some path>?) on the build command-line unless you have a specific reason/need to use the system's libmozjs rather the one included with ("vendored" for) sbbs.
I've tried with and without and I end up with errors.
make RELEASE=1 setcap symlinks
-------------------------
produces the an error. ------------------------------------------------------
make -C /sbbs/repo/src/sbbs3/../../3rdp/build cryptlib
make[1]: Entering directory '/sbbs/repo/3rdp/build'
make[1]: Nothing to be done for 'cryptlib'.
make[1]: Leaving directory '/sbbs/repo/3rdp/build'
Compiling ansiterm.cpp
In file included from ansiterm.cpp:22:
sbbs.h:101:10: fatal error: jsversion.h: No such file or directory
101 | #include <jsversion.h>
| ^~~~~~~~~~~~~
compilation terminated. ------------------------------------------------------
I'll keep working on it.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,102 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492318:16:26 |
| Calls: | 14,131 |
| Calls today: | 1 |
| Files: | 186,278 |
| D/L today: |
1,733 files (640M bytes) |
| Messages: | 2,501,014 |