Deprecation warnings in Log when starting wiki (calling promisify, using punycode module) #7357
Unanswered
Plaschke-Culturall
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
We just found that when restarting the wiki we get some deprecation warnings in the log output:
punycode
module is deprecated. Please use a userland alternative instead."See the full log output (with --trace-deprecation) below.
We are using Wiki.js v. 2.5.304 on Debian 12 and node v22.8.0. No docker.
Is this a problem?
Do we have to do something to not get this warnings?
Will they maybe be resolved in one of the future versions?
Thanks for your help!
Loading configuration from /var/wiki/config.yml... OK
2024-09-18T08:26:00.572Z [MASTER] #33[32minfo#033[39m: =======================================
2024-09-18T08:26:00.574Z [MASTER] #33[32minfo#033[39m: = Wiki.js 2.5.304 =====================
2024-09-18T08:26:00.574Z [MASTER] #33[32minfo#033[39m: =======================================
2024-09-18T08:26:00.574Z [MASTER] #33[32minfo#033[39m: Initializing...
2024-09-18T08:26:00.893Z [MASTER] #33[32minfo#033[39m: Using database driver pg for postgres [ OK ]
2024-09-18T08:26:00.896Z [MASTER] #33[32minfo#033[39m: Connecting to database...
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-09-18T08:26:00.921Z [MASTER] #33[32minfo#033[39m: Database Connection Successful [ OK ]
2024-09-18T08:26:01.343Z [MASTER] #33[32minfo#033[39m: Loading GraphQL Schema...
2024-09-18T08:26:01.937Z [MASTER] #33[32minfo#033[39m: GraphQL Schema: [ OK ]
2024-09-18T08:26:02.059Z [MASTER] #33[32minfo#033[39m: HTTP Server on port: [ 80 ]
2024-09-18T08:26:02.084Z [MASTER] #33[32minfo#033[39m: (LETSENCRYPT) Using existing certificate for wiki.livedesign.at, expires on 2024-09-25T07:36:33Z: [ OK ]
2024-09-18T08:26:02.084Z [MASTER] #33[32minfo#033[39m: HTTPS Server on port: [ 443 ]
(node:6666) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
at loadBuiltinModule (node:internal/modules/helpers:108:7)
at Module._load (node:internal/modules/cjs/loader:1099:17)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at require (node:internal/modules/helpers:135:16)
at Object. (/var/wiki/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
2024-09-18T08:26:02.115Z [MASTER] #33[32minfo#033[39m: HTTP Server: [ RUNNING ]
2024-09-18T08:26:02.115Z [MASTER] #33[32minfo#033[39m: HTTPS Server: [ RUNNING ]
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
(node:6666) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
at node:internal/util:436:17
at new Promise ()
at afterCreate (node:internal/util:421:12)
at create (/var/wiki/node_modules/knex/lib/client.js:293:50)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2024-09-18T08:26:02.197Z [MASTER] #33[32minfo#033[39m: No new analytics providers found: [ SKIPPED ]
2024-09-18T08:26:02.206Z [MASTER] #33[32minfo#033[39m: Loaded 21 authentication strategies: [ OK ]
2024-09-18T08:26:02.213Z [MASTER] #33[32minfo#033[39m: No new comment providers found: [ SKIPPED ]
2024-09-18T08:26:02.223Z [MASTER] #33[32minfo#033[39m: No new editors found: [ SKIPPED ]
2024-09-18T08:26:02.237Z [MASTER] #33[32minfo#033[39m: No new loggers found: [ SKIPPED ]
2024-09-18T08:26:02.262Z [MASTER] #33[32minfo#033[39m: No new renderers found: [ SKIPPED ]
2024-09-18T08:26:02.277Z [MASTER] #33[32minfo#033[39m: No new search engines found: [ SKIPPED ]
2024-09-18T08:26:02.298Z [MASTER] #33[32minfo#033[39m: No new storage targets found: [ SKIPPED ]
2024-09-18T08:26:02.299Z [MASTER] #33[32minfo#033[39m: Checking for installed optional extensions...
2024-09-18T08:26:02.306Z [MASTER] #33[32minfo#033[39m: Optional extension git was not found on this system. [ SKIPPED ]
2024-09-18T08:26:02.309Z [MASTER] #33[32minfo#033[39m: Optional extension pandoc was not found on this system. [ SKIPPED ]
2024-09-18T08:26:02.312Z [MASTER] #33[32minfo#033[39m: Optional extension puppeteer was not found on this system. [ SKIPPED ]
2024-09-18T08:26:02.312Z [MASTER] #33[32minfo#033[39m: Optional extension sharp was not found on this system. [ SKIPPED ]
2024-09-18T08:26:02.315Z [MASTER] #33[32minfo#033[39m: Authentication Strategy Local: [ OK ]
2024-09-18T08:26:02.660Z [MASTER] #33[32minfo#033[39m: (COMMENTS/DEFAULT) Initializing...
2024-09-18T08:26:02.660Z [MASTER] #33[32minfo#033[39m: (COMMENTS/DEFAULT) Initialization completed.
2024-09-18T08:26:02.664Z [MASTER] #33[32minfo#033[39m: (SEARCH/POSTGRES) Initializing...
2024-09-18T08:26:02.668Z [MASTER] #33[32minfo#033[39m: (SEARCH/POSTGRES) Initialization completed.
2024-09-18T08:26:02.670Z [MASTER] #33[32minfo#033[39m: Purging orphaned upload files...
2024-09-18T08:26:02.671Z [MASTER] #33[32minfo#033[39m: Syncing locales with Graph endpoint...
2024-09-18T08:26:02.671Z [MASTER] #33[32minfo#033[39m: Fetching latest updates from Graph endpoint...
2024-09-18T08:26:02.687Z [MASTER] #33[32minfo#033[39m: Purging orphaned upload files: [ COMPLETED ]
Beta Was this translation helpful? Give feedback.
All reactions