@baris Node v20.5.1
sweetp
Posts
-
3.3.0 Upgrade Support -
3.3.0 Upgrade Support@baris said in 3.3.0 Upgrade Support:
npm i [email protected]
still stalling...
4. Updating NodeBB data store schema... Parsing upgrade scripts... OK | 1 script(s) found, 129 skipped → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (16/16) 100%
-
3.3.0 Upgrade Support$ npm ls pg [email protected] /var/www/vhosts/…/NodeBB ├─┬ [email protected] │ └── [email protected] deduped ├─┬ [email protected] │ └── [email protected] deduped └─┬ [email protected] └─┬ [email protected] └── [email protected] deduped $ npm ls pg-cursor [email protected] /var/www/vhosts/…/NodeBB └── [email protected]
$ npm ls pg [email protected] /var/www/vhosts/…/NodeBB ├─┬ [email protected] │ └── [email protected] deduped ├─┬ [email protected] │ └── [email protected] deduped └─┬ [email protected] └─┬ [email protected] └── [email protected] deduped $ npm ls pg-cursor [email protected] /var/www/vhosts/…/NodeBB └── [email protected]
-
3.3.0 Upgrade Support@baris 15.4
-
3.3.0 Upgrade Supporthere's a selection:
a 2 0 b c a 14 0 b c a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 2 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 3 a 1 2 a 8 0 b c a 2 0 b c
-
3.3.0 Upgrade Support@barus, sure thing,
Am I adding the logs to thehash.js
file -
3.3.0 Upgrade SupportI restored my database and forum to v3.2.3 and tried to upgrade again.
but I get the same issue
-
3.3.0 Upgrade Support@baris I get this:
Updating NodeBB... Parsing upgrade scripts... OK | 1 script(s) found → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100% a 6 0 b a 2 0 b a 3 0 b a 2 0 b a 4 0 b a 8 0 b a 6 0 b a 7 0 b a 1 0 b
-
3.3.0 Upgrade Support@baris
I replaced L17 - L18 with this:await batch.processSortedSet(`chat:room:${roomId}:mids`, async (mids) => { console.log(`mids: ${mids}`); let messageData = await db.getObjects(mids.map(mid => `message:${mid}`)); console.log(`messageData: ${messageData}`);
and get this:
Updating NodeBB... Parsing upgrade scripts... OK | 1 script(s) found → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100% mids: 24,25,26,27,28,29 mids: 7,8,9,10,22,23 mids: 30,31,32 mids: 33,34,35,36,37,38,39 mids: 15 mids: 11,12,13,14,16,17,18,19 mids: 4,6,20,21 mids: 1,2 mids: 3,5
looks like
messageData
is never resolving... -
3.3.0 Upgrade Support@baris I get this:
$ ./nodebb upgrade chat_message_mids Updating NodeBB... Parsing upgrade scripts... OK | 1 script(s) found → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100%
-
3.3.0 Upgrade Support@baris Im using Postgres for my db
-
3.3.0 Upgrade Support@baris I get the same thing:
$ ./nodebb upgrade chat_message_mids Updating NodeBB... Parsing upgrade scripts... OK | 1 script(s) found → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100%
-
3.3.0 Upgrade Supportthis was the first try:
4. Updating NodeBB data store schema... Parsing upgrade scripts... OK | 5 script(s) found, 125 skipped → [2023/7/2] Update chat messages to add roomId field... [##############] (15/15) 100% OK (0.36 seconds) → [2023/7/3] Store list of chat rooms... [##############] (15/15) 100% OK (0.40 seconds) → [2023/7/14] Create chat:room:<room_id>uids:online zset... [##############] (15/15) 100% OK (0.04 seconds) → [2023/7/17] Create chat:room:<room_id>:owners zset... [##############] (15/15) 100% OK (0.07 seconds) → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100%
-
3.3.0 Upgrade Supportthe first time I ran the upgrade it found 5 scripts, but never finished
-
3.3.0 Upgrade SupportI see this:
Updating NodeBB... 1. Updating package.json file with defaults... OK 2. Bringing base dependencies up to date... started changed 2 packages, and audited 886 packages in 5s 94 packages are looking for funding run `npm fund` for details 8 vulnerabilities (7 moderate, 1 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm notice npm notice New minor version of npm available! 9.6.7 -> 9.8.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.1 npm notice Run npm install -g [email protected] to update! npm notice 3. Checking installed plugins for updates...Checking installed plugins and themes for updates... OK All packages up-to-date! 4. Updating NodeBB data store schema... Parsing upgrade scripts... OK | 1 script(s) found, 129 skipped → [2023/7/27] Set mid on message objects and create messages:mid... [##############] (15/15) 100%
-
3.3.0 Upgrade Support@baris how can I find the log
-
3.3.0 Upgrade SupportParsing upgrade scripts...
doesn't seem to finish on my install?- NodeBB v3.2.3
- Node.js 20.5.1
- Postgres v15.4
- Ubuntu 20.04
-
New admin panelI only just noticed this after updating to 3.2.1, did it land in 3.2? “
It’s looking great! -
untranslated string in Harmony child themethat's it.
thanks for your patience
-
untranslated string in Harmony child themeIm also getting this error:
[Error] Failed to load resource: the server responded with a status of 404 () (harmony.json, line 0)
for the file:
https://myforum.com/assets/language/en-GB/harmony.json?v=hd29mea4lak
it should be looking in - shouldn't it?
https://myforum.com/assets/language/en-GB/themes/harmony.json?v=hd29mea4lak