Correction sur la migration 34
Test de migration sur un cluster kubernetes de laboite 5.8.2 avec une sauvegarde de apps prod vers l'image tag git- 4291ed44 :
2024-05-17 08:07:26.049 [info] [SYSTEM] STARTUP - log function works correctly {"itWorks":true}
2024-05-17 08:07:26.051 [error] [SYSTEM] STARTUP - log function works correctly {"itWorks":false}
{"line":"85","file":"migrations_server.js","message":"Migrations: Migrating from version 33 -> 35","time":{"$date":1715933246259},"level":"info"}
{"line":"85","file":"migrations_server.js","message":"Migrations: Running up() on version 34 (Update minio objects URLs)","time":{"$date":1715933246261},"level":"info"}
2024-05-17 08:07:26.262 [info] [SYSTEM] MIGRATIONS - MINIO - USERS - 34 Update minio objects URLs {}
2024-05-17 08:07:26.464 [info] [SYSTEM] MIGRATIONS - MINIO - ARTICLES - 34 Update minio objects URLs {}
2024-05-17 08:07:26.469 [info] [SYSTEM] MIGRATIONS - MINIO - GROUPS - 34 Update minio objects URLs {}
/opt/bundle/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
throw error;
^
TypeError: Cannot read property 'replace' of undefined
at replaceURLs (imports/api/migrations.js:833:19)
at imports/api/migrations.js:852:59
at Array.forEach (<anonymous>)
at Object.up (imports/api/migrations.js:849:12)
at migrate (packages/percolate:migrations/migrations_server.js:222:25)
at Object.Migrations._migrateTo (packages/percolate:migrations/migrations_server.js:249:7)
at Object.Migrations.migrateTo (packages/percolate:migrations/migrations_server.js:147:10)
at imports/startup/server/index.js:44:14
at packages/meteor.js:365:18
at Function.time (/opt/bundle/bundle/programs/server/profile.js:251:30)
at /opt/bundle/bundle/programs/server/boot.js:398:15
at /opt/bundle/bundle/programs/server/boot.js:440:7
at Function.run (/opt/bundle/bundle/programs/server/profile.js:256:14)
at /opt/bundle/bundle/programs/server/boot.js:438:13