SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 62 из 100
 От   : Jason                               1:103/705         23 окт 25 10:52:54
 К    : Digital Man                                           23 окт 25 19:04:01
 Тема : Upgrading from v3.18 on CentOS7 to Ubuntu 25.04
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 55098.sync@1:103/705 2d605c96
@REPLY: 55096.sync@1:103/705 2d604748
@TZUTC: -0500
@PID: Synchronet 3.18c-Linux Nov 9 2020 GCC
4.8.5
@TID: SBBSecho 3.30-Linux master/88b423313 Sep 29
2025 GCC 12.2.0
@COLS: 190
@BBSID: HDCBBS
@CHRS: CP437 2
@FORMAT: flowed
@NOTE: FSEditor.js v1.104
  Re: Upgrading from v3.18 on CentOS7 to Ubuntu 25.04
  By: Jason to Digital Man on Thu Oct 23 2025 09:21 am

 >   Re: Upgrading from v3.18 on CentOS7 to Ubuntu 25.04
 >   By: Digital Man to Jason on Wed Oct 22 2025 10:01 pm
 >
 >  >  > I then do the /sbbs/exec/jsexec update and it doesn`t seem to work.
 >
  > > What makes you say that? Is the update.js current (the
latest from the Git repo)?
 >
  > I think this may be the problem, so im going to start over
with the upgrade and try this. Question, after i compile with symlinks,
it appears that it`s symlinking the executables but not
  > any of the .js files. Is this right? Did i miss a step
somewhere in the instructions? I would have thought it would have moved this
stuff over?
 >
  > Also, should it link the executables or create a symlink for
the exec folder over to the exec folder inside of the repo directory?
This is where it gets fuzzy for me because i`m not
 > reading
  > this in the instructions or im not understanding it properly. I
am dense at times, so it`s probably me, but im confused.. should i
just move update.js script over by itself then?
 >
 > For context, here is the header in my current exec/update.js file:
 >
 > /* $Id: update.js,v 1.10 2020/05/05 01:09:27 rswindell Exp $ */
 >
 > Here is the one in /sbbs/repo/exec:
 >
 > /* Synchronet v3.15+ update script (to be executed with jsexec) */
 >
 > So definitely a newer version there.
 >
  > Also, the compile did create the symlinks for the update_to_v319
and update_to_v320 but not one for update.js
 >
 > Here is the files from my /sbbs/exec folder:
 >
 > -rw-r--r--  1 sbbs sbbs   5244 Nov 10  2020 update.js
  > lrwxrwxrwx 1 root root 62 Oct 23 04:16 upgrade_to_v319 ->
/sbbs/repo/src/sbbs3/gcc.linux.x64.exe.release/upgrade_to_v319
  > lrwxrwxrwx 1 root root 62 Oct 23 04:16 upgrade_to_v320 ->
/sbbs/repo/src/sbbs3/gcc.linux.x64.exe.release/upgrade_to_v320
 >
 >
 > ----
 >
  > > Look at the ctrl/main.ini file - does it have your BBS
name, etc. in it? If not, then there was no conversion of the your old
ctrl/*.cnf files to ctrl/*.ini, and if that`s the case,
 >  > then
 >  > you ran
 >  > the wrong update.js or something like that.
 >
  > Here is a sample of the first few fields in the main.ini up
to my system password which i didn`t copy here:
 >
 > Hard Drive CafeHDCBBSMontgomery, Alabama!!!!!!!!!!!!JasonThe Guru
 >
 > ----
 >
  > What I am going to do is attempt to re-do the update on this
new server, manually copy over the new update.js file over to the
/sbbs/exec directory and then attempt to run that and see
 > what
  > I get. Maybe this will solve all my issues. Still would like
to know if i missed a step or something i didn`t read right. But as
always thanks DM for your quick response! You`ve always
 > been
 > great for me and I appreciate you!

I have gone back and started over, and after compilation i did

cd /sbbs/repo/exec
cp *.js /sbbs/exec

then i run:

cd /sbbs/exec
./jsexec update

 and it looks like it tries to work but i get one error besides
the msgs.ini file which the docs says thats ok it will get created.. i
get this

JSexec v3.21a-Linux master/1fecea061 - Execute Synchronet JavaScript Module
Compiled Oct 17 2024 21:56 with GCC 14.2.0

Loading configuration files from /sbbs/ctrl
 !ERROR loading configuration files: ERROR 2 (No such file or
directory) opening /sbbs/ctrl/msgs.ini
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 16777216 bytes

Reading script from /sbbs/exec/update.js
/sbbs/exec/update.js compiled in 0.00 seconds
Synchronet update.js revision 2.0
Updating exec directory: Success
Updating users ip_address field: 0 records updated
Updating users birthdate field: 0 records updated
Installing Avatars feature
!FAILED: No avatars collections (.bin files) found in avatars/
Installing Logon List Daily Event: Already installed
Installing Trashman Monthly Event: Successful
Updating [General] Text File Section indexes
0 indexes updated.
Updating (compiling) Baja modules
Checking for v3.19 file bases
Checking for v3.20 config files
Upgrading Synchronet v3.1x config files to v3.20
main.cnf -> main.ini
/sbbs/node1/node.cnf -> node.ini
!Error reading /sbbs/node1/node.cnf
Checking for v3.20 user base
No v3.20 user base found, running /sbbs/exec/upgrade_to_v320

upgrade - Upgrade Synchronet BBS to 3.21

Loading configuration files from /sbbs/ctrl
 !ERROR loading configuration files: ERROR 2 (No such file or
directory) opening /sbbs/ctrl/msgs.ini
/sbbs/exec/update.js executed in 28.28 seconds

JavaScript: Destroying context
JavaScript: Destroying runtime

-+-
 then of course i try to run scfg and it`s not giving errors like
xtrn.ini not found or something like that.. so im still missing something or
something isn`t working right.

 /sbbs/node1/node.cnf is there and it`s readable.. everything is user
and group owned by sbbs and im running this as such, and it`s readable
anyway by all and the folder is writable for the user and group, but i
don`t think it`s getting that far.. it`s getting some error while reading.
inititally it was looking for ../node1/ but i updated my currently running bbs
config to look for /sbbs/node1 thinking before it wasn`t finding ../node1
for some reason so i set the path physically to the /sbbs/node1 but
that didnt seem to fix that issue either.

---
 ■ Synchronet ■ Hard Drive Cafe - hdcbbs.com
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 50/109 103/705 154/10 218/700 221/1
240/1120 280/464 301/1 113
SEEN-BY: 341/66 463/68 712/848 5000/111 5001/100
5020/101 715 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 5060/900 5061/133
5075/128 5083/444
@PATH: 103/705 301/1 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх