When trying to update the zip from v11 to v13 I had the following errors in the logs.
inflating: resources/app/main.mjs
inflating: resources/app/node_modules/.bin/crc32
Moving to mapped directory
mv: can't remove 'resources/app/locales': Is a directory
mv: can't remove 'resources/app/resources': Is a directory
Starting node
node:internal/modules/cjs/loader:1215
�
throw err;
^
Error: Cannot find module '/opt/foundryvtt/resources/app/main.mjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
at Module._load (node:internal/modules/cjs/loader:1043:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.19.2
According to Community Helpers on FoundryVTT discord server here is the potential issue :
"v13 node.js release has changed the folder structure, removing the electron browser guts since those are meaningless for a node.js headless deployment anyway.
The Foundry main.js is not in the resources/app folder anymore, which this docker image relies on being there."
When trying to update the zip from v11 to v13 I had the following errors in the logs.
According to Community Helpers on FoundryVTT discord server here is the potential issue :
"v13 node.js release has changed the folder structure, removing the electron browser guts since those are meaningless for a node.js headless deployment anyway.
The Foundry main.js is not in the resources/app folder anymore, which this docker image relies on being there."