6/5/2023 0 Comments Photo supreme v6# = STORE ATTACHMENT ON SERVER FILESYSTEM INSTEAD OF MONGODB = so I created a subdirectory in the already existing volume mount called uploads and set the WRITABLE_PATH to point to it… I’m not 100% sure of the relationship between ATTACHMENTS_STORE_PATH and WRITABLE_PATH. Where did the attachment settings in docker-compose.yml GO? I cannot find any migration instructions. OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token OAUTH2_USERINFO_ENDPOINT=klsjdlkasjdflasjfljksf lasjkdf laskdjf OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize OAUTH2_SERVER_URL=kldlkasjflajsdflajsdfljksdfl kjs lksdjflasdf OAUTH2_SECRET=klsdjlksdjflsdjfl sdjfl sjdfl sjdfl ksdjf OAUTH2_CLIENT_ID=sdkljasdlfkjasldfkjasldfkjasdlfjksdl fkjasdl fkjasd ATTACHMENTS_STORE_PATH=/home/ec2-user/wekan/Attachments # pathname can be relative or fullpath MONGO_URL=mongodb://wekandb:27017/wekan home/ec2-user/wekan/Attachments:/home/ec2-user/wekan/Attachments works on V6.05 image, but fails on V6.09 and V6.11. Wekan-app | at /build/programs/server/boot.js:463:13 Wekan-app | at n (/build/programs/server/profile.js:280:14) Wekan-app | at /build/programs/server/boot.js:465:7 Wekan-app | at /build/programs/server/boot.js:415:15 Wekan-app | at Function.time (/build/programs/server/profile.js:273:30) Wekan-app | at packages/idmontie_migrations.js:238:17 Wekan-app | at Object.migrationCallback (server/migrations.js:1136:25) Wekan-app | at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1141:16) Wekan-app | at server/migrations.js:1147:32 Wekan-app | at FS.File.createReadStream (packages/cfs_file.js:833:30) Wekan-app | at (packages/cfs_storage-adapter.js:114:51) Wekan-app | at FS.Transform.createReadStream (packages/cfs_storage-adapter.js:404:35) Wekan-app | at (packages/cfs_storage-adapter.js:104:39) Wekan-app | at Object.createReadStream (packages/cfs:gridfs/:75:14) Wekan-app | at new ObjectID (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/node_modules/bson/lib/bson/objectid.js:34:11) Wekan-app | Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters Wekan-app | /build/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218 Wekan-app | create storagePath because it doesn't exist. Wekan will run on V6.05 But if I update to V6.09 or V6.11 (latest Quay.io images) wekan - app fails during start up (mongo seems fine…) wekan-app | > Starting migrate-attachments-collectionFS-to-ostrioFiles migration.
0 Comments
Leave a Reply. |